diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-22 03:48:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-22 03:48:16 +0000 |
commit | aed69a5b0dbacbddc1018b173f8420e40389004f (patch) | |
tree | 830dc01a64c2be5c2b46819a17d38ce4b6487191 /winsup/cygwin | |
parent | 2c2473bcac5304a191fe3a5e3fe2893569d579ad (diff) | |
download | cygnal-aed69a5b0dbacbddc1018b173f8420e40389004f.tar.gz cygnal-aed69a5b0dbacbddc1018b173f8420e40389004f.tar.bz2 cygnal-aed69a5b0dbacbddc1018b173f8420e40389004f.zip |
* cygmagic: Suppress error output when figuring out if sum takes an option.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rwxr-xr-x | winsup/cygwin/cygmagic | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 654ee8859..104523278 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 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. 2002-01-21 DJ Delorie <dj@redhat.com> 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 <<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 $*; } |