2 Oct 2005 20:54
src/unexelf.c
Aubrey Jaffer <agj <at> alum.mit.edu>
2005-10-02 18:54:42 GMT
2005-10-02 18:54:42 GMT
#ifndef emacs
#define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
but some of the calls to fatal() have different numbers of arguments.
This patch fixes those calls.
-=-=-=-
*** unexelf.c.~1.58.~ 2005-10-02 14:47:28.000000000 -0400
--- unexelf.c 2005-10-02 14:51:00.337130032 -0400
***************
*** 702,708 ****
#if MAP_ANON == 0
mmap_fd = open ("/dev/zero", O_RDONLY);
if (mmap_fd < 0)
! fatal ("Can't open /dev/zero for reading: errno %d\n", errno);
#endif
/* We cannot use malloc here because that may use sbrk. If it does,
--- 702,708 ----
#if MAP_ANON == 0
mmap_fd = open ("/dev/zero", O_RDONLY);
if (mmap_fd < 0)
! fatal ("Can't open /dev/zero for reading: errno %d\n", errno, 0);
#endif
/* We cannot use malloc here because that may use sbrk. If it does,
***************
*** 713,719 ****
old_base = mmap (NULL, old_file_size, PROT_READ | PROT_WRITE,
(Continue reading)
RSS Feed