projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6e672
)
Make deleting for %ENV work for (newer versions of) VMS,
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 9 Nov 2000 04:28:44 +0000
(
04:28
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 9 Nov 2000 04:28:44 +0000
(
04:28
+0000)
from Craig A. Berry.
p4raw-id: //depot/perl@7618
vms/vms.c
patch
|
blob
|
history
diff --git
a/vms/vms.c
b/vms/vms.c
index
8fe4f5f
..
d0add55
100644
(file)
--- a/
vms/vms.c
+++ b/
vms/vms.c
@@
-596,7
+596,7
@@
vmssetenv(char *lnm, char *eqv, struct dsc$descriptor_s **tabvec)
if ((cp1 = strchr(environ[i],'=')) &&
!strncmp(environ[i],lnm,cp1 - environ[i])) {
#ifdef HAS_SETENV
- return setenv(lnm,
eqv
,1) ? vaxc$errno : 0;
+ return setenv(lnm,
""
,1) ? vaxc$errno : 0;
}
}
ivenv = 1; retsts = SS$_NOLOGNAM;