From: Jim Meyering Date: Sun, 29 Jun 1997 01:56:36 +0000 (+0000) Subject: Move the OPENOPTS def from end to beginning of else clause so it's closer X-Git-Tag: SH-UTILS-1_16b~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a13135d09ed890150075b2b227b7f1df5ef07d6b;p=thirdparty%2Fcoreutils.git Move the OPENOPTS def from end to beginning of else clause so it's closer to the one in the then clause. --- diff --git a/src/md5sum.c b/src/md5sum.c index 13ee3d3b99..399b804d3f 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