dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/support gen_errno.sh,1.5,1.6


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/support gen_errno.sh,1.5,1.6
Date: Sat, 14 Jun 2003 18:39:39 -0400

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv26474/support

Modified Files:
        gen_errno.sh 
Log Message:


Suppress unnecessary error messages from grep when searching for the
correct errno.h.


Index: gen_errno.sh
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/gen_errno.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** gen_errno.sh        15 May 2003 02:07:22 -0000      1.5
--- gen_errno.sh        14 Jun 2003 22:39:37 -0000      1.6
***************
*** 40,48 ****
        if test -n "$f"; then
                if test -z "$FILE"; then
!                       CHKLINE=`grep EINVAL "$f"`
                        if test -n "$CHKLINE"; then
                                FILE="$f"
                        else
!                               CHKLINE=`grep ENOSYS "$f"`
                                if test -n "$CHKLINE"; then
                                        FILE="$f"
--- 40,48 ----
        if test -n "$f"; then
                if test -z "$FILE"; then
!                       CHKLINE=`grep EINVAL "$f" 2>/dev/null`
                        if test -n "$CHKLINE"; then
                                FILE="$f"
                        else
!                               CHKLINE=`grep ENOSYS "$f" 2>/dev/null`
                                if test -n "$CHKLINE"; then
                                        FILE="$f"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]