Change 13411 by jhi@alpha on 2001/12/01 18:45:32
Make reality agree with the comment.
Affected files ...
.... //depot/perl/ext/I18N/Langinfo/Langinfo.xs#5 edit
Differences ...
==== //depot/perl/ext/I18N/Langinfo/Langinfo.xs#5 (text) ====
Index: perl/ext/I18N/Langinfo/Langinfo.xs
--- perl/ext/I18N/Langinfo/Langinfo.xs.~1~ Sat Dec 1 12:00:05 2001
+++ perl/ext/I18N/Langinfo/Langinfo.xs Sat Dec 1 12:00:05 2001
@@ -20,7 +20,7 @@
CODE:
#ifdef HAS_NL_LANGINFO
char *s;
- if (code) { /* bold assumption: all valid langinfo codes > 0 */
+ if (code > 0) { /* bold assumption: all valid langinfo codes > 0 */
#ifdef _MAXSTRMSG
if (code >= _MAXSTRMSG
RETVAL = &PL_sv_undef;
End of Patch.