about summary refs log tree commit diff stats
path: root/subx/apps/factorial
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-11 22:44:49 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-11 22:44:49 -0700
commite59a74abddaf0b4f9a39432da21c6a98eae46df6 (patch)
treeb21109b5889dcdb9011e5a8559e7fb8e0ba00c4c /subx/apps/factorial
parent6362c51d11ef27335875469e0ff06347357f46b1 (diff)
downloadmu-e59a74abddaf0b4f9a39432da21c6a98eae46df6.tar.gz
5156 - error-checking on writes to file
Pretty blunt for now; just abort the entire program on any failure to write.

I'm encountering it because I'm somehow treating a stream address as a
file descriptor. Maybe mmap is returning addresses below 0x08000000?
Diffstat (limited to 'subx/apps/factorial')
-rwxr-xr-xsubx/apps/factorialbin17775 -> 17884 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/subx/apps/factorial b/subx/apps/factorial
index 0db812db..9ea9716b 100755
--- a/subx/apps/factorial
+++ b/subx/apps/factorial
Binary files differ