summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-01-01 18:45:35 -0700
committerKarl Williamson <khw@cpan.org>2022-01-01 18:53:42 -0700
commit703a5fb067971684dbba78419a2e37f7b5f6fdc4 (patch)
treeb626a40276405c850674e9b5d1e0c432d66ba78b /doio.c
parent2c05b8b9d36a61c25574ce7c4f0f1a85d7139995 (diff)
downloadperl-703a5fb067971684dbba78419a2e37f7b5f6fdc4.tar.gz
doio.c: White-space, comment only
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/doio.c b/doio.c
index a38736cf08..87790da137 100644
--- a/doio.c
+++ b/doio.c
@@ -304,38 +304,38 @@ Perl_PerlLIO_open3_cloexec(pTHX_ const char *file, int flag, int perm)
static int Internal_Perl_my_mkstemp_cloexec(char *templte)
{
PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC;
-#if defined(O_CLOEXEC)
+# if defined(O_CLOEXEC)
DO_ONEOPEN_EXPERIMENTING_CLOEXEC(
PL_strategy_mkstemp,
Perl_my_mkostemp(templte, O_CLOEXEC),
Perl_my_mkstemp(templte));
-#else
+# else
DO_ONEOPEN_THEN_CLOEXEC(Perl_my_mkstemp(templte));
-#endif
+# endif
}
int
Perl_my_mkstemp_cloexec(char *templte)
{
int tempfd = Internal_Perl_my_mkstemp_cloexec(templte);
-#if defined(TEMP_CCSID)
+# if defined(TEMP_CCSID)
setccsid(tempfd, TEMP_CCSID);
-#endif
+# endif
return tempfd;
}
-#else /* OEMVS */
+# else /* Below is ! OEMVS */
int
Perl_my_mkstemp_cloexec(char *templte)
{
PERL_ARGS_ASSERT_MY_MKSTEMP_CLOEXEC;
-#if defined(O_CLOEXEC)
+# if defined(O_CLOEXEC)
DO_ONEOPEN_EXPERIMENTING_CLOEXEC(
PL_strategy_mkstemp,
Perl_my_mkostemp(templte, O_CLOEXEC),
Perl_my_mkstemp(templte));
-#else
+# else
DO_ONEOPEN_THEN_CLOEXEC(Perl_my_mkstemp(templte));
-#endif
+# endif
}
#endif