tags 691643 - patch
thanks

Hi.

I tested this with the new version.

# touch /usr/share/man/man3/
# mandb -p 2>/dev/null |tail -n3
1 man subdirectory contained newer manual pages.
1108 manual pages were added.
0 stray cats were added.
# mandb -p 2>/dev/null |tail -n3
0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.

Looks like this still happens.  For anyone following this, I wrote
last about this on the mailing list:

http://lists.nongnu.org/archive/html/man-db-devel/2013-12/msg00008.html

The simplest way I found to make the issue go away was to use stat
instead of lstat to get the mtimes, but that ran afoul with the test
suite.  I didn't explore that further.

I wrote a small script to equalize man links' mtimes with the man page
files.  I'm not suggesting it as a solution but if you want to see
what kind of impact this has, then feel free to test it (run mandb -c
afterwards).

#! /bin/bash

set -e

if [ -z "$1" ]; then
    echo "Usage: $0 <path>" >&2
    exit 1
fi

cd "$1"

for f in $(find . -type l); do
    touch -h -m -c "$f" -r "$(readlink "$f")"
done


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to