[NPERS] Re: Weird bug with cp -f
Ben Wing
ben@666.com
Sun Oct 3 08:35:00 GMT 2004
Should that be WJFFM?
Btw, it does *NOT* work to just touch a new file. So perhaps the fact that
there's DOS translation [i.e. mounted as textmode] and a \r\n newline is
important.
Attached is the requested output.
-----Original Message-----
From: Christopher Faylor [mailto:cgf-no-personal-reply-please@cygwin.com]
Sent: Saturday, October 02, 2004 9:04 PM
To: cygwin@cygwin.com
Subject: [NPERS] Re: Weird bug with cp -f
On Sat, Oct 02, 2004 at 10:51:38PM -0700, Ben Wing wrote:
>Try this, latest Cygwin, Win2k latest:
>
>/xemacs/cygbuild/build-mule/src 2049% cat > foo
>foo [hit ^D]
>/xemacs/cygbuild/build-mule/src 2050% od -bc foo
>0000000 146 157 157 015 012
> f o o \r \n
>0000005
>/xemacs/cygbuild/build-mule/src 2051% cp foo bar
>/xemacs/cygbuild/build-mule/src 2052% cp -f foo bar
>cp: writing `bar': Invalid request code /xemacs/cygbuild/build-mule/src
>2053% ls -ld bar
>drwxrwxrwx+ 2 Ben Wing None 0 Oct 2 22:40 bar/
>/xemacs/cygbuild/build-mule/src 2054%
>
>Clever, no? Somehow, your file magically got converted into a
>directory ...
Works just fine for me.
(WJJFM?)
Reading http://cygwin.com/problems.html would probably be helpful.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041003/281d95e2/attachment.txt>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list