Mailinglist Archive: opensuse-packaging (111 mails)

< Previous Next >
Re: [opensuse-packaging] FYI: glibc 2.8 may break some of your packages
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Mon, 14 Apr 2008 15:31:16 +0200
  • Message-id: <48035CA4.7070708@xxxxxxx>
Andreas Gruenbacher wrote:
On Monday 14 April 2008 14:53:29 Michal Marek wrote:
do I have to add 1 for the leading slash and 1 for the terminating nul
byte?). Also, in what case is this value different from 4096 on linux?

pathconf() gives you the buffer size needed; you don't need to add anything.
The value on Linux is always 4096 (see include/linux/limits.h).

OK, thanks for confirming my assumption.

And I was actually wrong in thinking that new glibc stopped providing
PATH_MAX, it was the package not including <limits.h>. So calling
pathconf() isn't actually needed here.

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >