"NAKAMURA, Hiroshi" <nakahiro / sarion.co.jp>
> > > ruby -e 'p ARGF.binmode.read' csv/mac.csv
>
> > C:\RUBY-1.8.1\test>ruby -e 'p ARGF.binmode.read' csv/mac.csv
> > "\"Avenches\",\"aus Umgebung\"\r\n\"Bad Hersfeld\",\"Ausgrabung\""
>
> Hmm.  mac.csv is broken.  "\r\n" between records must be "\r".
> How did you get this file?  Did you open this file with some editor?

I did not change this file. The time-stamp on this file is still intact:
---------------------------
C:\RUBY-1.8.1\test\csv>dir /O /AA
 Volume in drive C has no label.
 Volume Serial Number is 6B0E-6992

 Directory of C:\RUBY-1.8.1\test\csv

09/03/2003  07:45 AM                17 bom.csv
09/15/2003  05:07 AM                54 mac.csv
12/12/2003  06:31 PM            44,904 test_csv.rb
               3 File(s)         44,975 bytes
               0 Dir(s)  24,625,561,600 bytes free
---------------------------
> Anyway, I'll change the test to create the target file or stream on
> the fly.  You don't have to mind this error.  You 1.8.1 is clean.

Great !

I did have to change the win32\Makefile.sub a little to get it to compile
though.
Added the following :

    !if !defined(incdir)
    incdir="C:\Program Files\Microsoft Visual Studio\VC98\Include"
    !endif

And changed the following to use the $(incdir) variable defined above:

    !if !defined(CPPFLAGS)
    CPPFLAGS = -I$(incdir) -I. -I$(srcdir) -I$(srcdir)/missing
    !endif


Thanks ....

> Regards,
> // NaHi

-- shanko