> Date: Sat, 08 Nov 2014 21:05:05 +0000
> From: Keith Marshall <keith.d.marsh...@ntlworld.com>
> CC: groff@gnu.org
> 
> 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.

Yes, of course.  But the issue with the support code, see my other
message, will still be there.

Reply via email to