cpplib: Null terminate strings; clean up

Zack Weinberg zackw@stanford.edu
Sun Mar 4 12:55:00 GMT 2001


On Sun, Mar 04, 2001 at 03:41:53PM -0500, Phil Edwards wrote:
> On Sun, Mar 04, 2001 at 11:54:16AM +0000, Neil Booth wrote:
> > I've just noticed more bugs in file name
> > remapping - that code can never have worked!
> 
> Do we know whether anyone uses -remap?  I'm wondering what the motivation
> was behind originally adding that functionality.

I asked about this a month or so ago.  It's apparently necessary with
DJGPP in order to disambiguate header files which aren't unique in the
first 8.3 characters.  libstdc++v3 has a few of these.

It is possible we could get those renamed (they're all internal
headers) and dump -remap, but I was assured at the time that -remap
worked, so I didn't worry about it.  If we have to spend any length of
time trying to fix it, I'd prefer we got the headers renamed.

zw



More information about the Gcc-patches mailing list