]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Move the OPENOPTS def from end to beginning of else clause so it's closer
authorJim Meyering <jim@meyering.net>
Sun, 29 Jun 1997 01:56:36 +0000 (01:56 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 29 Jun 1997 01:56:36 +0000 (01:56 +0000)
to the one in the then clause.

src/md5sum.c

index 13ee3d3b9916c9cf1ea24122706703019fd820ce..399b804d3ff368c9894714f5eac78373bf9b19df 100644 (file)
 
 /* Most systems do not distinguish between external and internal
    text representations.  */
+/* FIXME: This begs for an autoconf test.  */
 #if UNIX || __UNIX__ || unix || __unix__ || _POSIX_VERSION
 # define OPENOPTS(BINARY) "r"
 #else
+# define OPENOPTS(BINARY) ((BINARY) != 0 ? TEXT1TO1 : TEXTCNVT)
 # ifdef MSDOS
 #  define TEXT1TO1 "rb"
 #  define TEXTCNVT "r"
@@ -50,7 +52,6 @@
     "Cannot determine system type."
 #  endif
 # endif
-# define OPENOPTS(BINARY) ((BINARY) != 0 ? TEXT1TO1 : TEXTCNVT)
 #endif
 
 #if _LIBC || STDC_HEADERS