Peter Naulls peter at chocky.org
Wed Nov 9 15:22:37 PST 2005

In message <36264dc74d.ajw498 at caramel.cp15.org>
          Alex Waugh <alex at alexwaugh.com> wrote:

> Presumably it searches the filename for the given extension, and if
> found uses the dot or slash preceding it to make the decision?
> What about doing a mimemap lookup on the final segment of the filename,
> and if it matches assume it is the extension? That would be more
> general purpose, but potentially more complex/unexpected behaviour.

Although the idea has some merit, I'm not sure it helps much in the case
of bzip2, since .bz2 doesn't appear in the mimemap.  What kinds of
programs were you thinking of?

Peter Naulls - peter at chocky.org        | http://www.chocky.org/
Please Reply Properly                  | http://www.riscos.info/posting/

More information about the gcc mailing list