Subject: Re: errors using DB_File perl module under 20040422 snapshot
From: "Gerrit P. Haase" <[email-masked]>
To: Yitzchak Scott-Thoennes <[email-masked]>
Cc: [email-masked]
Date: Mon, 26 Apr 2004 22:40:02 +0200

Hallo Yitzchak,

Am Sonntag, 25. April 2004 um 21:16 schriebst du:

> It seems to be creating files that cygwin cannot thereafter open.

> $ perl -we'use Fcntl; use DB_File; tie %h, "DB_File", "bugaboo",
> O_RDWR()|O_CREAT(), 0666 or die "error: $!"'
> Name "main::h" used only once: possible typo at -e line 1.
> error: No such file or directory at -e line 1.

The same here.

> $ ls *bugaboo*
> ls: __db.bugaboo.: No such file or directory

$ ls *bugaboo*
__db.bugaboo

No problem here.

> $ rm *bugaboo*
> rm: cannot remove `__db.bugaboo.': No such file or directory

$ rm *bugaboo*

No problem here. Hmmm.

>  2526k 2003/10/07 C:\cygwin\usr\local\bin\cygperl5_8_1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_8_1.dll" v0.0 ts=2003/10/7 10:14
>  2524k 2003/10/30 C:\cygwin\usr\local\bin\cygperl5_8_2.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_8_2.dll" v0.0 ts=2003/10/30 14:15
>  2524k 2004/01/08 C:\cygwin\usr\local\bin\cygperl5_8_3.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_8_3.dll" v0.0 ts=2004/1/8 5:06
>  2643k 2004/04/22 C:\cygwin\usr\local\bin\cygperl5_8_4.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_8_4.dll" v0.0 ts=2004/4/21 20:47
>  2562k 2003/10/31 C:\cygwin\usr\local\bin\cygperl5_9_0.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_9_0.dll" v0.0 ts=2003/10/30 16:23
>  2671k 2004/02/29 C:\cygwin\usr\local\bin\cygperl5_9_1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_9_1.dll" v0.0 ts=2004/2/29 0:57
>  2694k 2004/04/20 C:\cygwin\usr\local\bin\cygperl5_9_2.dll - os=4.0 img=1.0 sys=4.0
>                   "cygperl5_9_2.dll" v0.0 ts=2004/4/19 20:22

Which Perl are you using right now;)

I have still an older snapshot version of cygwin running here:
$ uname -r
1.5.8s(0.110/4/2)

Maybe you use another version of perl, or it is s.th. different with
the behaviour of cygwin in 1.5.10.

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/