]> sourceware.org Git - newlib-cygwin.git/commitdiff
* cygmagic: Suppress error output when figuring out if sum takes an option.
authorChristopher Faylor <me@cgf.cx>
Tue, 22 Jan 2002 03:48:16 +0000 (03:48 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 22 Jan 2002 03:48:16 +0000 (03:48 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygmagic

index 654ee8859a0d4211ba583c6ef2f3bd28ab6d15de..10452327819442866cb2fa5bddff64a297511fb5 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-21  Christopher Faylor  <cgf@redhat.com>
+
+       * cygmagic: Suppress error output when figuring out if sum takes an
+       option.
+
 2002-01-21  Christopher Faylor  <cgf@redhat.com>
 
        * cygmagic: Attempt to figure out if sum takes an option.
index 16053624d390b5866bae90d2d72217a0ff0bf047..387593878f4f83a771765aa27c75722daa5152a4 100755 (executable)
@@ -17,7 +17,7 @@ cat <<EOF > $file_magic
 /* autogenerated - do not edit */
 #include "$file"
 EOF
-if sum -r /dev/null; then
+if sum -r /dev/null >/dev/null 2>&1; then
   sumit(){ sum -r $*; }
 else
   sumit(){ sum $*; }
This page took 0.030805 seconds and 5 git commands to generate.