diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-18 15:28:12 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-18 15:28:12 +0000 |
commit | 12865a2da083d2bfe48d969828043a3ca2652643 (patch) | |
tree | 6fa866e1c568f494397f4e936e19d290354f2682 /NetWare | |
parent | 50d61629dc7fe34f077b9f66c50287d839e06378 (diff) | |
download | perl-12865a2da083d2bfe48d969828043a3ca2652643.tar.gz |
Remove the stub nw_get_sitelib(), and undefine SITELIB_EXP for NetWare.
(nw_get_sitelib() was hard coded to return NULL, which is a slower equivalent
to simply not defining SITELIB_EXP in the first place. I suspect a cargo cult
of win32/ without actually taking the time to understand it.)
Diffstat (limited to 'NetWare')
-rw-r--r-- | NetWare/config_H.wc | 2 | ||||
-rw-r--r-- | NetWare/nw5.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc index f21a6e1db0..cef07cbbf7 100644 --- a/NetWare/config_H.wc +++ b/NetWare/config_H.wc @@ -3066,7 +3066,7 @@ * be tacked onto this variable to generate a list of directories to search. */ #define SITELIB "c:\\perl\\site\\5.11.0\\lib" /**/ -#define SITELIB_EXP (nw_get_sitelib("5.11.0")) /**/ +/*#define SITELIB_EXP "" /**/ #define SITELIB_STEM "" /**/ /* Size_t_size: diff --git a/NetWare/nw5.c b/NetWare/nw5.c index 56d3a62f16..7f9eebee78 100644 --- a/NetWare/nw5.c +++ b/NetWare/nw5.c @@ -870,12 +870,6 @@ perl_clone_host(PerlInterpreter* proto_perl, UV flags) // Some more functions: -char * -nw_get_sitelib(const char *pl) -{ - return (NULL); -} - int execv(char *cmdname, char **argv) { |