projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c6d7752
)
Typo (a missing endparen) and thinko (_MAXSTRMSG is
Jarkko Hietaniemi [Sat, 1 Dec 2001 18:47:07 +0000 (18:47 +0000)]
the max, not max plus one)
p4raw-id: //depot/perl@13412
ext/I18N/Langinfo/Langinfo.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/I18N/Langinfo/Langinfo.xs
b/ext/I18N/Langinfo/Langinfo.xs
index
47223d7
..
3a97daf
100644
(file)
--- a/
ext/I18N/Langinfo/Langinfo.xs
+++ b/
ext/I18N/Langinfo/Langinfo.xs
@@
-22,7
+22,7
@@
langinfo(code)
char *s;
if (code > 0) { /* bold assumption: all valid langinfo codes > 0 */
#ifdef _MAXSTRMSG
- if (code >= _MAXSTRMSG
+ if (code > _MAXSTRMSG)
RETVAL = &PL_sv_undef;
else
#else