public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* B20.1 problem with cp between NT and 9x
@ 1999-08-05 14:04 Joseph Toman
  1999-08-31 23:49 ` Joseph Toman
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Toman @ 1999-08-05 14:04 UTC (permalink / raw)
  To: cygwin

I'm having a problem copying executables and DLLs from NT to a shared
directory on a Win98 system with cp. If I run cmp on the two
executables they differ, the original has a section of zero bytes and
the copy has what looks like fragments of source code. Stranger, this
was created with Borland C++ 5.01. If I make an executable with egcs,
no file corruption occurs on copying. Copying from an NT system to an
NT system works correctly, whether the target filesystem is NTFS or
FAT. The file name, i.e. bob.exe vs bob.txt, has no effect on the
process.  Copying with cut and paste or xcopy works fine. With
CYGWIN=binmode, sum returns different checksums on the two files, with
the CYGWIN variable unset the checksums are the same. The CYGWIN
variable doesn't seem to affect cp, and in fact that's what you see in
the source.  Ideas, suggestions, jeers? 

						J. Toman


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* B20.1 problem with cp between NT and 9x
  1999-08-05 14:04 B20.1 problem with cp between NT and 9x Joseph Toman
@ 1999-08-31 23:49 ` Joseph Toman
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Toman @ 1999-08-31 23:49 UTC (permalink / raw)
  To: cygwin

I'm having a problem copying executables and DLLs from NT to a shared
directory on a Win98 system with cp. If I run cmp on the two
executables they differ, the original has a section of zero bytes and
the copy has what looks like fragments of source code. Stranger, this
was created with Borland C++ 5.01. If I make an executable with egcs,
no file corruption occurs on copying. Copying from an NT system to an
NT system works correctly, whether the target filesystem is NTFS or
FAT. The file name, i.e. bob.exe vs bob.txt, has no effect on the
process.  Copying with cut and paste or xcopy works fine. With
CYGWIN=binmode, sum returns different checksums on the two files, with
the CYGWIN variable unset the checksums are the same. The CYGWIN
variable doesn't seem to affect cp, and in fact that's what you see in
the source.  Ideas, suggestions, jeers? 

						J. Toman


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-31 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-05 14:04 B20.1 problem with cp between NT and 9x Joseph Toman
1999-08-31 23:49 ` Joseph Toman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).