Tsukada
ttsuk****@users*****
2002年 5月 26日 (日) 01:11:55 JST
ttsukada 02/05/26 01:11:55 Modified: ext/mbstring language.c Log: improve error hanling Revision Changes Path 1.3 +3 -0 php4/ext/mbstring/language.c Index: language.c =================================================================== RCS file: /cvsroot/php-i18n/php4/ext/mbstring/language.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- language.c 22 May 2002 20:13:22 -0000 1.2 +++ language.c 25 May 2002 16:11:55 -0000 1.3 @@ -159,6 +159,7 @@ int i, j; if (name == NULL) { + PHP_MB_ERRSET(PHP_MB_ERR_NULL_POINTER); return NULL; } @@ -183,6 +184,7 @@ } } + PHP_MB_ERRSET(PHP_MB_ERR_UNSUPPORTED_LANGUAGE); return NULL; } @@ -199,6 +201,7 @@ } } + PHP_MB_ERRSET(PHP_MB_ERR_UNSUPPORTED_LANGUAGE); return NULL; }