Skip to content

Commit b2ea40d

Browse files
committed
util.c: Indent nested preprocessor directives
1 parent 798066b commit b2ea40d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

util.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2430,10 +2430,10 @@ Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
24302430
}
24312431
if (pid == 0) {
24322432
/* Child */
2433-
#undef THIS
2434-
#undef THAT
2435-
#define THIS that
2436-
#define THAT This
2433+
# undef THIS
2434+
# undef THAT
2435+
# define THIS that
2436+
# define THAT This
24372437
/* Close parent's end of error status pipe (if any) */
24382438
if (did_pipes)
24392439
PerlLIO_close(pp[0]);
@@ -2448,11 +2448,11 @@ Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
24482448
setfd_cloexec_or_inhexec_by_sysfdness(p[THIS]);
24492449
PerlLIO_close(p[THAT]); /* close parent's end of _the_ pipe */
24502450
}
2451-
#if !defined(HAS_FCNTL) || !defined(F_SETFD)
2451+
# if !defined(HAS_FCNTL) || !defined(F_SETFD)
24522452
/* No automatic close - do it by hand */
2453-
# ifndef NOFILE
2454-
# define NOFILE 20
2455-
# endif
2453+
# ifndef NOFILE
2454+
# define NOFILE 20
2455+
# endif
24562456
{
24572457
int fd;
24582458

@@ -2461,11 +2461,11 @@ Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
24612461
PerlLIO_close(fd);
24622462
}
24632463
}
2464-
#endif
2464+
# endif
24652465
do_aexec5(NULL, args-1, args-1+n, pp[1], did_pipes);
24662466
PerlProc__exit(1);
2467-
#undef THIS
2468-
#undef THAT
2467+
# undef THIS
2468+
# undef THAT
24692469
}
24702470
/* Parent */
24712471
if (did_pipes)

0 commit comments

Comments
 (0)