diff options
author | Karl Williamson <khw@cpan.org> | 2022-01-01 18:45:35 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-01-01 18:53:42 -0700 |
commit | 703a5fb067971684dbba78419a2e37f7b5f6fdc4 (patch) | |
tree | b626a40276405c850674e9b5d1e0c432d66ba78b /doio.c | |
parent | 2c05b8b9d36a61c25574ce7c4f0f1a85d7139995 (diff) | |
download | perl-703a5fb067971684dbba78419a2e37f7b5f6fdc4.tar.gz |
doio.c: White-space, comment only
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |