[Top][All Lists]

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

Re: [Groff] Strange error messages from Groff 1.22.3

From: Keith Marshall
Subject: Re: [Groff] Strange error messages from Groff 1.22.3
Date: Sat, 08 Nov 2014 21:05:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 08/11/14 20:43, Eli Zaretskii wrote:
>> 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?

Maybe make the *implementation* of dos2unix_filename() conditional?
Such that it would be a no-op, in those cases where it should not
transform its argument?  Thus, you could call it unconditionally, and
the conditional implementation would DTRT for each case.

reply via email to

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