mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 22:22:21 +00:00
Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7b12c4af23
commit
a57d791f91
119 changed files with 16409 additions and 1698 deletions
|
@ -32,6 +32,8 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <gnustep/base/config.h>
|
||||
|
||||
#ifdef __WIN32__
|
||||
#include <limits.h>
|
||||
#define S_IFLNK 0120000
|
||||
|
@ -134,13 +136,9 @@ objc_find_executable (const char *file)
|
|||
if (*p) p++;
|
||||
|
||||
if (name[0] == '.' && name[1] == 0) {
|
||||
#ifndef NeXT
|
||||
#ifdef HAVE_GETCWD
|
||||
getcwd (name, MAXPATHLEN);
|
||||
#else
|
||||
/*
|
||||
Reported by Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>
|
||||
Date: Fri, 12 Jan 96 16:00:42 +0100
|
||||
*/
|
||||
getwd (name);
|
||||
#endif
|
||||
cwd_in_path = 1;
|
||||
|
@ -162,7 +160,7 @@ objc_find_executable (const char *file)
|
|||
if (!cwd_in_path) {
|
||||
char name[MAXPATHLEN];
|
||||
|
||||
#ifndef NeXT
|
||||
#ifdef HAVE_GETCWD
|
||||
getcwd (name, MAXPATHLEN);
|
||||
#else
|
||||
getwd (name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue