This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why this change?


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]