[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird PATH_MAX discussion in mplayer's list. (Fwd: [MPlayer-dev-eng]
From: |
Robert Millan |
Subject: |
Re: weird PATH_MAX discussion in mplayer's list. (Fwd: [MPlayer-dev-eng] [PATCH] fix for unconditional use of PATH_MAX) |
Date: |
Fri, 2 May 2003 00:17:13 +0200 |
User-agent: |
Mutt/1.5.4i |
On Thu, May 01, 2003 at 12:23:32PM -0600, mike burrell wrote:
>
> First of all, your patch is not good. It invokes undefined behaviour on
> every platform without PATH_MAX that is not GNU. Not good if you want to
> promote portability, methinks.
see the thread, i pasted a code example that supports systems with
specific limits but no PATH_MAX, using pathconf.
it isn't much pointful though, i never heard of a system without
PATH_MAX other than GNU, and less of one that has specific limits.
--
Robert Millan
make: *** No rule to make target `war'. Stop.
Another world is possible - Just say no to genocide