Ángel

@angel@triptico.com



No twitter / no facebook / no instagram / no tiktok / no bluesky / no regrets

LA ATALAYA RECORTADA CONTRA EL CIELO (novela)https://librosdelfuturo.es/producto/la-atalaya-recortada-contra-el-cielo/
YO NO SOY PAVEL (novela)https://distrito93.com/catalogo/yo-no-soy-pavel/
wwwhttps://triptico.com
tilde.clubhttps://tilde.club/~angel/
Ann Hell Musichttps://exode.me/accounts/annhell
Keyoxidehttps://keyoxide.org/hkp/1AFAE6809099EB5CD65A4E32B498DDC28F4584FF

Location: 40.4235492,-3.6617828

98 following, 111 followers

1 ★ 0 ↺

[?]Ángel »
@angel@triptico.com

Linux's strcmp() For The m68k Has Always Been Broken:
The m68 hand-written assembler version of strcmp() has always been broken: it returns the difference between the first non-matching byte done as a 8-bit subtraction.

That is _almost_ right, but is broken for the overflow case. The strcmp() function should indeed return the sign of the difference between the first byte that differs, but the subtraction needs to be done in a wider type than 'char'. Otherwise the ordering isn't actually stable.

https://www.phoronix.com/news/Linux-m68k-strcmp-Always-Broken