delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/15/00:44:41

From: anazawa AT hic-soft DOT co DOT jp (ANAZAWA Akio)
Subject: Re: cp -p
15 May 1997 00:44:41 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705141550.AAA16177.cygnus.gnu-win32@mail.hic-soft.co.jp>
Mime-Version: 1.0 (generated by tm-edit 7.106)
X-Mailer: cmail [version 2.59.6]
Original-To: gnu-win32 AT cygnus DOT com
In-reply-to: "Bruce D. McLeod"'s message of "Mon, 12 May 1997 08:35:15 -0400"
<2 DOT 2 DOT 32 DOT 19970512123515 DOT 00962504 AT postman DOT osf DOT org>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In message "cp -p"
    on Mon, 12 May 1997 08:35:15 -0400,
    "Bruce D. McLeod" <b DOT mcleod AT opengroup DOT org> writes:

    Bruce> It used to be that cp -p just messed up the access time,
    Bruce> but it got worse:

    Bruce> C:\temp>cp -p bdmlog bdmlog2 cp: bdmlog2: Invalid argument

    Bruce> Running b18, NT

I'm facing same problem. But at least in my case, copy operation and 
timestamp preservation seems to work fine. 

> bash$ touch tmp1
> bash$ ls -l tmp1
> -rw-r--r--   1 544      everyone        0 May 15 00:34 tmp1
> bash$ date
> Thu May 15 00:35:20 GMT--9:00 1997
> bash$ cp -p tmp1 tmp2
> cp: tmp2: Invalid argument
> bash$ ls -l tmp?
> -rw-r--r--   1 544      everyone        0 May 15 00:34 tmp1
> -rw-r--r--   1 544      everyone        0 May 15 00:34 tmp2
> bash$

My configuration may same with Bruce.

    gnuwin32 b18 (from cdk.exe)
    Windows NT 4.0 + SP2 (Japanese edition, file system is NTFS)
    Pentium Pro 200MHz (ya, this may no relation with this problem)


p.s. As you can see at the citation in above, output from date is
still incorrect. I'm setting TZ=JST-9 for our standard time. The
output should be like this;

    Thu May 15 00:35:20 JST 1997

(This is same as output from date of FreeBSD and Solaris. Did GNU
change default output format?)	


Thank you.

-- 
ANAZAWA, Akio

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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