projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5b8ad
)
fix unprotected macro argument in sys/ttydefaults.h
author
Rich Felker
<dalias@aerifal.cx>
Wed, 29 Jan 2020 15:47:19 +0000
(10:47 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 29 Jan 2020 15:47:19 +0000
(10:47 -0500)
include/sys/ttydefaults.h
patch
|
blob
|
history
diff --git
a/include/sys/ttydefaults.h
b/include/sys/ttydefaults.h
index d251b715c6757b5afe8825bc07c078f62ed9a439..e5d4da2ba159f0b81fa5023a5e176ea28cd9dee8 100644
(file)
--- a/
include/sys/ttydefaults.h
+++ b/
include/sys/ttydefaults.h
@@
-6,7
+6,7
@@
#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
#define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
#define TTYDEF_SPEED (B9600)
-#define CTRL(x) (
x
&037)
+#define CTRL(x) (
(x)
&037)
#define CEOF CTRL('d')
#ifdef _POSIX_VDISABLE