summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorSteven Schubiger <schubiger@cpan.org>2006-02-02 11:38:49 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-02 14:24:03 +0000
commitbd61b36601703dd438f87762f0c4d23a6aeb375d (patch)
tree7939c0eb28c48259a8b421478016b2964cbf82d7 /locale.c
parentfafc274c285207343d70f4a0d51c29a2f492863a (diff)
downloadperl-bd61b36601703dd438f87762f0c4d23a6aeb375d.tar.gz
Re: [PATCH] s/Null(av|ch)/NULL/g
Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/locale.c b/locale.c
index 55da8b1a2a..86b11c841f 100644
--- a/locale.c
+++ b/locale.c
@@ -286,7 +286,7 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
if (! (curctype =
setlocale(LC_CTYPE,
(!done && (lang || PerlEnv_getenv("LC_CTYPE")))
- ? "" : Nullch)))
+ ? "" : NULL)))
setlocale_failure = TRUE;
else
curctype = savepv(curctype);
@@ -295,7 +295,7 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
if (! (curcoll =
setlocale(LC_COLLATE,
(!done && (lang || PerlEnv_getenv("LC_COLLATE")))
- ? "" : Nullch)))
+ ? "" : NULL)))
setlocale_failure = TRUE;
else
curcoll = savepv(curcoll);
@@ -304,7 +304,7 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
if (! (curnum =
setlocale(LC_NUMERIC,
(!done && (lang || PerlEnv_getenv("LC_NUMERIC")))
- ? "" : Nullch)))
+ ? "" : NULL)))
setlocale_failure = TRUE;
else
curnum = savepv(curnum);
@@ -454,13 +454,13 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
#endif /* ! LC_ALL */
#ifdef USE_LOCALE_CTYPE
- curctype = savepv(setlocale(LC_CTYPE, Nullch));
+ curctype = savepv(setlocale(LC_CTYPE, NULL));
#endif /* USE_LOCALE_CTYPE */
#ifdef USE_LOCALE_COLLATE
- curcoll = savepv(setlocale(LC_COLLATE, Nullch));
+ curcoll = savepv(setlocale(LC_COLLATE, NULL));
#endif /* USE_LOCALE_COLLATE */
#ifdef USE_LOCALE_NUMERIC
- curnum = savepv(setlocale(LC_NUMERIC, Nullch));
+ curnum = savepv(setlocale(LC_NUMERIC, NULL));
#endif /* USE_LOCALE_NUMERIC */
}
else {