[MPlayer-dev-eng] Re: [PATCH] fix for unconditional use of PATH_MAX

Sergey Pinaev dfo at antex.ru
Wed May 7 17:54:20 CEST 2003


hi.
On Wed, 7 May 2003 17:49:33 +0200
Robert Millan <zeratul2 at wanadoo.es> wrote:

RM> -      if (getcwd(cwd, PATH_MAX) != (char *)NULL)
RM> +      cwd = getcwd (NULL, 0);

If buf is NULL, the behaviour of getcwd() is undefined. (c) GETCWD(3)
=) or =(

-- 
mail="Sergey Pinaev <dfo at antex.ru>"
url="http://`echo $mail | sed 's/.* <\(.*\)>/\1/' | sed 's/@/./'`"



More information about the MPlayer-dev-eng mailing list