This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: compare strings carefully in gdbarch.sh
- To: ac131313 at cygnus dot com, jimb at cygnus dot com
- Subject: Re: RFA: compare strings carefully in gdbarch.sh
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Thu, 7 Jun 2001 09:32:07 -0700
- Cc: gdb-patches at sources dot redhat dot com
The Single Unix Specification has a page about "test":
http://www.opengroup.org/onlinepubs/7908799/xcu/test.html
If our scripts conform to this, they'll have a better chance of running
on more systems in the future. And if they don't run, we can point
fingers at the vendor more effectively.
The page also has a long section on how to write portable "test"
expressions, probably because lots of people have gotten burned in
the past.
Michael Elizabeth Chastain
<chastain@redhat.com>
"love without fear"