diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-27 07:48:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-27 07:48:47 +0000 |
commit | 0d1ddb59defdcd2fcd1241391f3606e3c30a7a79 (patch) | |
tree | 7bd726094f8cd4ebd947f9b1e75f60361b1589aa | |
parent | 022e60027b31189bd1c1ab5a149b54259614bdb4 (diff) | |
download | coreutils-0d1ddb59defdcd2fcd1241391f3606e3c30a7a79.tar.xz |
(SET_MODE) [O_BINARY]: Call setmode, not set_mode.
-rw-r--r-- | src/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index e4ef2386f..6e11e44bd 100644 --- 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 { \ |