lkml.org 
[lkml]   [1999]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: GNU/Linux stance by Richard Stallman

On 5 Apr 1999, Nat Lanza wrote:

> "Khimenko Victor" <khim@sch57.msk.ru> writes:
>
> > GD> Exit Status: The false utility always shall exit with a value other than zero.
>
> "always" and "always unless condition X is met" are _not_ the same
> thing. The standard says "always shall exit with a value other than
> zero", so unless it _always_ exits with a value other than zero, it
> does not comply to the standard. It's quite simple, really.
>
Not at all! Standard says as well: you can not specify ANY arguments. So
when you specify ANY argument you are out of standard scope. Look this
way: sqrt(x) ALWAYS >= 0. But if you'll try to specify x < 0 you are out
of luck. Usually sqrt will not even have return value at all :-)) Or (if
sqrt will not convinience you). free(3) does not have return value at all.
(according to standard!). But try to call free with random arguments and
you'll see what happens.

> > When GNU true and false used according to POSIX (i.e. without arguments) then
> > work like POSIX specify.
>
> You utterly failed to understand that standard excerpt, didn't you?
>
No. Standard says: you must use this things this way. IF you'll use
thing in specified order you'll get predictable result. If you try to use
thing any other way you'll get some implementation-specific response.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.436 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site