This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
latest cygwin does not track pwd?
- To: cygwin at sources dot redhat dot com
- Subject: latest cygwin does not track pwd?
- From: "Richard Y. Kim" <ryk at ap dot com>
- Date: Tue, 31 Oct 2000 10:57:07 -0800
- CC: ryk at ap dot com
- Reply-To: ryk at ap dot com
I updated to all latest files as of 10:30AM on October 31, 2000 from
ftp.freesoftware.com as well as ftp.yggdrasil.com.
I give two examples of how bash and/or cygwin1.dll gets confused about
pwd. First "ls -l ./foo" reports that ./foo does not exist. However,
"cat ./foo" prints out its old content!
bash-2.04$ cd d:/projects/apwin/tools/
bash-2.04$ ls -l ./foo
ls: ./foo: No such file or directory
bash-2.04$ cat ./foo
#!/usr/local/bin/perl
use Cwd;
my $dir = cwd;
print "cwd = $dir\n";
bash-2.04$
Second, perl's standard Cwd::cwd function returns 'undef':
bash-2.04$ cd d:/tmp
bash-2.04$ ls -l ./foo
-rwxr-xr-x 1 ryk Domain U 68 Oct 31 10:27 ./foo
bash-2.04$ cat ./foo
#!/usr/local/bin/perl
use Cwd;
my $dir = cwd;
print "cwd = $dir\n";
bash-2.04$ ./foo
cwd =
bash-2.04$
Many of my perl scripts are now broken due to this problem.
Here is my cygcheck output:
bash-2.04$ cygcheck -s
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Oct 31 10:52:48 2000
WinNT Ver 5.0 build 2195 Service Pack 1
Path: /cygdrive/d/ryk/private/bin
/cygdrive/d/ryk/public/bin-w32
/home/java/jdk1.2.2/bin
/usr/bin
/usr/X11R6/bin
/usr/local/bin
/cygdrive/c/winnt
/cygdrive/c/winnt/system32
/cygdrive/c/PROGRA~1/Tcl/bin
/cygdrive/c/Program Files/Resource Pro Kit/
/cygdrive/d/ryk/public/bin-w32
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
PWD = `/cygdrive/d/tmp'
LD_LIBRARY_PATH = `/home/java/jdk1.2.2/lib/jpda.jar:'
CYGWIN = `binmode'
USER = `ryk'
MAKE_MODE = `unix'
HOME = `/cygdrive/d/ryk'
Use `-r' to scan registry
a: fd N/A N/A
b: net NTFS 28872Mb 79% CP CS PA APWINBugFile
c: hd NTFS 4941Mb 89% CP CS UN PA FC
d: hd NTFS 4839Mb 31% CP CS UN PA FC
h: net NTFS 28872Mb 79% CP CS PA ryk
n: net NTFS 11201Mb 100% CP CS UN PA FC
p: net N/A N/A
r: net NTFS 11201Mb 100% CP CS UN PA FC
s: net NTFS 28872Mb 79% CP CS PA shared
v: cd N/A N/A
w: net N/A N/A
z: fd N/A N/A
C:\p\Cygwin\bin /usr/bin system binmode
C:\p\Cygwin\lib /usr/lib system binmode
C:\p\Cygwin / system binmode
Found: C:\p\Cygwin\bin\bash.exe
Found: C:\p\Cygwin\bin\cat.exe
Found: C:\p\Cygwin\bin\cpp.exe
Found: C:\p\Cygwin\bin\find.exe
Found: C:\p\Cygwin\bin\gcc.exe
Found: C:\p\Cygwin\bin\gdb.exe
Found: C:\p\Cygwin\bin\ld.exe
Found: C:\p\Cygwin\bin\ls.exe
Found: C:\p\Cygwin\bin\make.exe
Found: C:\p\Cygwin\bin\sh.exe
18k 2000/10/23 C:\p\Cygwin\bin\cyggdbm.dll
14k 2000/10/23 C:\p\Cygwin\bin\cygintl.dll
83k 2000/06/11 C:\p\Cygwin\bin\cygitcl30.dll
35k 2000/06/11 C:\p\Cygwin\bin\cygitk30.dll
45k 2000/10/22 C:\p\Cygwin\bin\cygjbig1.dll
119k 2000/10/23 C:\p\Cygwin\bin\cygjpeg6b.dll
162k 2000/10/23 C:\p\Cygwin\bin\cygpng2.dll
402k 2000/06/11 C:\p\Cygwin\bin\cygtcl80.dll
5k 2000/06/11 C:\p\Cygwin\bin\cygtclpip80.dll
10k 2000/06/11 C:\p\Cygwin\bin\cygtclreg80.dll
243k 2000/10/23 C:\p\Cygwin\bin\cygtiff3.dll
639k 2000/06/11 C:\p\Cygwin\bin\cygtk80.dll
49k 2000/10/23 C:\p\Cygwin\bin\cygz.dll
606k 2000/10/31 C:\p\Cygwin\bin\cygwin1.dll
Cygwin DLL version info:
dll major: 1001
dll minor: 6
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
api major: 0
api minor: 29
shared data: 3
dll identifier: cygwin1
mount registry: 2
cygnus registry name: Cygnus Solutions
cygwin registry name: Cygwin
program options name: Program Options
cygwin mount registry name: mounts v2
build date: Mon Oct 30 20:28:25 EST 2000
shared id: cygwin1S3
Use -h to see help about each section
bash-2.04$
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com