delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | Re: `touch' created wrong file without giving error |
References: | <vfi74yfy DOT fsf AT online DOT no> <20040604112215 DOT GC13509 AT cygbert DOT vinschen DOT de> |
Organization: | Private |
From: | pjacklam AT online DOT no (Peter J. Acklam) |
Date: | 04 Jun 2004 18:58:46 +0200 |
In-Reply-To: | <20040604112215.GC13509@cygbert.vinschen.de> |
Message-ID: | <oenz45vd.fsf@online.no> |
Lines: | 21 |
User-Agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote: > On Jun 4 08:41, Peter J. Acklam wrote: > > > I tried creating a file named " foo ", i.e., with two leading > > and two trailing blanks using "touch". It turned out that > > "touch" created the file, but without the two trailing blanks. > > It might be that a file name with trailing blanks can't be > > created on an NTFS file system, but "touch" shouldn't create > > the wrong file but rather give an error telling that it > > failed. Silently creating the wrong name is generally bad: > > That's exactly what Windows does. Trailing spaces and dots are > silently ignored. Ok. I just expected Cygwin to behave better. :-/ Peter -- Peter J. Acklam - pjacklam AT online DOT no - http://home.online.no/~pjacklam -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |