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:
cc077a9
)
Setting $^E wipes out $!
author
Ilya Zakharevich
<ilya@math.berkeley.edu>
Tue, 8 Jun 1999 04:44:58 +0000
(
00:44
-0400)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 5 Jul 1999 18:29:08 +0000
(18:29 +0000)
Message-Id: <
199906080844
.
EAA03784
@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@3595
mg.c
patch
|
blob
|
history
diff --git
a/mg.c
b/mg.c
index
8175982
..
a21ea57
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-1704,12
+1704,14
@@
Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
#ifdef VMS
set_vaxc_errno(SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv));
#else
-#ifdef WIN32
+#
ifdef WIN32
SetLastError( SvIV(sv) );
-#else
+# else
+# ifndef OS2
/* will anyone ever use this? */
SETERRNO(SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv), 4);
-#endif
+# endif
+# endif
#endif
break;
case '\006': /* ^F */