[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gfs-devel
Subject:    Re: [gfs-devel] using getopt with chars is no good for Linux/390...
From:       David Teigland <teigland () sistina ! com>
Date:       2001-01-26 15:11:42
[Download RAW message or body]

On Fri, Jan 26, 2001 at 10:49:02AM +0100, Raimund.Schroeder@de.ibm.com wrote:

> Yesterday, I spent some time investigating why meatware stomithing did not
> work on Linux/390. Eventually, I encountered a known "problem": on Linux/390,
> a char is unsigned such that conditions like 'c != -1' will always yield true
> if c is just defined as char. I reported similar problems some time earlier
> (and they got corrected), so I grep'ed through the source and would like to
> suggest to use getopt together with integers only. I have attached a patch
> against the production release of GFS-4.

Sorry about doing that again - I've made the changes.
Thanks

-- 
Dave Teigland  <teigland@sistina.com>
_______________________________________________
gfs-devel mailing list
gfs-devel@sistina.com
http://lists.sistina.com/mailman/listinfo/gfs-devel
Read the GFS Howto:  http://www.sistina.com/gfs/Pages/howto.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic