Mercurial > hg > xemacs-beta
comparison src/dumper.c @ 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 | 308d34e9f07d |
children | 25325da1d1a8 |
comparison
equal
deleted
inserted
replaced
5497:70af4098e14f | 5498:eb4eeec50f25 |
---|---|
2591 } | 2591 } |
2592 #endif | 2592 #endif |
2593 | 2593 |
2594 #endif /* !WIN32_NATIVE */ | 2594 #endif /* !WIN32_NATIVE */ |
2595 | 2595 |
2596 | 2596 /* This used to be static, but there seems to be a bug in the GCC 4.1.2 |
2597 static int | 2597 optimizer that clobbers exe_path. */ |
2598 int | |
2598 pdump_file_try (Wexttext *exe_path) | 2599 pdump_file_try (Wexttext *exe_path) |
2599 { | 2600 { |
2600 Wexttext *w = exe_path + wext_strlen (exe_path); | 2601 Wexttext *w = exe_path + wext_strlen (exe_path); |
2601 | 2602 |
2602 /* We look for various names, including those with the version and dump ID, | 2603 /* We look for various names, including those with the version and dump ID, |