diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-12-14 19:46:27 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-12-17 09:37:56 -0700 |
commit | 5f1b979d481f8f74f4973abc11435dc40d2d9c18 (patch) | |
tree | b04cf42394c6c58a171e90663dcc06e65a0a4a5b /mg.c | |
parent | 03c702c586f1fb2150cb74f4f80ee07b7adcfce6 (diff) | |
download | perl-5f1b979d481f8f74f4973abc11435dc40d2d9c18.tar.gz |
mg.c: White-space only
Properly indent code that is interior to a block
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -875,31 +875,31 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) case '!': { - dSAVE_ERRNO; + dSAVE_ERRNO; #ifdef VMS - sv_setnv(sv, (NV)((errno == EVMSERR) ? vaxc$errno : errno)); + sv_setnv(sv, (NV)((errno == EVMSERR) ? vaxc$errno : errno)); #else - sv_setnv(sv, (NV)errno); + sv_setnv(sv, (NV)errno); #endif #ifdef OS2 - if (errno == errno_isOS2 || errno == errno_isOS2_set) - sv_setpv(sv, os2error(Perl_rc)); - else + if (errno == errno_isOS2 || errno == errno_isOS2_set) + sv_setpv(sv, os2error(Perl_rc)); + else #endif - if (! errno) { - sv_setpvs(sv, ""); - } - else { + if (! errno) { + sv_setpvs(sv, ""); + } + else { - /* Strerror can return NULL on some platforms, which will result in - * 'sv' not being considered SvOK. The SvNOK_on() below will cause - * just the number part to be valid */ - sv_setpv(sv, Strerror(errno)); - if (SvOK(sv)) { - fixup_errno_string(sv); + /* Strerror can return NULL on some platforms, which will + * result in 'sv' not being considered SvOK. The SvNOK_on() + * below will cause just the number part to be valid */ + sv_setpv(sv, Strerror(errno)); + if (SvOK(sv)) { + fixup_errno_string(sv); + } } - } - RESTORE_ERRNO; + RESTORE_ERRNO; } SvRTRIM(sv); |