mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Get proper constant string class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13104 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f12fed6759
commit
6472b4bbb8
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2002-03-13 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Tools/gdomap.c (log): Redefine to gdomap_log to avoid conflict
|
||||||
|
with syslog function on Darwin.
|
||||||
|
|
||||||
|
* Source/NSProcessInfo.m (main): Use STRINIGFY to get proper
|
||||||
|
name of constant string class.
|
||||||
|
|
||||||
2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
|
* Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
|
||||||
|
|
|
@ -504,7 +504,7 @@ int main(int argc, char *argv[], char *env[])
|
||||||
/* This memcpy has to be done before the first message is sent to any
|
/* This memcpy has to be done before the first message is sent to any
|
||||||
constant string object. See Apple Radar 2870817 */
|
constant string object. See Apple Radar 2870817 */
|
||||||
memcpy(&_NSConstantStringClassReference,
|
memcpy(&_NSConstantStringClassReference,
|
||||||
objc_getClass("NSConstantString"),
|
objc_getClass(STRINGIFY(NXConstantString)),
|
||||||
sizeof(_NSConstantStringClassReference));
|
sizeof(_NSConstantStringClassReference));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -244,6 +244,9 @@ getopt(int argc, char **argv, char *options)
|
||||||
|
|
||||||
static char ebuf[2048];
|
static char ebuf[2048];
|
||||||
|
|
||||||
|
/* Avoid conflict with syslog function */
|
||||||
|
#define log gdomap_log
|
||||||
|
|
||||||
#ifdef HAVE_SYSLOG
|
#ifdef HAVE_SYSLOG
|
||||||
|
|
||||||
int log_perror = 0;
|
int log_perror = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue