Skip to content

Commit

Permalink
mg.c: White-space only
Browse files Browse the repository at this point in the history
Indent newly formed block from the previous commit.
  • Loading branch information
khwilliamson committed Apr 6, 2021
1 parent f521715 commit 00d4095
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions mg.c
Expand Up @@ -931,24 +931,25 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
#elif defined(OS2)
{
int utf8ness;
if (!(_emx_env & 0x200)) { /* Under DOS */
sv_setnv(sv, (NV)errno);
sv_setpv(sv, errno ? my_strerror(errnum, &utf8ness) : "");
} else {
if (errno != errno_isOS2) {
const int tmp = _syserrno();
if (tmp) /* 2nd call to _syserrno() makes it 0 */
Perl_rc = tmp;

if (!(_emx_env & 0x200)) { /* Under DOS */
sv_setnv(sv, (NV)errno);
sv_setpv(sv, errno ? my_strerror(errnum, &utf8ness) : "");
} else {
if (errno != errno_isOS2) {
const int tmp = _syserrno();
if (tmp) /* 2nd call to _syserrno() makes it 0 */
Perl_rc = tmp;
}
sv_setnv(sv, (NV)Perl_rc);
sv_setpv(sv, os2error(Perl_rc));
}
sv_setnv(sv, (NV)Perl_rc);
sv_setpv(sv, os2error(Perl_rc));
}
if (SvOK(sv) && strNE(SvPVX(sv), "")) {
if (utf8ness > 1) {
SvUTF8_on(sv);
if (SvOK(sv) && strNE(SvPVX(sv), "")) {
if (utf8ness > 1) {
SvUTF8_on(sv);
}
fixup_errno_string(sv);
}
fixup_errno_string(sv);
}
}
# elif defined(WIN32)
{
Expand Down

0 comments on commit 00d4095

Please sign in to comment.