il_ftrunc;
- if (!(ptr = mmap(0, fsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)))
+ ptr = mmap(0, fsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
+ if (ptr == MAP_FAILED)
goto fail_mmap;
memset(ptr, '-', ((fsz < 32) ? fsz : 32));
--
James Antill -- [EMAIL PROTECTED]
http://www.and.org/and-httpd/ -- $2,000 security guarantee
http://www.and.org/ustr/
http://www.and.org/vstr/
Bastian Blank <[EMAIL PROTECTED]> writes:
> On Thu, Feb 21, 2008 at 11:09:54AM -0500, James Antill wrote:
>> It looks like my ENOMEM checks are failing. IIRC s390 is 31 bit? and
>> those are designed for 32 bit ... so no big surprise I guess :(.
>
> No, s390 have 32 bi
org/debian-s390/), but only interesting information
> I caught is existence of the Hercules - S390 emulator. :) Ok, I will
> try to study documentation and to boot Debian on emulator. If there is
> an easier way, let me know please.
> Regards
> --
> Zito
--
James Antill -- [EMAIL PROTECTED]
http://www.and.org/and-httpd/ -- $2,000 security guarantee
http://www.and.org/ustr/
http://www.and.org/vstr/
3 matches
Mail list logo