On 2024-04-03 22:47 +0200, Alejandro Colomar wrote: > On Wed, Apr 03, 2024 at 06:01:50PM +0200, Sven Joachim wrote: >> Control: severity -1 normal >> >> On 2024-04-03 11:29 +0200, Alejandro Colomar wrote: >> >> > I now see that `apt-file show glibc-doc` shows several more pages. I'll >> > have a look at them and maybe I also import them into the Linux >> > man-pages project. >> >> AFAICS all of them have already been added there, right? > > Nope; I added the ones that I found in upstream glibc, and then I > upgraded them to the version they had in Debian. But for some reason, I > didn't notice that there were more in Debian. Or maybe I thought they > were already in the Linux man-pages. Whatever the reason, they're not > there. > > See: > > $ diff -u \ > <(apt-file show glibc-doc \ > | awk '{print $2}' \ > | grep /man/ \ > | sed 's,^/usr/share/man/,,' \ > | sed 's/\.gz$//' \ > | sort) \ > <(find src/linux/man-pages/man-pages/master/man* -type f \ > | sed 's,^src/linux/man-pages/man-pages/master/,,' \ > | sort) \ > | grep ^-; > --- /dev/fd/63 2024-04-03 22:40:00.524652442 +0200 > -man3/pthread_cond_broadcast.3 > -man3/pthread_cond_destroy.3 > -man3/pthread_cond_signal.3 > -man3/pthread_cond_timedwait.3 > -man3/pthread_cond_wait.3 > -man3/pthread_condattr_destroy.3 > -man3/pthread_getspecific.3 > -man3/pthread_key_delete.3 > -man3/pthread_mutex_destroy.3 > -man3/pthread_mutex_lock.3 > -man3/pthread_mutex_trylock.3 > -man3/pthread_mutex_unlock.3 > -man3/pthread_mutexattr_getkind_np.3 > -man3/pthread_mutexattr_gettype.3 > -man3/pthread_mutexattr_settype.3 > -man3/pthread_setspecific.3
Those are not additional pages, but just symlinks. ,---- | $ file $(dpkg -L glibc-doc | tail -n17) | /usr/share/man/man3/pthread_cond_broadcast.3.gz: symbolic link to pthread_cond_init.3.gz | /usr/share/man/man3/pthread_cond_destroy.3.gz: symbolic link to pthread_cond_init.3.gz | /usr/share/man/man3/pthread_cond_signal.3.gz: symbolic link to pthread_cond_init.3.gz | /usr/share/man/man3/pthread_cond_timedwait.3.gz: symbolic link to pthread_cond_init.3.gz | /usr/share/man/man3/pthread_cond_wait.3.gz: symbolic link to pthread_cond_init.3.gz | /usr/share/man/man3/pthread_condattr_destroy.3.gz: symbolic link to pthread_condattr_init.3.gz | /usr/share/man/man3/pthread_getspecific.3.gz: symbolic link to pthread_key_create.3.gz | /usr/share/man/man3/pthread_key_delete.3.gz: symbolic link to pthread_key_create.3.gz | /usr/share/man/man3/pthread_mutex_destroy.3.gz: symbolic link to pthread_mutex_init.3.gz | /usr/share/man/man3/pthread_mutex_lock.3.gz: symbolic link to pthread_mutex_init.3.gz | /usr/share/man/man3/pthread_mutex_trylock.3.gz: symbolic link to pthread_mutex_init.3.gz | /usr/share/man/man3/pthread_mutex_unlock.3.gz: symbolic link to pthread_mutex_init.3.gz | /usr/share/man/man3/pthread_mutexattr_destroy.3.gz: symbolic link to pthread_mutexattr_init.3.gz | /usr/share/man/man3/pthread_mutexattr_getkind_np.3.gz: symbolic link to pthread_mutexattr_setkind_np.3.gz | /usr/share/man/man3/pthread_mutexattr_gettype.3.gz: symbolic link to pthread_mutexattr_init.3.gz | /usr/share/man/man3/pthread_mutexattr_settype.3.gz: symbolic link to pthread_mutexattr_init.3.gz | /usr/share/man/man3/pthread_setspecific.3.gz: symbolic link to pthread_key_create.3.gz `---- In the man-pages source such aliases are included as files just containing a .so directive, those should indeed be added. > I'll import those into the Linux man-pages in a week, when I get back > from vacation. Have a nice vacation! Cheers, Sven