From: Christopher Faylor Date: Tue, 22 Jan 2002 03:48:16 +0000 (+0000) Subject: * cygmagic: Suppress error output when figuring out if sum takes an option. X-Git-Tag: cygwin_daemon_merge_HEAD~140 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=aed69a5b0dbacbddc1018b173f8420e40389004f;p=newlib-cygwin.git * cygmagic: Suppress error output when figuring out if sum takes an option. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 654ee8859..104523278 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-01-21 Christopher Faylor + + * cygmagic: Suppress error output when figuring out if sum takes an + option. + 2002-01-21 Christopher Faylor * cygmagic: Attempt to figure out if sum takes an option. diff --git a/winsup/cygwin/cygmagic b/winsup/cygwin/cygmagic index 16053624d..387593878 100755 --- a/winsup/cygwin/cygmagic +++ b/winsup/cygwin/cygmagic @@ -17,7 +17,7 @@ cat < $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 $*; }