Re: The current libc/locale/toupper.c is mistaken

看板FB_current作者時間13年前 (2012/06/03 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/9 (看更多)
On 2012-05-10 11:02, Kohji Okuno wrote: > I think that libc/locale/toupper.c is mistaken. > Could you check it? > > @@ -51,7 +51,7 @@ ___toupper_l(c, l) > { > size_t lim; > FIX_LOCALE(l); > - _RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__maplower_ext; > + _RuneRange *rr = &XLOCALE_CTYPE(l)->runes->__mapupper_ext; > _RuneEntry *base, *re; > > if (c < 0 || c == EOF) Yes, this definitely looks like a copy/paste error, introduced here: http://svnweb.freebsd.org/base/head/lib/libc/locale/toupper.c?r1=165903&r2=227753 I'll commit the fix tonight (CEST), if David isn't faster than me. :) Thanks! _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Fopqg_9 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Fopqg_9 (FB_current)