Mercurial > hg > xemacs-beta
changeset 5498:eb4eeec50f25
Remove static qualifier from pdump_file_try.
Thanks to Hans de Graaff of Gentoo and Marcus Crestani.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Tue, 03 May 2011 01:43:36 +0900 |
parents | 70af4098e14f |
children | 01900734203a |
files | src/ChangeLog src/dumper.c |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon May 02 10:51:26 2011 +0100 +++ b/src/ChangeLog Tue May 03 01:43:36 2011 +0900 @@ -1,3 +1,8 @@ +2011-05-03 Stephen J. Turnbull <stephen@xemacs.org> + + * dumper.c (pdump_file_try): Remove static qualifier. + Thanks to Hans de Graaff of Gentoo and Marcus Crestani. + 2011-05-01 Aidan Kehoe <kehoea@parhasard.net> * lread.c (parse_integer):
--- a/src/dumper.c Mon May 02 10:51:26 2011 +0100 +++ b/src/dumper.c Tue May 03 01:43:36 2011 +0900 @@ -2593,8 +2593,9 @@ #endif /* !WIN32_NATIVE */ - -static int +/* This used to be static, but there seems to be a bug in the GCC 4.1.2 + optimizer that clobbers exe_path. */ +int pdump_file_try (Wexttext *exe_path) { Wexttext *w = exe_path + wext_strlen (exe_path);