all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Use of strftime in movemail.ec
Date: Sat, 5 Mar 2016 12:56:49 -0800	[thread overview]
Message-ID: <56DB4811.9060306@cs.ucla.edu> (raw)
In-Reply-To: <83pov8wtib.fsf@gnu.org>

Eli Zaretskii wrote:
> How about the follow-up below?

Yes, that's more general and shouldn't introduce bugs. It can mishandle %% in 
formats, if you care about full upward-compatibility. It should use memcpy 
instead of strncpy.

Personally I'd leave the code alone for simplicity's sake, but if you prefer the 
more-general version by all means....



  reply	other threads:[~2016-03-05 20:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 11:01 Use of strftime in movemail.ec Eli Zaretskii
2016-03-05 19:39 ` Paul Eggert
2016-03-05 19:58   ` Eli Zaretskii
2016-03-05 20:37     ` Eli Zaretskii
2016-03-05 20:56       ` Paul Eggert [this message]
2016-03-06 16:28         ` Eli Zaretskii
2016-03-05 20:53     ` Paul Eggert

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

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

  git send-email \
    --in-reply-to=56DB4811.9060306@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.