[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CAB OVL v1.31
Dancer writes:
> Updated. Improved. Some slightly improved sanity checking.
>
> Certain pages are guaranteed not to load, though. Possibly, I'm losing a
> file-handle under some set of conditions (I _know_ I was losing some
> before, this release fixes that), and when it runs out of file-handles,
> it's goodnight charlie. I dunno.
>
> Curiously (perhaps this is due to GCC 2.5.3),
2.5.3 or 2.3.3?
> when I was compiling under
> 2.5.8, things were happier. The current generated code seems unhappy about
> signed and unsigned values.
>
> int x;
>
> x=open("non-existant file",O_RDONLY);
> if(x==-1)
> {
> /* never gets here */
> }
> if(x<1)
> {
> /* _might_ make it here */
> }
> if(x>0x1000)
> {
> /* usually falls in here.
> }
>
> Note that everything is just declared as 'int'. Oh, this didn't happen
> without -mshort, either. Turns out we needed it.
if its 2.5.3 throw it away :) if its 2.3.3 have a look at the code
(gcc -S ..) or look whats wrong with gdb... i still have 2.3.3 here
and i don't remember _ever_ having to do something like this.
or add -v to your linker flags to see if it is loading the right
(16 bit for -mshort) libs...
btw there is now source available for arena, anyone thought about
porting that? :) http://www.w3.org/pub/WWW/Arena/beta-1
cheers
Juergen