[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Return value from tcc in case of success

From: Peter \"Firefly\" Lund
Subject: [Tinycc-devel] Return value from tcc in case of success
Date: Thu, 6 Mar 2003 23:47:21 +0100 (MET)

>From the switch inside the option parsing loop in main() in tcc.c:

            switch(popt->index) {
            case TCC_OPTION_HELP:
                return 1;

>From stdlib.h:

/* We define these the same for all machines.
   Changes from this to the outside world should be done in `_exit'.  */
#define EXIT_FAILURE    1       /* Failing exit status.  */
#define EXIT_SUCCESS    0       /* Successful exit status.  */

is this on purpose?

Shall I make a patch that changes it to return EXIT_SUCCESS?
(and also changes the assignments to ret to use EXIT_*?)


"Of course, I'm not unbiased, but in my humble opinion, I've
 gotten close to something that I can be really proud of."
 -- Knuth on The Art of Computer Programming.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]