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 felix.ja...@posteo.de wrote: Florian Fainelli wrote: On 27/04/15 09:13, Stephen Hemminger wrote: On Sat, 25 Apr 2015 22:33:28 +0200 Felix Janda felix.ja...@posteo.de wrote: They are equivalent but the former is more common. PATH_MAX is

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 felix.ja...@posteo.de wrote: They are equivalent but the former is more common. PATH_MAX is specified by POSIX and needs limits.h while MAXPATHLEN has BSD origin and needs sys/param.h. PATH_MAX has

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 felix.ja...@posteo.de wrote: They are equivalent but the former is more common. PATH_MAX is specified by POSIX and needs limits.h while MAXPATHLEN has BSD origin and needs sys/param.h. PATH_MAX has already been in use in misc/lnstat.h.

[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 limits.h while MAXPATHLEN has BSD origin and needs sys/param.h. PATH_MAX has already been in use in misc/lnstat.h. Signed-off-by: Felix Janda felix.ja...@posteo.de --- ip/ipnetns.c| 15