Re: [Plib-devel] Re: [PATCH] ssg/ssgLoadAC.cxx: fix potential crash; accept DOS line endings
Brought to you by:
sjbaker
From: Paul B. <pb...@ax...> - 2003-07-06 17:37:19
|
Okay I reverted and applied your original patch as suggested. It does the job and works as advertised on Linux. Sorry I don't run Cygwin here so I can't test in that environment. Pb On Sunday 06 July 2003 08:37 am, Melchior FRANZ wrote: > * Paul Boese -- Saturday 05 July 2003 21:40: > > On my system ssgLoadAC.cxx is broken since pulling the latest CVS. It > > works in my own test programs, but Tuxkart 0.2.0/CVS, and tux_aqfh-1.0.14 > > fail with the following error: > > > > FATAL: ac_to_gl: Unrecognised token ' > > ' > > > > I have not yet figured out the exact cause. > > The exact cause is lots of strange ac files, containing things like > > ==== tuxaqfh/models/folly.ac > data 14 > @autodcs h=22 > > texture "../images/swirl.rgb" > ==== > > > That is, the data field contains an \n. Maybe this was the cause for > how the original code was written like? In this case I'd revert the > last patch and apply the one that I've presented first in this very > thread. > > m. ...snip... -- Paul Boese pb...@ax... |