bug-cvs
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] New GNULIB glob module?


From: Paul Eggert
Subject: Re: [bug-gnulib] New GNULIB glob module?
Date: Thu, 02 Jun 2005 09:56:42 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Derek Price <derek@ximbiot.com> writes:

> It may be.  It looks like the change was intentional
> (http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/glob.c?rev=1.52&content-type=text/x-cvsweb-markup&cvsroot=glibc),
> but I still disagree.

I agree with you.  Historically, the "*" pattern in the shell has
always matched dangling links.  Otherwise "rm *" wouldn't work as
desired.

> I ran your test program on NetBSD 1.6.1 and it does return the
> broken symlink.

OK, let's argue that BSD is right and Solaris is wrong, and glibc
should be fixed.  If necessary we can take this to the POSIX committee.
In the mean time we can submit the three patches.  I'll take a look
at doing that.




reply via email to

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