[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#184074: readlink behavior different from debianutils version.



Package: coreutils
Version: 4.5.9-1

debianutils "readlink -f" allowed non-existing files to be 
completed. But coreutils readlink does not have the same behavior.

pbuilder was affected, and I think other packages may be affected too.

readlink in debianutils used to have this documentation:
     -f    Using realpath(3), canonicalize by following every symlink in every
           component of the given path recursively.  Note that the resultant
           pathname might not exist,




sid$ readlink -f random-name ; echo $?
1


woody$ readlink -f random-name ; echo $?
/home/dancer/random-name
0



regards,
	junichi



Reply to: