Package: libc6-dev Version: 2.3.2.ds1-20 Severity: minor Tags: upstream -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, Let this be part of the endless linux kernel headers vs. libc system headers battle... The unix(7) manpage documents a UNIX_PATH_MAX constant, but current sys/un.h has the number 108 hardcoded. linux/un.h has this. Since it's useful for strncpy etc., and it's even documented I suggest adding it. cheers - -- vbi - --- sys/un.h 2004-12-27 03:20:16.000000000 +0100 +++ /home/vbi/tmp/un.h 2005-03-18 17:18:12.771907939 +0100 @@ -27,10 +27,11 @@ __BEGIN_DECLS /* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket. */ +#define UNIX_PATH_MAX 108 struct sockaddr_un { __SOCKADDR_COMMON (sun_); - - char sun_path[108]; /* Path name. */ + char sun_path[UNIX_PATH_MAX]; /* Path name. */ }; - -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (60, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.6 Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libc6-dev depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii linux-kernel-headers 2.5.999-test7-bk-16 Linux Kernel Headers for developme - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: get my key from http://fortytwo.ch/gpg/92082481 iKcEARECAGcFAkI6/6dgGmh0dHA6Ly9mb3J0eXR3by5jaC9sZWdhbC9ncGcvZW1h aWwuMjAwMjA4MjI/dmVyc2lvbj0xLjUmbWQ1c3VtPTVkZmY4NjhkMTE4NDMyNzYw NzFiMjVlYjcwMDZkYTNlAAoJEIukMYvlp/fWZdoAn2XuL9x4mfiytvBflC7xNQaK OIyoAJ9iV9T6Qyn3WTHjOz1bW8Ajt+1fwA== =pml2 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]