Re: [PATCH iproute2] Use PATH_MAX instead of MAXPATHLEN

2015-07-21 Thread Yegor Yefremov
On Wed, Apr 29, 2015 at 6:52 PM, Felix Janda wrote: > Florian Fainelli wrote: >> On 27/04/15 09:13, Stephen Hemminger wrote: >> > On Sat, 25 Apr 2015 22:33:28 +0200 >> > Felix Janda wrote: >> > >> >> They are equivalent but the former is more common. PATH_MAX is >> >> specified by POSIX and needs

Re: [PATCH iproute2] Use PATH_MAX instead of MAXPATHLEN

2015-04-28 Thread Florian Fainelli
On 27/04/15 09:13, Stephen Hemminger wrote: > On Sat, 25 Apr 2015 22:33:28 +0200 > Felix Janda wrote: > >> They are equivalent but the former is more common. PATH_MAX is >> specified by POSIX and needs while MAXPATHLEN has BSD >> origin and needs . >> >> PATH_MAX has already been in use in misc/

Re: [PATCH iproute2] Use PATH_MAX instead of MAXPATHLEN

2015-04-27 Thread Stephen Hemminger
On Sat, 25 Apr 2015 22:33:28 +0200 Felix Janda wrote: > They are equivalent but the former is more common. PATH_MAX is > specified by POSIX and needs while MAXPATHLEN has BSD > origin and needs . > > PATH_MAX has already been in use in misc/lnstat.h. > > Signed-off-by: Felix Janda Iproute2 i

[PATCH iproute2] Use PATH_MAX instead of MAXPATHLEN

2015-04-25 Thread Felix Janda
They are equivalent but the former is more common. PATH_MAX is specified by POSIX and needs while MAXPATHLEN has BSD origin and needs . PATH_MAX has already been in use in misc/lnstat.h. Signed-off-by: Felix Janda --- ip/ipnetns.c| 15 +++ lib/namespace.c | 11 ++- 2 fi