Sujet : Re: strlcpy and how CPUs can defy common sense
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.miscDate : 27. Jul 2024, 23:40:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v83t16$3iv51$2@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.159 (Vovchansk; )
On Sat, 27 Jul 2024 19:58:06 -0000 (UTC), John McCue wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>
On Fri, 26 Jul 2024 15:36:17 -0000 (UTC), Ben Collver wrote:
The situation only gets worse for the openbsd version here, not
better.
Not the only time the GNU folks have done something smarter than the
BSD folks.
I do not understand this statement in regards to true(1).
<http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html>
This is interesting
<http://www.theregister.co.uk/2016/02/10/line_break_ep2/>
How is GNU's version of true better than OpenBSD's ?
See page 2 in the articke.
You have to put the two together to realize how hilariously wrong the
“Register” article is. The OpenBSD version of “true” may seem concise and
elegant, until you notice that it requires the loading of an entirely new
shell instance to run each time.
Whereas the GNU version, with its much longer source code entirely in C,
loads faster and runs in less memory. Which was one of the points made in
the first article.