groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Strange error messages from Groff 1.22.3


From: Eli Zaretskii
Subject: Re: [Groff] Strange error messages from Groff 1.22.3
Date: Sat, 08 Nov 2014 22:43:28 +0200

> Date: Sat, 08 Nov 2014 21:03:29 +0100 (CET)
> Cc: address@hidden
> From: Werner LEMBERG <address@hidden>
> 
> 
> > OK, here's the proposed patch and the log entries:
> 
> Thanks.
> 
> > 2014-11-08  Eli Zaretskii  <address@hidden>
> > 
> >     Fix handling of MS-Windows quoting and file names with backslashes.
> >     * src/preproc/soelim/soelim.cpp (do_file):
> >     * src/preproc/refer/refer.cpp (do_file):
> >     * src/preproc/preconv/preconv.cpp (do_file):
> >     * src/preproc/pic/main.cpp (do_file):
> >     * src/preproc/eqn/main.cpp (do_file)
> >     [__MSDOS__ || (_WIN32 && !__CYGWIN__)]: Call dos2unix_filename to
> >     convert backslashes in the file name being processed to forward
> >     slashes.
> 
> I'm not happy to have so many preprocessor conditionals.

You mean in so many different places?  Or just the 3 symbols the
conditional uses?

> Any chance to have some code in `nonposix.h' to avoid this?

Please suggest how.  do_file more often than not accepts strings given
by 'const char *', so it is not possible to modify the string itself.
What else can I do?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]