delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/18/18:49:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 18 Oct 2001 17:53:02 EDT
From: Upat54wo AT aol DOT com
Subject: Fwd: Re: cp returns status of 1
To: <cygwin AT cygwin DOT com>
Mime-Version: 1.0
X-Mailer: Unknown (No Version)
Message-ID: <48.57e701.2900a93e@aol.com>

------_Part_3bcf4f3e-00f6-276-010203040506
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit



------_Part_3bcf4f3e-00f6-276-010203040506
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <Upat54wo AT aol DOT com>
Received: from  web48.aolmail.aol.com (web48.aolmail.aol.com [205.188.161.9]) by air-id06.mx.aol.com (v81.9) with ESMTP id MAILINID62-1018175221; Thu, 18 Oct 2001 17:52:21 -0400
Date: Thu, 18 Oct 2001 17:52:20 EDT
From: Upat54wo AT aol DOT com
Subject:Re: cp returns status of 1
To: <wayne AT reliant DOT immure DOT com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Unknown (No Version)
Message-ID: <13d DOT 31bc5d9 DOT 2900a915 AT aol DOT com>

All servers are NT 4.0 sp 6.  I am running from a client station also NT 4.0 sp 6.

Thanks again!

In a message dated Thu, 18 Oct 2001  4:10:30 PM Eastern Daylight Time, Wayne Willcox <wayne AT reliant DOT knighthammer DOT com> writes:

> what version of windows are you using?  Win9x is particularly bad about
> returning incorrect return codes.  Of course what win9x returns is a 0
> not a 1 in my experience.  This is because Windows really does not use
> a return code like UNIX does.  Windows returns a 0 in pretty much all 
> conditions.  When I am writing code for Windows9x I never depend on 
> the return code, it is usually wrong.
> 
> what are the servers NT , UNIX and Samba, AIX and cifs?
> 
> On Thu, Oct 18, 2001 at 11:57:23AM -0400, Upat54wo AT aol DOT com wrote:
> > Can someone explan to me why "cp -  /cygdrive/x/file /cygdrive/y/file"  returns a status of 1?
> > 
> > Both drives are mapped drives and are on different servers.  Comparing bytes through Explorer indicates source and destination files are identical.  Cygwin is set up with "binmode" as the default.
> > 
> > Thanks!
> > 
> > 
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> 
> -- 
> Slowly and surely the unix crept up on the Nintendo user ...
> Wayne Willcox                          I will not eat green eggs and ham
> wayne AT reliant DOT immure DOT com                     I will not eat them Sam I Am!!
> A wise person makes his own decisions, a weak one obeys public opinion.
>                 -- Chinese proverb




------_Part_3bcf4f3e-00f6-276-010203040506
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------_Part_3bcf4f3e-00f6-276-010203040506--

- Raw text -


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