*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e8d40d8f09
commit
8cd58c6cf1
9 changed files with 956 additions and 216 deletions
|
|
@ -78,7 +78,7 @@ wad_segment_find(wadaddr_t addr) {
|
|||
read_segment = 0;
|
||||
while (1) {
|
||||
n = read(fd,&pmap,sizeof(prmap_t));
|
||||
if (n < 0) break;
|
||||
if (n <= 0) break;
|
||||
offset += n;
|
||||
if ((addr >= (wadaddr_t) pmap.pr_vaddr) && (addr <= (wadaddr_t) (pmap.pr_vaddr + pmap.pr_size))) {
|
||||
strncpy(segment.mapname, pmap.pr_mapname, MAX_PATH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue