X-Spam-Check-By: sourceware.org Message-ID: <46CB5D57.5080401@byu.net> Date: Tue, 21 Aug 2007 15:47:03 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated [experimental]: coreutils-6.9-5 References: <46CB58A1 DOT 3040202 AT x-ray DOT at> In-Reply-To: <46CB58A1.3040202@x-ray.at> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Reini Urban on 8/21/2007 3:26 PM: >> This is a minor patch release. It attempts to add some >> case-insensitivity >> smarts to mv, cp, and install. In other words, 'mv a A' should now cause >> the file to be renamed, rather than reporting an error, if 'a' and 'A' >> happen to be case-insensitive synonyms for the same file. > > Great, thanks! > Are you planning to submit the patch upstream? My patch turned out to be more invasive than I would have liked. Also, there have been upstream discussions on the problem (since Mac HFS, and even Linux mounts to FAT, are also affected). The biggest problem is that my patch uses , which is NOT portable - there really is no good way (at the moment) across all three platforms to tell if a directory is case-insensitive. It would be nice if there was a pathconf(directory, _PC_CASE_INSENSITIVE) that could quickly be queried to see if case-insensitivity is even worth worrying about for the directory in question. Also brought up on the coreutils list is the problem that the kernel's notion of file system case-insensitivity may be different from the current locale's definition of case-insensitivity (not really an issue for cygwin so long as we don't really support locales, but definitely an issue for Linux and Mac). - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGy11X84KuGfSFAYARAk4dAJ0T6yzwWh2pnizEegbLiwuXBRSY7wCfdT2Z uHj5vysrCux/ADGKaM8QEJE= =fj4M -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/