Bug#606899: manpages-dev: btowc(3) suggests non-optimal replacement function

2011-09-21 Thread Michael Kerrisk
tags 606899 fixed-upstream thanks On Sun, Dec 12, 2010 at 9:36 PM, brian m. carlson wrote: > Package: manpages-dev > Version: 3.27-1 > Severity: minor > Tags: patch > > btowc(3) says: > >  This function should never be used.  It does not work for encodings >  which have state, and unnecessarily t

Bug#606899: manpages-dev: btowc(3) suggests non-optimal replacement function

2010-12-12 Thread brian m. carlson
Package: manpages-dev Version: 3.27-1 Severity: minor Tags: patch btowc(3) says: This function should never be used. It does not work for encodings which have state, and unnecessarily treats single bytes differently from multibyte sequences. Use the function mbtowc() instead. but mbtowc(