Stratus VOS port status and issue.
James Sutherland
jas88 at cam.ac.uk
Fri May 12 18:47:22 GMT 2000
On Fri, 12 May 2000, Steve Langasek wrote:
> On Sat, 13 May 2000, James Sutherland wrote:
>
> > > Have you considered patching dos_to_unix() to convert VOS file paths to
> > > Unix ones? (i.e. replace %, # and > with /, and vice versa? This looks
> > > like the "cleanest" place to do it, AFAICS.
>
> > > 1. How could you then translate back?
>
> > unix_to_dos()
>
> However, if you translate all three of %, #, and > to /, then there's no
> unique mapping for the / character when calling unix_to_dos()... unless
> there's some way to unambiguate the mapping based on the position of the
> character within the string (messy), then this won't work.
The problem appears to be that first %. Just switching the first character
from % to / or vice versa would fix this problem.
James.
More information about the samba-technical
mailing list