projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022e600
)
(SET_MODE) [O_BINARY]: Call setmode, not set_mode.
author
Jim Meyering
<jim@meyering.net>
Tue, 27 Nov 2001 07:48:47 +0000
(07:48 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 27 Nov 2001 07:48:47 +0000
(07:48 +0000)
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index
e4ef238
..
6e11e44
100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-177,7
+177,7
@@
typedef enum {false = 0, true = 1} bool;
# define setmode _setmode
# define fileno(_fp) _fileno (_fp)
# endif /* not DJGPP */
-# define SET_MODE(_f, _m) set
_
mode (_f, _m)
+# define SET_MODE(_f, _m) setmode (_f, _m)
# define SET_BINARY(_f) do {if (!isatty(_f)) setmode (_f, O_BINARY);} while (0)
# define SET_BINARY2(_f1, _f2) \
do { \