Re: cvs commit: src/lib/libc/locale utf8.c

2007-11-01 Thread Bruce Evans
On Wed, 31 Oct 2007, Bruce Evans wrote: __mb_sb_limit is extern int, so the ABI breakage was obvious. If it had been a compile-time constant with the usual ${CFLAGS} but not a constant with -O0, of if the constant depended on ${CFLAGS} or changed with __FreeBSD_version, then the problem would h

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-31 Thread Andrey Chernov
On Wed, Oct 31, 2007 at 09:41:13PM +1100, Bruce Evans wrote: > Now the limit is spelled 128, so it really is constant and won't cause > problems unless the constant changes. Only in one particular case, the rest cases still need __mb_sb_limit. > _ctype.h still declares __mb_sb_limit but now doesn

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-31 Thread Bruce Evans
On Thu, 25 Oct 2007, LI Xin wrote: Scott Long wrote: Andrey Chernov wrote: On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: Andrey A. Chernov wrote: ache2007-10-15 09:51:30 UTC FreeBSD src repository Modified files: lib/libc/locale utf8.c Log: Add comment

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-30 Thread LI Xin
Guys, Just FYI, rafan@ has posted a latest version of patch, which will hopefully fix the ABI compatibility issue, while retaining ache@'s fixes to utf-8 handling. The drawback is that we will lose some inline macros which could (presumably) give a performance penalty for heavy ctype(3) users, bu

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-29 Thread Kris Kennaway
David O'Brien wrote: On Sat, Oct 27, 2007 at 11:57:05PM +0200, Kris Kennaway wrote: David O'Brien wrote: On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote: On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: If portmgr@ u

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-29 Thread David O'Brien
On Sat, Oct 27, 2007 at 11:57:05PM +0200, Kris Kennaway wrote: > David O'Brien wrote: >> On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote: >>> On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: > If portmgr@ uses RELE

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-27 Thread Kris Kennaway
David O'Brien wrote: On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote: On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: If portmgr@ uses RELENG_6 to base their builds on breaking forward compat would mean all consumers

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-27 Thread David O'Brien
On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote: > On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: > > On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: > > > If portmgr@ uses RELENG_6 to base their builds on breaking forward > > > compat would mean all consumers of packa

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-27 Thread Kris Kennaway
John Baldwin wrote: On Friday 26 October 2007 12:00:54 pm Ken Smith wrote: On Fri, 2007-10-26 at 11:41 -0400, John Baldwin wrote: On Friday 26 October 2007 10:53:47 am David O'Brien wrote: On Thu, Oct 25, 2007 at 05:31:03PM -0400, Ken Smith wrote: What we need to try and avoid unless *absolut

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Andrey Chernov
On Fri, Oct 26, 2007 at 04:26:41PM -0700, John-Mark Gurney wrote: > > Although standard permits functions only, I object against permanent > > removing inlines from ctype. Almost every system have them as macros or > > inlines and not as function calls, and it is for reason. Ctype functions > >

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread John-Mark Gurney
Andrey Chernov wrote this message on Fri, Oct 26, 2007 at 23:00 +0400: > On Sat, Oct 27, 2007 at 12:54:21AM +0800, Rong-en Fan wrote: > > As for RELENG_7 and HEAD, I'm not 100% sure whether we should restore > > the compatibility as 1) 7.0 is not released yet, 2) we don't promise > > anything in >

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Ken Smith
On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: > On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: > > If portmgr@ uses RELENG_6 to base their builds on breaking forward > > compat would mean all consumers of packages-6-stable would also need > > to use RELENG_6. > > When did thi

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread David O'Brien
On Fri, Oct 26, 2007 at 01:32:52PM -0700, LI Xin wrote: > David O'Brien wrote: > > On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: > >> If portmgr@ uses RELENG_6 to base their builds on breaking forward > >> compat would mean all consumers of packages-6-stable would also need > >> to use

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread LI Xin
David O'Brien wrote: > On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: >> If portmgr@ uses RELENG_6 to base their builds on breaking forward >> compat would mean all consumers of packages-6-stable would also need >> to use RELENG_6. > > When did this sease being a requirement? > 'pkg_ad

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread David O'Brien
On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: > If portmgr@ uses RELENG_6 to base their builds on breaking forward > compat would mean all consumers of packages-6-stable would also need > to use RELENG_6. When did this sease being a requirement? 'pkg_add -r' certainly enforces this re

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Scott Long
Andrey Chernov wrote: On Sat, Oct 27, 2007 at 12:54:21AM +0800, Rong-en Fan wrote: As for RELENG_7 and HEAD, I'm not 100% sure whether we should restore the compatibility as 1) 7.0 is not released yet, 2) we don't promise anything in HEAD branch. However, if most people think get rid of inline s

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Andrey Chernov
On Fri, Oct 26, 2007 at 10:41:14AM -0700, LI Xin wrote: > rafan@ has a patch that implements Warner's suggestion by removing the > inline's from _ctype.h and the macros from ctype.h, and is testing the > impact. Basically the approach do the following: > > - Keep __mb_sb_limit intact. It is use

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Andrey Chernov
On Sat, Oct 27, 2007 at 12:54:21AM +0800, Rong-en Fan wrote: > As for RELENG_7 and HEAD, I'm not 100% sure whether we should restore > the compatibility as 1) 7.0 is not released yet, 2) we don't promise > anything in > HEAD branch. However, if most people think get rid of inline stuffs and > have

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Ken Smith
On Fri, 2007-10-26 at 12:24 -0400, John Baldwin wrote: > I was more concerned about there being a > new general policy. Are you really sure you want forwards compat and not > just backwards compat ABI? I certainly don't want to guarantee it. But I'd like to avoid breaking forwards compat if the

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 06:12:16PM -0600, M. Warner Losh wrote: > Maybe we should make them *NOT* be inline instead of all these > kludges? In case we trade compatibility for slowdown in some apps, yes. They are inlines for reason, almost every system have them as inlines. -- http://ache.pp.ru/

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread John Baldwin
On Friday 26 October 2007 12:00:54 pm Ken Smith wrote: > On Fri, 2007-10-26 at 11:41 -0400, John Baldwin wrote: > > On Friday 26 October 2007 10:53:47 am David O'Brien wrote: > > > On Thu, Oct 25, 2007 at 05:31:03PM -0400, Ken Smith wrote: > > > > What we need to try and avoid unless *absolutely* *

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread LI Xin
Scott Long wrote: > You're right that nothing can be promised, but you're ignoring what Ken > and I are saying about having a justification for changes. Yes, MSI > added a feature that wasn't present in previous releases. But it's > something that is optional and can be easily ifdef'd in source.

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread LI Xin
Ken Smith wrote: > On Fri, 2007-10-26 at 11:41 -0400, John Baldwin wrote: >> On Friday 26 October 2007 10:53:47 am David O'Brien wrote: >>> On Thu, Oct 25, 2007 at 05:31:03PM -0400, Ken Smith wrote: What we need to try and avoid unless *absolutely* *necessary* is the [...] using a 6.3-REL

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread David O'Brien
On Fri, Oct 26, 2007 at 10:37:22AM -0600, Scott Long wrote: > and I are saying about having a justification for changes. .. > The ctype ABI change > isn't like that at all; it's mandatory and it can't be > worked around. We also asked that even justifiable changes be evaluated > to see if there w

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Rong-en Fan
On 10/27/07, Scott Long <[EMAIL PROTECTED]> wrote: > John Baldwin wrote: > > On Thursday 25 October 2007 07:04:08 pm Scott Long wrote: > >> Robert Watson wrote: > >>> On Thu, 25 Oct 2007, Andrey Chernov wrote: > >>> > On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: > > Well, I thin

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Scott Long
John Baldwin wrote: On Thursday 25 October 2007 07:04:08 pm Scott Long wrote: Robert Watson wrote: On Thu, 25 Oct 2007, Andrey Chernov wrote: On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: Well, I think the problem is not exposing a new symbol by itself, but __mb_sb_limit is being u

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Erik Trulsson
On Fri, Oct 26, 2007 at 11:44:33AM -0400, John Baldwin wrote: > On Thursday 25 October 2007 07:04:08 pm Scott Long wrote: > > Robert Watson wrote: > > > On Thu, 25 Oct 2007, Andrey Chernov wrote: > > > > > >> On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: > > >>> Well, I think the problem

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Ken Smith
On Fri, 2007-10-26 at 11:41 -0400, John Baldwin wrote: > On Friday 26 October 2007 10:53:47 am David O'Brien wrote: > > On Thu, Oct 25, 2007 at 05:31:03PM -0400, Ken Smith wrote: > > > What we need to try and avoid unless *absolutely* *necessary* is the > > > part Scott quoted above - binaries comp

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread Robert Watson
On Fri, 26 Oct 2007, John Baldwin wrote: I think the issue here is that the change occurred very quickly after the branch, and when users wanted to 'change gears' back to RELENG_7 from HEAD once it was created immediately ran into the problem. It seems like a useful piece of post-branch advic

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread John Baldwin
On Thursday 25 October 2007 07:04:08 pm Scott Long wrote: > Robert Watson wrote: > > On Thu, 25 Oct 2007, Andrey Chernov wrote: > > > >> On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: > >>> Well, I think the problem is not exposing a new symbol by itself, but > >>> __mb_sb_limit is being

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread John Baldwin
On Friday 26 October 2007 10:53:47 am David O'Brien wrote: > On Thu, Oct 25, 2007 at 05:31:03PM -0400, Ken Smith wrote: > > What we need to try and avoid unless *absolutely* *necessary* is the > > part Scott quoted above - binaries compiled on 6.3-REL should work on > > 6.2-REL unless there was a r

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-26 Thread David O'Brien
On Thu, Oct 25, 2007 at 05:31:03PM -0400, Ken Smith wrote: > What we need to try and avoid unless *absolutely* *necessary* is the > part Scott quoted above - binaries compiled on 6.3-REL should work on > 6.2-REL unless there was a really big issue and the solution to that > issue required us to bre

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Rong-en Fan
On 10/26/07, Ken Smith <[EMAIL PROTECTED]> wrote: > On Thu, 2007-10-25 at 23:14 +0400, Andrey Chernov wrote: > > On Thu, Oct 25, 2007 at 01:10:13PM -0600, Scott Long wrote: > > >> Well, I think the problem is not exposing a new symbol by itself, but > > >> __mb_sb_limit is being used in _ctype.h, i

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> LI Xin <[EMAIL PROTECTED]> writes: : Andrey Chernov wrote: : > On Thu, Oct 25, 2007 at 12:30:07PM -0600, Scott Long wrote: : [snip] : >> and is causing many users problems : >> during upgrades and normal operations. : > : > Like what? I don't observe a

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Scott Long
Robert Watson wrote: On Thu, 25 Oct 2007, Andrey Chernov wrote: On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: Well, I think the problem is not exposing a new symbol by itself, but __mb_sb_limit is being used in _ctype.h, in a form of __inline functions. Therefore, the change will br

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Robert Watson
On Thu, 25 Oct 2007, Andrey Chernov wrote: On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: Well, I think the problem is not exposing a new symbol by itself, but __mb_sb_limit is being used in _ctype.h, in a form of __inline functions. Therefore, the change will break new binaries runni

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Ken Smith
On Thu, 2007-10-25 at 23:14 +0400, Andrey Chernov wrote: > On Thu, Oct 25, 2007 at 01:10:13PM -0600, Scott Long wrote: > >> Well, I think the problem is not exposing a new symbol by itself, but > >> __mb_sb_limit is being used in _ctype.h, in a form of __inline > >> functions. Therefore, the chang

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 11:57:09PM +0400, Andrey Chernov wrote: > On Thu, Oct 25, 2007 at 03:31:20PM -0400, Daniel Eischen wrote: > >> Although standard permit this, it will cause lots of programs to break > >> here and there and even may cause core dump. I don't think it is what > >> everybody wan

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 03:17:32PM -0400, Daniel Eischen wrote: > Why not simply avoid the error check for inlines. Solaris > doesn't seem to add a check, it just does the conversion. > The non-inlined versions do error checking. I already answer that several times. Nobody wants 80% programs ethe

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 03:31:20PM -0400, Daniel Eischen wrote: >> Although standard permit this, it will cause lots of programs to break >> here and there and even may cause core dump. I don't think it is what >> everybody wants. Non-inlined versions a) not used nowdays b) must be exact >> as inli

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Daniel Eischen
On Thu, 25 Oct 2007, Andrey Chernov wrote: On Thu, Oct 25, 2007 at 12:20:16PM -0700, LI Xin wrote: Daniel Eischen wrote: Why not simply avoid the error check for inlines. Solaris doesn't seem to add a check, it just does the conversion. The non-inlined versions do error checking. I'll take

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Daniel Eischen
On Thu, 25 Oct 2007, Andrey Chernov wrote: On Thu, Oct 25, 2007 at 03:17:32PM -0400, Daniel Eischen wrote: Why not simply avoid the error check for inlines. Solaris doesn't seem to add a check, it just does the conversion. The non-inlined versions do error checking. Although standard permit

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 12:20:16PM -0700, LI Xin wrote: > Daniel Eischen wrote: > > Why not simply avoid the error check for inlines. Solaris > > doesn't seem to add a check, it just does the conversion. > > The non-inlined versions do error checking. > > I'll take a look at this and provide a pa

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 03:17:32PM -0400, Daniel Eischen wrote: > Why not simply avoid the error check for inlines. Solaris > doesn't seem to add a check, it just does the conversion. > The non-inlined versions do error checking. Although standard permit this, it will cause lots of programs to br

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 12:15:13PM -0700, LI Xin wrote: > Andrey Chernov wrote: > > On Thu, Oct 25, 2007 at 12:30:07PM -0600, Scott Long wrote: > [snip] > >> and is causing many users problems > >> during upgrades and normal operations. > > > > Like what? I don't observe any singe problem so far

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread LI Xin
Daniel Eischen wrote: > Why not simply avoid the error check for inlines. Solaris > doesn't seem to add a check, it just does the conversion. > The non-inlined versions do error checking. I'll take a look at this and provide a patch for review. Cheers, -- Xin LI <[EMAIL PROTECTED]> http://

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Daniel Eischen
On Thu, 25 Oct 2007, LI Xin wrote: Andrey Chernov wrote: On Thu, Oct 25, 2007 at 09:44:06AM -0700, LI Xin wrote: Andrey Chernov wrote: On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: Andrey A. Chernov wrote: ache2007-10-15 09:51:30 UTC FreeBSD src repository Modified

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread LI Xin
Andrey Chernov wrote: > On Thu, Oct 25, 2007 at 12:30:07PM -0600, Scott Long wrote: [snip] >> and is causing many users problems >> during upgrades and normal operations. > > Like what? I don't observe any singe problem so far. This has revealed another issue on RELENG_6 while rafan@ did the MF

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 01:10:13PM -0600, Scott Long wrote: >> Well, I think the problem is not exposing a new symbol by itself, but >> __mb_sb_limit is being used in _ctype.h, in a form of __inline >> functions. Therefore, the change will break new binaries running on >> older systems. Personall

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 12:05:40PM -0700, LI Xin wrote: > Well, I think the problem is not exposing a new symbol by itself, but > __mb_sb_limit is being used in _ctype.h, in a form of __inline > functions. Therefore, the change will break new binaries running on > older systems. Yes. Only vice

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Scott Long
LI Xin wrote: Scott Long wrote: Andrey Chernov wrote: On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: Andrey A. Chernov wrote: ache2007-10-15 09:51:30 UTC FreeBSD src repository Modified files: lib/libc/locale utf8.c Log: Add comment explaining __mb_sb_lim

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread LI Xin
Andrey Chernov wrote: > On Thu, Oct 25, 2007 at 09:44:06AM -0700, LI Xin wrote: >> Andrey Chernov wrote: >>> On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: Andrey A. Chernov wrote: > ache2007-10-15 09:51:30 UTC > FreeBSD src repository > Modified files: >>>

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread LI Xin
Scott Long wrote: > Andrey Chernov wrote: >> On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: >>> Andrey A. Chernov wrote: ache2007-10-15 09:51:30 UTC FreeBSD src repository Modified files: lib/libc/locale utf8.c Log: Add comment explaini

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 12:30:07PM -0600, Scott Long wrote: > Exposing the __mb_sb_limit symbol has instantly created a need > to have a compat7x package, Yes. We supposed to do this in any case. > and is causing many users problems > during upgrades and normal operations. Like what? I don't

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 09:44:06AM -0700, LI Xin wrote: > Andrey Chernov wrote: > > On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: > >> Andrey A. Chernov wrote: > >>> ache2007-10-15 09:51:30 UTC > >>> FreeBSD src repository > >>> Modified files: > >>> lib/libc/locale

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Scott Long
Andrey Chernov wrote: On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: Andrey A. Chernov wrote: ache2007-10-15 09:51:30 UTC FreeBSD src repository Modified files: lib/libc/locale utf8.c Log: Add comment explaining __mb_sb_limit trick here. Revision Chang

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread LI Xin
Andrey Chernov wrote: > On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: >> Andrey A. Chernov wrote: >>> ache2007-10-15 09:51:30 UTC >>> FreeBSD src repository >>> Modified files: >>> lib/libc/locale utf8.c Log: >>> Add comment explaining __mb_sb_limit trick here

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Andrey Chernov
On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: > Andrey A. Chernov wrote: >> ache2007-10-15 09:51:30 UTC >> FreeBSD src repository >> Modified files: >> lib/libc/locale utf8.c Log: >> Add comment explaining __mb_sb_limit trick here. >> Revision Changes

Re: cvs commit: src/lib/libc/locale utf8.c

2007-10-25 Thread Scott Long
Andrey A. Chernov wrote: ache2007-10-15 09:51:30 UTC FreeBSD src repository Modified files: lib/libc/locale utf8.c Log: Add comment explaining __mb_sb_limit trick here. Revision ChangesPath 1.16 +5 -0 src/lib/libc/locale/utf8.c When is the ABI