Commit graph

17 commits

Author SHA1 Message Date
Andrew McCallum
8c940cb2bb WinNT and thread-related odifications from Scott Christley
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@915 72102866-910b-0410-8b05-ffd578937521
1996-02-13 15:43:30 +00:00
Andrew McCallum
009510d132 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@743 72102866-910b-0410-8b05-ffd578937521
1996-01-21 01:36:47 +00:00
Andrew McCallum
40d050bba2 ([NSProcessInfo -globallyUniqueString]): Don't use the %@ printf
format directive, since it isn't implemented yet; use %s and -cString
instead.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@717 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:28:41 +00:00
Andrew McCallum
731c180330 Don't test !(sgi), since SYS_AUTOLOAD is fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@716 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:17:53 +00:00
Andrew McCallum
8b209f74db Include <netdb.h> for MAXHOSTNAMELEN. (Reported by Matthias Klose
<doko@cs.tu-berlin.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@707 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:42:12 +00:00
Andrew McCallum
7bfe1d3a65 Remove #if NeXT and alternate #include's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@702 72102866-910b-0410-8b05-ffd578937521
1996-01-10 15:51:25 +00:00
Andrew McCallum
d20775f35c (_GNU_MAX_HOST_NAMELEN): Macro removed; using MAXHOSTNAMELEN from
<sys/param.h> instead.  All users changed.
(_gnu_process_args): Malloc and fill NSArgv; assignment of char** from
*char[] isn't right.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@692 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:05:45 +00:00
Andrew McCallum
d846632679 (_gnu_process_args): Use "char **argv" instead of "char *argv[]".
Remove cast in assignment of NSArgv.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@687 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:40:36 +00:00
Andrew McCallum
d9d4cd0569 (NSArgv): New global.
(_gnu_process_args): Set it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@669 72102866-910b-0410-8b05-ffd578937521
1995-11-07 02:22:22 +00:00
Andrew McCallum
101037f18a ([NSProcessInfo -hostName]): Remove unnecessary inefficiency: use
stack to hold temporary string, not malloc/free; just return the
string, not a copy.  Conform to GNU coding standards in use of braces.
([NSProcessInfo -processName]): Likewise.  Just return the string, not
a copy.
([NSProcessInfo -environment]): Likewise.
([NSProcessInfo -arguments]): Likewise.
(_gnu_arguments, _gnu_environment): Make them constant classes, not
mutable.
(_gnu_process_args): Alloc _gnu_processName NSString, don't get an
autoreleased string and then retain it.  Initialize _gnu_arguments as
a constant NSArray, not NSMutableArray.  Initialize _gnu_environment
as a constant NSDictionary, not NSMutableDictionary.  Conform to the
GNU coding standards in use of braces.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@656 72102866-910b-0410-8b05-ffd578937521
1995-11-03 16:12:07 +00:00
Andrew McCallum
ab2d5f8b0c Don't try to use __attribute__ ((section ..)) #if (sgi). It doesn't
seem to be supported.  This probably means that aclocal.m4 needs to be
fixed so that it doesn't define SYS_AUTOLOAD in this case.  No time
now.  Adam?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@614 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:00:12 +00:00
Andrew McCallum
97d0500c5b Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@608 72102866-910b-0410-8b05-ffd578937521
1995-09-12 22:30:13 +00:00
Andrew McCallum
e56d03e1d6 * src/NSProcessInfo.m: Added Linux/ELF support. Linux calls the
__libc_subinit functions before the global constructors, therefore
	the subinit functions must be just vanilla C.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@590 72102866-910b-0410-8b05-ffd578937521
1995-08-28 13:36:24 +00:00
Andrew McCallum
2082ca79c2 (_GNU_MISSING_MAIN_FUNCTION_CALL): Added Tuparev's email address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@563 72102866-910b-0410-8b05-ffd578937521
1995-08-16 18:01:44 +00:00
Andrew McCallum
1f9f02b1da Fix indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@556 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:14:11 +00:00
Andrew McCallum
f9c609056f Use ELF _libc_subinit for initialization instead of LibobjectsMain.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@549 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:56:33 +00:00
Andrew McCallum
10e207bf63 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@548 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:47:12 +00:00