Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [BUG] FileUtils doesn't copy binary files correctly on win32

Reply
Thread Tools

[BUG] FileUtils doesn't copy binary files correctly on win32

 
 
Ville Mattila
Guest
Posts: n/a
 
      10-13-2004
Hello,
nmake install DESTDIR=c:\ruby
does not copy binary files correctly. It seems like it will end to first
end of file char (^Z on dos).
The file is copied from samba share to local drive. If that's makes
difference.
Ruby version: ruby 1.8.2 (2004-10-11) [i386-mswin32]

- Ville


 
Reply With Quote
 
 
 
 
Ville Mattila
Guest
Posts: n/a
 
      10-14-2004
Ville Mattila <(E-Mail Removed)> writes:

> Hello,
> nmake install DESTDIR=c:\ruby
> does not copy binary files correctly. It seems like it will end to first
> end of file char (^Z on dos).
> The file is copied from samba share to local drive. If that's makes
> difference.
> Ruby version: ruby 1.8.2 (2004-10-11) [i386-mswin32]
>
> - Ville


Binary file copying start working ok, if I revert recent io.c changes i.e.

# cvs diff -up -r1.246.2.30 -r1.246.2.23 io.c > io.patch
# patch < io.patch


- Ville
 
Reply With Quote
 
 
 
 
WATANABE Hirofumi
Guest
Posts: n/a
 
      10-14-2004
Hi,

Ville Mattila <(E-Mail Removed)> writes:

> Binary file copying start working ok, if I revert recent io.c changes i.e.
>
> # cvs diff -up -r1.246.2.30 -r1.246.2.23 io.c > io.patch
> # patch < io.patch


Thanks. Fixed it.

--
eban


 
Reply With Quote
 
Ville Mattila
Guest
Posts: n/a
 
      10-14-2004
WATANABE Hirofumi <(E-Mail Removed)> writes:

>
> Thanks. Fixed it.


Wow, that was fast . Yes the latest cvs has a working install again.

thanks,
Ville
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using FileUtils to sort JPEG files forgottenwizard Ruby 13 10-29-2007 06:44 PM
RE: Speed of shutil.copy vs os.system("copy src dest") in win32 Tim Golden Python 0 04-27-2006 07:41 AM
Speed of shutil.copy vs os.system("copy src dest") in win32 Russell Warren Python 1 04-27-2006 07:17 AM
is dict.copy() a deep copy or a shallow copy Alex Python 2 09-05-2005 07:01 AM
Fileutils::copy_entry() won't copy symlinks without dereferencing Andrew Walrond Ruby 6 01-10-2005 07:15 PM



Advertisments