projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b426eed
)
Make it possible to #define set_program_name to an alias.
author
Bruno Haible
<bruno@clisp.org>
Wed, 11 Oct 2006 12:37:31 +0000
(12:37 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Wed, 11 Oct 2006 12:37:31 +0000
(12:37 +0000)
ChangeLog
patch
|
blob
|
history
lib/progname.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index f40baa89fd5cda7a463b429f38282d8b5b74dd04..a266f17ba89ce80bc49ed2248c68da24659f8955 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2006-10-10 Bruno Haible <bruno@clisp.org>
+
+ Make it possible to #define set_program_name to an alias.
+ * lib/progname.c: Don't undefine set_program_name; instead, undefine
+ ENABLE_RELOCATABLE early.
+
2006-10-10 Paul Eggert <eggert@cs.ucla.edu>
Port to Tandem NSK OSS, which has 64-bit signed int but at most
2006-10-10 Paul Eggert <eggert@cs.ucla.edu>
Port to Tandem NSK OSS, which has 64-bit signed int but at most
diff --git
a/lib/progname.c
b/lib/progname.c
index d3dc8cfabc6b45e1402d6a31bc3d05414a4f13a6..df52f609216d12ddc68a236e1176abd3771af6e7 100644
(file)
--- a/
lib/progname.c
+++ b/
lib/progname.c
@@
-20,12
+20,11
@@
#include <config.h>
/* Specification. */
#include <config.h>
/* Specification. */
+#undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */
#include "progname.h"
#include <string.h>
#include "progname.h"
#include <string.h>
-#undef set_program_name
-
/* String containing name the program is called with.
To be initialized by main(). */
/* String containing name the program is called with.
To be initialized by main(). */