]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Cosmetics.
authorBruno Haible <bruno@clisp.org>
Wed, 2 Apr 2003 10:58:40 +0000 (10:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:20 +0000 (12:10 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/binary-io.h

index 871268ae82c3782b1870bbf1a785a90cff9a4063..37df061e44137c79c815e14c088f37bd34386885 100644 (file)
@@ -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.
index b10e5463de227f121bf6e28a00792ba99a0b373e..ed74c06f277c3d22327040e08d937b023d5a333a 100644 (file)
@@ -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.  */