emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7d84056 1/3: Fix dump_map_file on unusual platforms


From: Paul Eggert
Subject: [Emacs-diffs] master 7d84056 1/3: Fix dump_map_file on unusual platforms
Date: Fri, 19 Apr 2019 15:57:36 -0400 (EDT)

branch: master
commit 7d84056df4b228509b723b11d69bf39e3d1e548a
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix dump_map_file on unusual platforms
    
    * src/pdumper.c (dump_map_file): Fix recently-introduced typo
    on platforms that support neither POSIX nor MS-Windows VM.
---
 src/pdumper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pdumper.c b/src/pdumper.c
index 2cc9af7..1bd94cb 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -4550,7 +4550,7 @@ dump_map_file (void *base, int fd, off_t offset, size_t 
size,
   return dump_map_file_w32 (base, fd, offset, size, protection);
 #else
   errno = ENOSYS;
-  return ret;
+  return NULL;
 #endif
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]