|
Message-ID: <20200119110743.GD2020@voyager>
Date: Sun, 19 Jan 2020 12:07:43 +0100
From: Markus Wichmann <nullplan@....net>
To: musl@...ts.openwall.com
Subject: Minor style patch to exit.c
Hi all,
it has often been said that if a LISP programmer were tasked with
catching an elephant, they would build a maze of parentheses in which
the elephant gets lost. If so, then libc_exit_fini() provides a nice
starting point for such a maze, even if it was started in C.
In all seriousness, the logic of the function is to iterate over an
array of function pointers, so why not write down that that's what it
does instead of iterating over some numbers that happen to be
convertible to such? Or is there something I have missed?
Ciao,
Markus
View attachment "0001-Make-libc_exit_fini-easier-to-read.patch" of type "text/x-diff" (1095 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.