fork of 9front i guess
Go to file
Ori Bernstein 245264e371 upas/marshal: handle nonexistent save folder correctly (thanks sirjofri)
When the save folder did not exist, and we could not create
it, we would handle up to one Biobuf worth of message, and
then fail, due to a failed tee. The sequence of events leading
up to this was:

	openfolder() -> error
	tee(0, fd, -1) -> wait for read
	write(0, data) ->
		write(fd, data) -> ok
		write(-1, data) -> error, tee terminates
	write(0, attachment) -> error

This change prevents us from writing to a closed fd, and
therefore from erroring out when sending.

We also warn the user.
2021-02-20 12:49:03 -08:00
386 ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
68000
68020 ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
acme win: fix window recreation command 2020-09-16 12:41:24 +02:00
adm/timezone timezones: change DST timezone string for South Australia 2019-11-20 11:49:16 +10:30
amd64 ape: unify math.h copies 2021-01-01 21:40:00 -08:00
arm ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
arm64 ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
lib font/terminus: you can't run a font, silly 2021-02-10 15:42:18 -08:00
mips ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
power ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
power64
rc newt: remove fn f, replace with walk 2021-02-09 22:50:31 -05:00
sparc ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
sparc64 ape: sync flaot.h macros with u.h 2021-02-08 15:45:11 -08:00
spim
sys upas/marshal: handle nonexistent save folder correctly (thanks sirjofri) 2021-02-20 12:49:03 -08:00
.hgignore hgignore: ignore section 9 manpage indices, ignore init, kernels and bootloader binaries 2020-03-07 12:28:49 +01:00