]> granicus.if.org Git - yasm/commit
* bytecode.c (bc_incbin_tobytes): Fix fread call so that return value check
authorPeter Johnson <peter@tortall.net>
Sat, 27 Aug 2005 02:05:36 +0000 (02:05 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 27 Aug 2005 02:05:36 +0000 (02:05 -0000)
commitca1f8653431d4eefe227523617d89972ad40d516
tree7c39e1f22a23aa70118c2c77803b6497256d9f81
parent7a8e71f8bb0f46fc2356fe12067cba8b561840c2
* bytecode.c (bc_incbin_tobytes): Fix fread call so that return value check
works (was broken for >1 byte files).
(yasm_bc_tobytes): Fix handling of bytecodes that are larger than provided
buffer.

Patch by: Stephen Polkowski <stephen@centtech.com>

svn path=/trunk/yasm/; revision=1219
libyasm/bytecode.c
libyasm/tests/Makefile.inc
libyasm/tests/incbin.asm [new file with mode: 0644]
libyasm/tests/incbin.errwarn [new file with mode: 0644]
libyasm/tests/incbin.hex [new file with mode: 0644]