bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] fix the trailing slash issue in dir_lookup calls


From: Samuel Thibault
Subject: Re: [PATCH] fix the trailing slash issue in dir_lookup calls
Date: Sun, 3 Jan 2016 01:42:23 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Flavio Cruz, on Sun 03 Jan 2016 01:35:55 +0100, wrote:
> On Sun, Jan 03, 2016 at 01:27:17AM +0100, Samuel Thibault wrote:
> > So you are making libc keep any heading slash, just dropping
> > double-heading-slash, right?
> 
> Yes.

I'm wondering why keeping this heading slash, it seems unnecessary, and
yet another thing that translators have to take care of.  Perhaps it
would be not difficult to make sure to keep only the trailing slash,
without keeping the heading slash? (and just a slash when no path is to
be looked up).

> > Does that work with current translators?
> 
> It appears to work fine so far, but it might require more stress testing
> to be sure (like compiling a big project)

I don't think compiling stuff would be problematic, since it'd just open
files. It's more corner cases which may pose problems (opening stuff in
httpfs and whatnot).

Samuel



reply via email to

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