comparison src/unexconvex.c @ 282:c42ec1d1cded r21-0b39

Import from CVS: tag r21-0b39
author cvs
date Mon, 13 Aug 2007 10:33:18 +0200
parents 376386a54a3c
children
comparison
equal deleted inserted replaced
281:090b52736db2 282:c42ec1d1cded
490 return; /* Nothing to do */ 490 return; /* Nothing to do */
491 491
492 if( lseek( new, (long) sptr->s_scnptr, 0 ) == -1 ) 492 if( lseek( new, (long) sptr->s_scnptr, 0 ) == -1 )
493 PERROR( "unexecing" ); 493 PERROR( "unexecing" );
494 494
495 bzero (zeros, sizeof zeros); 495 memset (zeros, 0, sizeof zeros);
496 496
497 ptr = (char *) sptr->s_vaddr; 497 ptr = (char *) sptr->s_vaddr;
498 end = ptr + sptr->s_size; 498 end = ptr + sptr->s_size;
499 499
500 while( ptr < end ) { 500 while( ptr < end ) {