Package: manpages-dev
Version: 2.80-1
Severity: normal

In the GNU and UC versions of the libc (at least), the
scanf/fscanf/sscanf... functions seem to be calling strtoxxx
internally for number conversions.

In doing so, errno may be set to ERANGE when the input doesn't
fit in the number size requested and possibly to EINVAL for a
figures not in the requested base.

I think this should be mentionned. It should probably be
mentionned that one shouldn't rely on that to check whether an
out-of-range number was provided given that it is not clearly
specified by POSIX.


Also, the %as GNU extension seems not to be documented
(it may return ENOMEM) in the man page. It is in the glibc
documentation.

It doesn't seem to be supported by ucLibc but is required on LSB
3.2 conformant systems, it would seem
(http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/baselib-scanf.html)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-rc8 (PREEMPT)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages manpages-dev depends on:
ii  manpages                      2.80-1     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to