Mercurial > hg > octave-lojdl > gnulib-hg
changeset 12418:be5edb878c7a
stdio: Avoid syntax error in C++ mode.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 10 Dec 2009 14:08:47 +0100 |
parents | e09c73938d46 |
children | c043358e3949 |
files | ChangeLog lib/stdio.in.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-09 Bruno Haible <bruno@clisp.org> + + Avoid syntax error in C++ mode. + * lib/stdio.in.h (rename): Don't use parameter name 'new'. + 2009-12-09 Bruno Haible <bruno@clisp.org> Use sed with option -e.
--- a/lib/stdio.in.h +++ b/lib/stdio.in.h @@ -448,7 +448,7 @@ # if @REPLACE_RENAME@ # undef rename # define rename rpl_rename -extern int rename (const char *old, const char *new); +extern int rename (const char *old_filename, const char *new_filename); # endif #elif defined GNULIB_POSIXCHECK # undef rename