[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150427091334.01323146@urahara>
Date: Mon, 27 Apr 2015 09:13:34 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Felix Janda <felix.janda@...teo.de>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] Use PATH_MAX instead of MAXPATHLEN
On Sat, 25 Apr 2015 22:33:28 +0200
Felix Janda <felix.janda@...teo.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.
>
> Signed-off-by: Felix Janda <felix.janda@...teo.de>
Iproute2 is intended for use on Linux.
It makes more sense to align with Posix than using leftover
BSD stuff. Therefore I don't see any point in doing this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists