plan9front/sys/include
Ori Bernstein 1987cc69c8 stdio, ape/stdio: fix order of operations in putc
When calling putc, we need to return either EOF
or the character returned. To distinguish the
two, we need to avoid sign extending 0xff. The
code attempted to do this, but the order of
operations was wrong, so we ended up masking,
setting a character, and then sign extending
the character.

This fixes things so we mask after assignment.
2020-07-11 13:28:58 -07:00
..
ape stdio, ape/stdio: fix order of operations in putc 2020-07-11 13:28:58 -07:00
9p.h lib9p: fix re-use of root Qid when using createfile(); remove unused dirqidgen 2020-03-29 17:39:30 +00:00
a.out.h
aml.h
ar.h
auth.h separate MSCHAP(v2) and NTLM(v2) authentication 2018-05-20 22:49:24 +02:00
authsrv.h separate MSCHAP(v2) and NTLM(v2) authentication 2018-05-20 22:49:24 +02:00
avl.h
bin.h
bio.h
bootexec.h
complete.h
control.h
ctype.h
cursor.h
disk.h
draw.h
dtracy.h dtracy: avoid dmachlock() race 2019-03-30 09:17:46 +01:00
event.h
fcall.h Sand edges down on GBIT64()/PBIT64() macros. 2019-05-06 17:26:38 -07:00
fis.h
flate.h
frame.h
geometry.h
html.h
httpd.h
ip.h libip: replace v4parsecidr() with new parseipandmask() 2019-02-11 23:26:57 +01:00
json.h
keyboard.h add missing header change (thanks qwx) 2020-04-26 09:03:42 -07:00
libc.h libc: revert date change again. this is getting ridicuoulus. 2020-06-15 00:12:57 +02:00
libsec.h libsec: move AES XTS function prototypes to AES definition section in the header file 2020-03-01 16:02:56 +01:00
mach.h
memdraw.h
memlayer.h
mouse.h
mp.h libmp: declare mpfactorial 2018-11-04 11:37:02 -08:00
ndb.h libndb: make ndbipinfo() walk ipnet for all matching entries, concatenate and dedup result 2018-09-16 12:39:47 +02:00
nfs3.h
plumb.h
pool.h
rdbg.h
regexp.h
sat.h libsat, forp: fix va_list hack on amd64 2018-04-24 12:20:07 +01:00
scribble.h
stdio.h stdio, ape/stdio: fix order of operations in putc 2020-07-11 13:28:58 -07:00
String.h
sunrpc.h
thread.h
tos.h
trace.h
ttf.h add libttf 2018-06-09 14:33:19 +00:00
venti.h sys/src/libventi: define VtEntryNoArchive constant 2019-09-06 11:55:35 -07:00