php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch gettext.patch for Gettext related Bug #53251Patch version 2010-11-07 11:10 UTC Return to Bug #53251 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: jeanseb@au-fil-du.netIndex: ext/gettext/gettext.c =================================================================== --- ext/gettext/gettext.c (révision 305149) +++ ext/gettext/gettext.c (copie de travail) @@ -264,11 +264,11 @@ if (!VCWD_REALPATH(dir, dir_name)) { RETURN_FALSE; } - } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { - RETURN_FALSE; + retval = bindtextdomain(domain, dir_name); + } else { + retval = bindtextdomain(domain, NULL); } - retval = bindtextdomain(domain, dir_name); RETURN_STRING(retval, 1); } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Nov 21 13:01:29 2024 UTC |