If
':?aa' is not the only entry in the current working directory, readline behaves
as if : is an ambiguous completion. That is:
# mkdir ':?aa'
# touch 'something-else'
# rmdir :
... produces nothing until pressing the tab key a second time, after which both
entries are listed while the content of readline's input buffer remains
unchanged.
--
Kerin Millar
I should also add that another bug was filed downstream, reporting a
segfault in the event that the password contains a '# character.
Curiously, it doesn't seem to happen to everyone; for instance, David
Shen did not allude to a segfault (merely an authentication failure).
Here's a backtrace, court
This bug was also reported via the bug tracking system of Gentoo Linux
by David Shen. In doing so, he also contributed a patch which has not
yet been reviewed. Perhaps Anibal would be so kind as to review it?
http://bugs.gentoo.org/show_bug.cgi?id=258018
http://bugs.gentoo.org/attachment.cgi?id=24
> This, with a fallback to the old behavior if /proc is not mounted, seems
> reasonable.
>
Perhaps something like this:
if [ $(mount | grep -o "^proc") ] && [ -e /proc/cmdline ]; then
rootpart=$(grep -o "root=[^ ]*" /proc/cmdline | cut -d = -f 2)
else
which rdev >/dev/null && root
Package: debianutils
Version: 2.8.4
I recently discovered an apparent issue regarding the manner in which
the "/usr/bin/mkboot" script from this package attempts to determine
the root device. Here are lines 19-20 of the script:
# root partition
which rdev >/dev/null && rootpart=$(rdev | cut -
5 matches
Mail list logo