cc: [email protected] [email protected]
Subject: Re: [ast-developers] Fwd: Bug#667038: ksh93 fails to detect renamed  
current or parent directory
--------

> This just came through the Debian bugtracker for the ksh (ksh93) package...
> 
> Irek
> 
> ---------- Forwarded message ----------
> From: Vincent Lefevre <[email protected]>
> Date: Tue, Apr 3, 2012 at 4:57 PM
> Subject: Bug#667038: ksh93 fails to detect renamed current or parent directory
> To: Debian Bug Tracking System <[email protected]>
> 
> 
> Package: ksh
> Version: 93u-1
> Severity: normal
> 
> ksh93 fails on the following script:
> 
> ypig:~> cat tst.sh
> mkdir tmpdir1
> cd tmpdir1
> mv ../tmpdir1 ../tmpdir2
> cd ..
> rmdir tmpdir2
> ypig:~> ksh93 tst.sh
> tst.sh[4]: cd: ..: [No such file or directory]
> rmdir: failed to remove `tmpdir2': No such file or directory
> 
> dash, bash, zsh, pdksh, mksh and posh all behave correctly on this
> example.
> 
> Note: similar problem when renaming a parent directory.
> 
> -- System Information:
> Debian Release: wheezy/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
> 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
> Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages ksh depends on:
> ii  libc6  2.13-27
> 
> ksh recommends no packages.
> 
> ksh suggests no packages.
> 
> -- no debconf information

Thanks, I have a fix for this which will be in the next update.



David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to