Mercurial > hg > xemacs-beta
comparison src/unexaix.c @ 282:c42ec1d1cded r21-0b39
Import from CVS: tag r21-0b39
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:33:18 +0200 |
parents | 262b8bb4a523 |
children | 57709be46d1b |
comparison
equal
deleted
inserted
replaced
281:090b52736db2 | 282:c42ec1d1cded |
---|---|
607 a gap between the old text segment and the old data segment. | 607 a gap between the old text segment and the old data segment. |
608 This gap has probably been remapped into part of the text segment. | 608 This gap has probably been remapped into part of the text segment. |
609 So write zeros for it. */ | 609 So write zeros for it. */ |
610 if (ret == -1 && errno == EFAULT) | 610 if (ret == -1 && errno == EFAULT) |
611 { | 611 { |
612 bzero (zeros, nwrite); | 612 memset (zeros, 0, nwrite); |
613 write (new, zeros, nwrite); | 613 write (new, zeros, nwrite); |
614 } | 614 } |
615 else if (nwrite != ret) | 615 else if (nwrite != ret) |
616 { | 616 { |
617 sprintf (buf, | 617 sprintf (buf, |