Skip to content

Commit 0bff4e5

Browse files
alexdowadkocsismate
authored andcommitted
Tweak style and grammar in proc_open.c
1 parent dff7994 commit 0bff4e5

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

ext/standard/proc_open.c

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,18 @@
3939
/* This symbol is defined in ext/standard/config.m4.
4040
* Essentially, it is set if you HAVE_FORK || PHP_WIN32
4141
* Other platforms may modify that configure check and add suitable #ifdefs
42-
* around the alternate code.
43-
* */
42+
* around the alternate code. */
4443
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
4544

4645
#if HAVE_OPENPTY
4746
# if HAVE_PTY_H
4847
# include <pty.h>
49-
# else
50-
# if defined(__FreeBSD__)
48+
# elif defined(__FreeBSD__)
5149
/* FreeBSD defines `openpty` in <libutil.h> */
52-
# include <libutil.h>
53-
# else
54-
/* Mac OS X and some BSD defines `openpty` in <util.h> */
55-
# include <util.h>
56-
# endif
50+
# include <libutil.h>
51+
# else
52+
/* Mac OS X (and some BSDs) define `openpty` in <util.h> */
53+
# include <util.h>
5754
# endif
5855
#endif
5956

0 commit comments

Comments
 (0)