The following patch is for src/dumper.c.
It seems that pdump_fd isn't used when pdump_file_get() is called, so
read() fails and fd isn't closed.
diff -ur
xemacs-21.2.37.org/src/dumper.c xemacs-21.2.37/src/dumper.c
---
xemacs-21.2.37.org/src/dumper.c Tue Oct 3 08:27:01 2000
+++ xemacs-21.2.37/src/dumper.c Sun Dec 3 16:52:56 2000
@@ -1238,9 +1238,9 @@
pdump_mallocadr = xmalloc(pdump_length+255);
pdump_free = pdump_file_free;
pdump_start = (char *)((255 + (unsigned long)pdump_mallocadr) & ~255);
- read (pdump_fd, pdump_start, pdump_length);
+ read (fd, pdump_start, pdump_length);
- close (pdump_fd);
+ close (fd);
return 1;
}
#endif /* !WIN32_NATIVE */
--
Hiroaki Abe