Blame gcl-2.6.11-getcwd.patch
|
Jerry James |
b08b3a4 |
--- ./o/unixfsys.c.orig 2014-09-06 20:00:00.000000000 -0600
|
|
Jerry James |
b08b3a4 |
+++ ./o/unixfsys.c 2014-09-06 20:00:00.000000000 -0600
|
|
|
7fc6c88 |
@@ -150,17 +150,6 @@ DEV_FOUND:
|
|
|
e6a2505 |
#endif
|
|
|
e6a2505 |
|
|
|
7fc6c88 |
|
|
|
e6a2505 |
-#ifdef HAVE_GETCWD
|
|
|
e6a2505 |
-char *
|
|
|
7fc6c88 |
-getwd(char *buffer) {
|
|
|
e6a2505 |
-#ifndef _WIN32
|
|
|
7fc6c88 |
- char *getcwd(char *, size_t);
|
|
|
e6a2505 |
-#endif
|
|
|
7fc6c88 |
- return(getcwd(buffer, MAXPATHLEN));
|
|
|
e6a2505 |
-}
|
|
|
e6a2505 |
-#endif
|
|
|
e6a2505 |
-
|
|
|
7fc6c88 |
-
|
|
|
7fc6c88 |
#define pcopy(a_,b_,c_,d_) ({\
|
|
|
7fc6c88 |
unsigned _c=c_,_d=d_;\
|
|
|
7fc6c88 |
if (_c+_d>=MAXPATHLEN-16) FEerror("Can't expand pathname ~a",1,namestring);\
|