delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/03/00:03:54

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
Date: Sun, 3 Oct 2004 00:03:42 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Weird bug with cp -f
Message-ID: <20041003040342.GA25772@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000601c4a90d$0d18bad0$210110ac AT NEEEEEEE>
Mime-Version: 1.0
In-Reply-To: <000601c4a90d$0d18bad0$210110ac@NEEEEEEE>
User-Agent: Mutt/1.4.1i

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.

--
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/

- Raw text -


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