summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-06-29 01:56:36 +0000
committerJim Meyering <jim@meyering.net>1997-06-29 01:56:36 +0000
commita13135d09ed890150075b2b227b7f1df5ef07d6b (patch)
treed26f8af3dff409bd875d7f692bf081ad60b7b23c /src/md5sum.c
parentf657d65570c7389f9c60e2ff9d850206e5ce3b57 (diff)
downloadcoreutils-a13135d09ed890150075b2b227b7f1df5ef07d6b.tar.gz
Move the OPENOPTS def from end to beginning of else clause so it's closer
to the one in the then clause.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 13ee3d3b9..399b804d3 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -34,9 +34,11 @@
/* 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