Merge branch 'master' of /home/denys/src/yap/yap-6.3
This commit is contained in:
commit
7109143fd9
6
C/qlyr.c
6
C/qlyr.c
@ -617,11 +617,7 @@ RestoreAtomList(Atom atm USES_REGS)
|
|||||||
static size_t
|
static size_t
|
||||||
read_bytes(IOSTREAM *stream, void *ptr, size_t sz)
|
read_bytes(IOSTREAM *stream, void *ptr, size_t sz)
|
||||||
{
|
{
|
||||||
size_t bytes_read;
|
return Sfread(ptr, sz, 1, stream);
|
||||||
if ((bytes_read = Sfread(ptr, sz, 1, stream)) < sz) {
|
|
||||||
ERROR(BAD_READ);
|
|
||||||
}
|
|
||||||
return sz;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned char
|
static unsigned char
|
||||||
|
Reference in New Issue
Block a user