Eric Blake <[EMAIL PROTECTED]> wrote:
...
> 2006-03-11 Eric Blake <[EMAIL PROTECTED]>
>
> * src/pwd.c (robust_getcwd): Prepend only one slash, not two.
Thanks. Applied.
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Jim Meyering on 3/3/2006 9:53 AM:
>
> Why do you want to merge this change with the
> already-big basename/dirname one?
>
OK, I'll send the root-dev-ino patch separately from the basename/dirname one.
> Thanks, this does look good.
> Wou
[EMAIL PROTECTED] (Eric Blake) wrote:
...
> I've already done a first cut at the edits, attached for review.
> Obviously, I will need to clean up where
> DOUBLE_SLASH_IS_DISTINCT_ROOT gets defined, and merge
> this patch in with my outstanding basename/dirname patch
> before it can be applied. But
Jim Meyering <[EMAIL PROTECTED]> writes:
> So cygwin has are two root directories, / and //, with distinct dev/inode
> pairs?
That would imply that there are two distinct trees. But, as I
understand it, / is a subtree of //. If so, isn't // the "real" root,
and can't the algorithm simply use th
[EMAIL PROTECTED] (Eric Blake) writes:
> a cross-compile must be pessimistic and assume that // might be
> distinct from /
Since the only platforms we know of that do that are Cygwin and Apollo
DomainOS, can't we fall back on a system-specific #ifdef for this?
It'd be a shame to penalize every cr
> So cygwin has are two root directories, / and //, with distinct dev/inode
> pairs?
Yes, as allowed by POSIX.
> If so, then we may need a new type that corresponds to a single
> pair on Unix-like systems, and to two dev/ino pairs on cygwin -- which
> is needed would be selected at configure time
[EMAIL PROTECTED] (Eric Blake) wrote:
> I just intentionally crippled the use of getcwd in a cygwin compilation
> (gl_cv_func_getcwd_null=no gl_cv_func_getcwd_path_max=no
> when configuring), to stress-test a pending patch to cygwin readdir
> to provide d_ino. In the process, I discovered a fundam
I just intentionally crippled the use of getcwd in a cygwin compilation
(gl_cv_func_getcwd_null=no gl_cv_func_getcwd_path_max=no
when configuring), to stress-test a pending patch to cygwin readdir
to provide d_ino. In the process, I discovered a fundamental
flaw in root-dev-ino.c - it expects that