* lib/strftime.c (advance): New macro.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Oct 2006 07:32:18 +0000 (07:32 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Oct 2006 07:32:18 +0000 (07:32 +0000)
commitb812018652eec692e683dc2242830db99c2fd86a
tree98af296936acdb9902a6acd4d191ca5e6d14c5ac
parent6b3d5a4784fead9ed93f8ca3726848afafecbb3a
* lib/strftime.c (advance): New macro.
(add): Use it to avoid adding 0 to a FILE *.  FILE can be
an incomplete type, so you can't add 0 to it.  Problem reported
by Eelco Dolstra for dietlibc.
ChangeLog
lib/strftime.c