Re: canonicalize-lgpl: support paths of length > 2 GB

2016-10-14 Thread Pádraig Brady
On 14/10/16 01:57, Bruno Haible wrote: > Hi, > > If pathconf (name, _PC_PATH_MAX) returns a PATH_MAX value > 2 GB, > the readlink call in canonicalize-lgpl.c line 292 may return a length > 2 GB, > therefore the implicit cast (assignment) to 'int' will produce a wrong value. > > If you agree with

Re: getprogname() for IBM z/OS

2016-10-14 Thread Jim Meyering
On Thu, Oct 13, 2016 at 1:10 PM, Jim Meyering wrote: > On Thu, Oct 13, 2016 at 1:50 AM, Pádraig Brady wrote: >> On 13/10/16 02:43, Daniel Richard G. wrote: >>> On Wed, 2016 Oct 12 11:04+0100, Pádraig Brady wrote: You only want to strdup once. So you could use a static to track that