This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: nl_langinfo (_NL_PAPER_HEIGHT) problem
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: nl_langinfo (_NL_PAPER_HEIGHT) problem
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 24 Apr 2001 06:35:56 -0700
- Cc: libc-alpha at sources dot redhat dot com, Werner Fink <werner at suse dot de>
- References: <hobspm1ldn.fsf@gee.suse.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Andreas Jaeger <aj@suse.de> writes:
> According to the documentation and to Unix98, nl_langinfo returns a
> string - but it seems that glibc returns in this case an integer?
>
> This looks broken to me.
No, this is how I've implemented this. There are other places where a
pointer has to be converted to an integer.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------