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: Werner LEMBERG
Subject: Re: [Groff] Strange error messages from Groff 1.22.3
Date: Sat, 08 Nov 2014 21:54:27 +0100 (CET)

> You mean in so many different places?

Yes.

>> 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?

I was imagining something primitive, e.g. a working equivalent to

  #if defined(__MSDOS__) || (defined(_WIN32) && !defined(__CYGWIN__))
  # define DOS2UNIX_FILENAME(f) dos2unix_filename(f)
  #else
  # define DOS2UNIX_FILENAME(f) (f)
  #endif


    Werner



reply via email to

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