On Thu, 2021-04-15 at 19:48 -0600, Todd C. Miller wrote: > On Fri, 16 Apr 2021 03:34:04 +0200, Martijn van Duren wrote: > > > We currently have NetBSD's behaviour when it comes to to no characters, > > so no need to change there imho, but the 2 character limit seems like > > a good place to stop, especially since there's no way to break out of > > this hungry hungry hippo. > > > > limiter inspiration taken from octal notation. > > > > While here, also document \x notation. > > No objection from me but I'm not sure it needs to make 6.9. > > - todd I found a (different) bug in NetBSD's implementation, which got fixed by christos. But he also added a check that at least 1 isxdigit(3) needs to be present. From the commit message: Also add a warning if the conversion fails (like the gnu printf does)
Do we want something similar now that we are the odd ones out, or keep the diff as is? I still think that the current diff is fine, but since the landscape changed I wanted to throw it out there. martijn@
