Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zparseopts (Re: PATCH: _urls and _rpm)
- X-seq: zsh-workers 11788
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: Oliver Kiddle <opk@xxxxxxxxxxxxx>,        Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
 
- Subject: Re: zparseopts (Re: PATCH: _urls and _rpm)
 
- Date: Wed, 7 Jun 2000 05:55:58 +0000
 
- In-reply-to: <393CCB47.43BD74D7@xxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <393C2510.5F7D3880@xxxxxxxxxxxxx> 	<1000606040813.ZM25973@xxxxxxxxxxxxxxxxxxxxxxx> 	<393CCB47.43BD74D7@xxxxxxxxxxxxx>
 
On Jun 6, 10:58am, Oliver Kiddle wrote:
} Subject: Re: zparseopts (Re: PATCH: _urls and _rpm)
}
} On the subject of my IRIX 5.3 compilation warnings, Bart Schaefer wrote:
} > What does line 111 of sys/types.h look like?
} 
} typedef unsigned long   ino_t;          /* <inode> type */
} 
} If you look back it my previous message (11755), you'll see that I had
} stuck a section of types.h in at the end.
Oops, I thought that was part of the diff and never even looked at it.
} after a preprocessor check for _MIPS_SZLONG == 32.
Where does _MIPS_SZLONG come from?
The test for ino_t passes this:
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
through the preprocessor and then egreps to find ino_t.  From the snippet
you sent, the egrep should fail only if _MIPS_SZLONG is neither 32 nor 64.
Unless IRIX's egrep is broken, which is not impossible ...
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author