This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Why this change?
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: Why this change?
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 13 Nov 1998 19:38:01 -0800
- Cc: libc-hacker@cygnus.com
- References: <m0zeWGA-000395C@ocean.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
hjl@lucon.org (H.J. Lu) writes:
> If that is case, I would say we should follow what others do and
> most of all we don't change any existing behavior.
The old behaviour was inconsistent anyway. I left in the default case
but now it returns the number of processed argument, i.e., it just
stops. This is the case on all the Unices I tested here. The old
implementation just carried on doing things which might be very
dangerous.
I still think that returning a distinguishable value is better.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------