[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

Ville Mattila

10/13/2004 2:17:00 PM

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


3 Answers

Ville Mattila

10/14/2004 5:26:00 AM

0

Ville Mattila <mulperi@cc.hut.fi> 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

WATANABE Hirofumi

10/14/2004 5:38:00 AM

0

Hi,

Ville Mattila <mulperi@cc.hut.fi> 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


Ville Mattila

10/14/2004 5:49:00 AM

0

WATANABE Hirofumi <eban@os.rim.or.jp> writes:

>
> Thanks. Fixed it.

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

thanks,
Ville