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

Discussion in 'Ruby' started by Ville Mattila, Oct 13, 2004.

  1. 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
     
    Ville Mattila, Oct 13, 2004
    #1
    1. Advertising

  2. Ville Mattila <> 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
     
    Ville Mattila, Oct 14, 2004
    #2
    1. Advertising

  3. Hi,

    Ville Mattila <> 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
     
    WATANABE Hirofumi, Oct 14, 2004
    #3
  4. WATANABE Hirofumi <> writes:

    >
    > Thanks. Fixed it.


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

    thanks,
    Ville
     
    Ville Mattila, Oct 14, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chad Fowler

    Fileutils.cp bug?

    Chad Fowler, Nov 17, 2003, in forum: Ruby
    Replies:
    2
    Views:
    179
  2. Jim Freeze

    FileUtils Bug in 1.8.0

    Jim Freeze, Apr 22, 2004, in forum: Ruby
    Replies:
    0
    Views:
    107
    Jim Freeze
    Apr 22, 2004
  3. John-Mason P. Shackelford

    FileUtils.rm_rf bug on win2k?

    John-Mason P. Shackelford, Jul 14, 2004, in forum: Ruby
    Replies:
    1
    Views:
    198
    Minero Aoki
    Aug 8, 2004
  4. Andrew Walrond
    Replies:
    6
    Views:
    420
    Minero Aoki
    Jan 10, 2005
  5. Jeff Toth

    FileUtils.touch doesn't work

    Jeff Toth, Nov 28, 2006, in forum: Ruby
    Replies:
    9
    Views:
    174
    Eric Hodel
    Nov 29, 2006
Loading...

Share This Page