delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/01/20:21:35

Date: Thu, 1 Apr 1999 20:21:33 -0500
Message-Id: <199904020121.UAA07181@delorie.com>
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Mike Fabian <mike DOT fabian AT it-mannesmann DOT de>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: '%' in filenames causes problems for cygwin
Reply-to: mike DOT fabian AT it-mannesmann DOT de

Hello,

there seems to be some problem with filenames containing '%'
under Cygwin. Has anybody already noticed this? I couldn't find
it in the FAQ.

For example if I try to create a file named "test%":

~$ echo "foo bar" > test%
bash: test%: No such file or directory

Then, after I created "test%" using NTEmacs:

~$ ll tes*
-rw-r--r--   1 0        Everyone       47 Apr  1 12:52 test%
~$ ll test%
-rw-r--r--   1 0        Everyone       47 Apr  1 12:52 test%

looks OK, but:

~$ tar cvf test.tar test%
tar: Cannot add file test%: No such file or directory
tar: Error exit delayed from previous errors

and:

~$ cat test%
[main] C:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe 1092 (0) handle_exceptions: Excep
tion: STATUS_ACCESS_VIOLATION
[main] cat 1092 (0) handle_exceptions: Dumping stack trace to cat.exe.core

Now I try to remove it:

~$ rm test%

and surprisingly this seems to work:

~$ ll tes*
-rw-r--r--   1 0        Everyone    10240 Apr  1 12:56 test.tar

Isn't this kind of weird? 
Are other people getting these effekts too?

Should I send cat.exe.core?

Mike

-- 
Mike Fabian   (mike DOT fabian AT it-mannesmann DOT de)
Mannesmann Datenverarbeitung 
Mathematische/Technische Systeme Verfahrenstechnik
Rehhecke 50, D-40885 Ratingen
Tel.: +49-2102 97 1763, Fax: +49-2102 97 1345






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019