diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:24 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:24 -0800 |
commit | 1edcb9b62a1a520eddae8403c19d841c9b18737f (patch) | |
tree | bc0a43d9b3905726a76ed6f0528b54275f23d082 /scm4e3.scmconfig.patch | |
parent | 5ca6e8e6a4e5c022a6fb5d28f30219c22c99eda8 (diff) | |
download | scm-1edcb9b62a1a520eddae8403c19d841c9b18737f.tar.gz scm-1edcb9b62a1a520eddae8403c19d841c9b18737f.zip |
Import Upstream version 5b3upstream/5b3
Diffstat (limited to 'scm4e3.scmconfig.patch')
-rw-r--r-- | scm4e3.scmconfig.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/scm4e3.scmconfig.patch b/scm4e3.scmconfig.patch deleted file mode 100644 index ff7dc48..0000000 --- a/scm4e3.scmconfig.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -c temp/scm/findexec.c temp/nscm/findexec.c -*** temp/scm/findexec.c Sun Mar 17 23:16:26 1996 ---- temp/nscm/findexec.c Thu Mar 21 08:51:27 1996 -*************** -*** 37,46 **** - filename. A new copy of the complete path name of that file is - returned. This new string may be disposed by free() later on. */ - - #include <sys/file.h> - #include <sys/param.h> -! #include <strings.h> -! #ifdef linux - # include <stdlib.h> - # include <sys/stat.h> - # include <unistd.h> /* for X_OK define */ ---- 37,47 ---- - filename. A new copy of the complete path name of that file is - returned. This new string may be disposed by free() later on. */ - -+ #include "scm.h" -+ - #include <sys/file.h> - #include <sys/param.h> -! #if defined(linux) || defined(__svr4__) - # include <stdlib.h> - # include <sys/stat.h> - # include <unistd.h> /* for X_OK define */ -*************** -*** 116,122 **** - if (*p) p++; - - if (name[0] == '.' && name[1] == 0) -! getwd(name); - - else if (name[0]=='~' && name[1]==0 && getenv("HOME")) - strcpy(name, getenv("HOME")); ---- 117,123 ---- - if (*p) p++; - - if (name[0] == '.' && name[1] == 0) -! getcwd(name, MAXPATHLEN); - - else if (name[0]=='~' && name[1]==0 && getenv("HOME")) - strcpy(name, getenv("HOME")); -diff -c temp/scm/scmfig.h temp/nscm/scmfig.h -*** temp/scm/scmfig.h Fri Sep 22 22:29:00 1995 ---- temp/nscm/scmfig.h Wed Mar 20 23:47:15 1996 -*************** -*** 50,55 **** ---- 50,59 ---- - # include <strings.h> - # endif - -+ # ifndef HAVE_GETCWD -+ # define getcwd(S,L) getwd(S) -+ # endif -+ - #else /* HAVE_CONFIG_H */ - - # ifdef sequent |