This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to config.guess (2002-07-03) to detect 64bit HPUX compiler


>>>>> "John" == John David Anglin <dave@hiauly1.hia.nrc.ca> writes:

  John> There was a further problem...  I directed the output of the
  John> __LP64__ check to /dev/null.  I guess the "-q" was necessary.

I omitted the -q in my patch because according to the GNU grep manual:

  Portability note: unlike GNU grep, traditional grep did not conform
  to POSIX.2, because traditional grep lacked a -q option and its -s
  option behaved like GNU grep's -q option.  Shell scripts intended to
  be portable to traditional grep should avoid both -q and -s and
  should redirect output to /dev/null instead.

However, since we can be assured that this code will only be executing
on HP-UX (and if HP-UX's native grep supports -q), I think it can go
back in.

Ben


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]