Wrote better checks for illegal actions.
authorfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Sun, 29 Mar 2009 21:25:45 +0000 (21:25 +0000)
committerfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Sun, 29 Mar 2009 21:25:45 +0000 (21:25 +0000)
commitf4dde3bc7531f005ea8589ed0df7d2c75a156a71
treede11a2be1f66bba5a14ec36a66fd5b4792b705fc
parentbf197c155b969096a5ee168d36c74c5bc9abbb97
Wrote better checks for illegal actions.
Added "magic numbers" to the window, stream, and fileref structures, for better checking.
Added macros for checking and error reporting in magic.h.
14 files changed:
src/Makefile.am
src/charset.c
src/event.c
src/fileref.c
src/fileref.h
src/input.c
src/magic.c [new file with mode: 0644]
src/magic.h [new file with mode: 0644]
src/main.c
src/stream.c
src/stream.h
src/strio.c
src/window.c
src/window.h