unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Matt Wette <matt.wette@gmail.com>
Cc: 29001@debbugs.gnu.org
Subject: bug#29001: --disable-tmpnam
Date: Sat, 21 Mar 2020 22:32:14 +0100	[thread overview]
Message-ID: <87h7yhxuld.fsf@gnu.org> (raw)
In-Reply-To: <ada92e63-8292-e401-1aab-af68a306f84f@gmail.com> (Matt Wette's message of "Sat, 21 Mar 2020 13:22:07 -0700")

Hi Matt,

Matt Wette <matt.wette@gmail.com> skribis:

> "make" and "make check" succeeds on 3.0.1 / Ubuntu 18.04 / x86_64 with
> 1) --disable-tmpnam
> 2) --enable-tmpnam
> 3) neither
>
> This updates libguile/posix.c and configure.ac to allow extra
> configuration option --disable-tmpnam.   This is made available
> for installations that don't want to allow the insecure tmpnam
> function.  (Use mkstemp! instead.)

Nice.

We should have deprecated ‘tmpnam’ before 3.0.0, it’s probably OK to do
it now.

> +AC_ARG_ENABLE(tmpnam,
> +  [  --disable-tmpnam        omit POSIX tmpnam],,
> +  enable_tmpnam=yes)

Could you use ‘AS_HELP_STRING’ as is done in some other places?  This is
the more conventional way to ensure proper formatting of ‘--help’.

Also, could you send the patch as an attachment (your mail client munged
it somehow)?  You can create the patch by first committing locally and
then running (say) ‘git format-patch HEAD^’.

Bonus points if your commit log follows the GNU ChangeLog style:

  https://www.gnu.org/prep/standards/html_node/Change-Logs.html

You can imitate previous entries shown by ‘git log’.

(I think this patch is acceptable without copyright assignment.  Beyond
that, we’ll need copyright assignment, as discussed on IRC.)

Thanks in advance!

Ludo’.





  reply	other threads:[~2020-03-21 21:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26  0:26 bug#29001: [wishlist] configure option to disable tmpnam Matt Wette
2017-10-27 18:14 ` bug#29001: tmpnam option Matt Wette
2020-03-18 23:48 ` bug#29001: tmpnam Matt Wette
2020-03-19  0:30   ` Matt Wette
2020-03-21 20:22 ` bug#29001: --disable-tmpnam Matt Wette
2020-03-21 21:32   ` Ludovic Courtès [this message]
2020-03-21 20:25 ` bug#29001: patch Matt Wette
2020-03-22 16:20 ` bug#29001: git patch Matt Wette
2020-03-22 17:11   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7yhxuld.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29001@debbugs.gnu.org \
    --cc=matt.wette@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).