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 15:25:17 +0100 (CET)

>> > One possible solution to this is to convert all backslashes to
>> > forward slashes '/' when writing the .lf directive.
> 
> Is there a good place to put the function that will do this?

I suggest `libs/libgroff/lf.cpp'.

> Or should I just have it in each place that needs it?

Whatever you think is more appropriate.

> the issue here is not canonicalization of file names, but rather
> conversion of each backslash in a file name to a forward slash.
> This can be handled by a simple loop.
> 
> Or did you mean something else?

I mean exactly this.  However, even such apparently easy tasks can
have pitfalls, and gnulib routines normally take care of them already.
My thought was that this possibly would save you some work.


    Werner



reply via email to

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