diff options
author | Bruno Haible <bruno@clisp.org> | 2003-04-02 10:58:40 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:20 +0200 |
commit | 4f09c679564d85c1ddb3d9f1b8c25ab023d0a1a6 (patch) | |
tree | 6e7b5af3f03c8f213cc207f6c6b023f2c88cea4b | |
parent | 427ee2d8fa1a27a1e7af65c7d3eb7e376b2af1e5 (diff) | |
download | external_gettext-4f09c679564d85c1ddb3d9f1b8c25ab023d0a1a6.zip external_gettext-4f09c679564d85c1ddb3d9f1b8c25ab023d0a1a6.tar.gz external_gettext-4f09c679564d85c1ddb3d9f1b8c25ab023d0a1a6.tar.bz2 |
Cosmetics.
-rw-r--r-- | gettext-tools/lib/ChangeLog | 4 | ||||
-rw-r--r-- | gettext-tools/lib/binary-io.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 871268a..37df061 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,7 @@ +2003-04-02 Bruno Haible <bruno@clisp.org> + + * binary-io.h: Cosmetics. Suggested by Jim Meyering. + 2003-03-30 Bruno Haible <bruno@clisp.org> * Makefile.vms: New file. diff --git a/gettext-tools/lib/binary-io.h b/gettext-tools/lib/binary-io.h index b10e546..ed74c06 100644 --- a/gettext-tools/lib/binary-io.h +++ b/gettext-tools/lib/binary-io.h @@ -1,5 +1,5 @@ /* Binary mode I/O. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ # undef O_TEXT #endif #if O_BINARY -# if !(defined(__EMX__) || defined(__DJGPP__)) +# if !(defined __EMX__ || defined __DJGPP__) # define setmode _setmode # define fileno _fileno # endif @@ -42,9 +42,9 @@ # /* Avoid putting stdin/stdout in binary mode if it is connected to the # console, because that would make it impossible for the user to # interrupt the program through Ctrl-C or Ctrl-Break. */ -# define SET_BINARY(fd) (!isatty(fd) ? (setmode(fd,O_BINARY), 0) : 0) +# define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0) # else -# define SET_BINARY(fd) setmode(fd,O_BINARY) +# define SET_BINARY(fd) setmode (fd, O_BINARY) # endif #else /* On reasonable systems, binary I/O is the default. */ |