diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-03 15:58:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-03 15:58:17 +0000 |
commit | b2b07fdd2571dda707777c6b00ebdea5a6c6fd36 (patch) | |
tree | dd865ac934bcde274e05fb79683cc363fba80cd0 | |
parent | c380072ac295335bf4fbfaf6172fdb8194537562 (diff) |
Use PERL_INT_MAX instead of INT_MAX in previous commit for consistency
with the rest of perl. On OpenBSD PERL_INT_MAX is the same as INT_MAX.
From rse@engelschall.com.
-rw-r--r-- | gnu/usr.bin/perl/sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/sv.c b/gnu/usr.bin/perl/sv.c index 5332ef7f82c..1a0da2525c3 100644 --- a/gnu/usr.bin/perl/sv.c +++ b/gnu/usr.bin/perl/sv.c @@ -8541,7 +8541,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV if (EXPECT_NUMBER(q, width)) { if (*q == '$') { ++q; - efix = width > INT_MAX ? INT_MAX : width; + efix = width > PERL_INT_MAX ? PERL_INT_MAX : width; } else { goto gotwidth; } |