View Bug Activity | Format For Printing
Glibc 2.3.5 ( GCC 3.4.4, BinUtils 2.16.1, Linux 2.6.13.2 ) After changing misc/sys/syslog.h _PATH_LOG to something different, sysdeps/generic/syslog.c:openlog_internal starts cutting this path to 14 bytes while copying to a sockaddr, maybe because it thinks it knows the variable. I do not know the correct solution to this, at least I did not find documentation that clearly states that this macro is fixed or has a maximal length. But I guess allocating enough memory for it should not destabilize glibc. PS: If this is wontfix or similar, i would still like to see some patch for it :)
I am sorry for reposting, but I did not plan it that way: Glibc 2.3.5 ( GCC 3.4.4, BinUtils 2.16.1, Linux 2.6.13.2 ) After changing misc/sys/syslog.h _PATH_LOG to something different, sysdeps/generic/syslog.c:openlog_internal starts cutting this path to 14 bytes while copying to a sockaddr, maybe because it thinks it knows the variable. I do not know the correct solution to this, at least I did not find documentation that clearly states that this macro is fixed or has a maximal length. But I guess allocating enough memory for it should not destabilize glibc. PS: If this is wontfix or similar, i would still like to see some patch for it :)
I checked in a patch on the trunk.