In elinks-0.12/src/protocol/test/stub.c, we now have:

static void
die(const char *msg, ...)
{
        va_list args;

        if (msg) {
                va_start(args, msg);
                vfprintf(stderr, msg, args);
                fputs("\n", stderr);
                va_end(args);
        }

        exit(!!NULL);
}

!!NULL is 0.  Wouldn't it make more sense to exit(1) or
exit(EXIT_FAILURE), as an error has occurred?

Attachment: pgpDCBa1jPTVr.pgp
Description: PGP signature

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to