blob: 7d271f8d5640e1d0c71cef8084ee5eb60e82193a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Index: paxelf.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -B -w -p -r1.39 -r1.40
--- paxelf.c 24 Jan 2006 00:29:37 -0000 1.39
+++ paxelf.c 29 Jan 2006 14:36:41 -0000 1.40
@@ -443,8 +443,10 @@ elfobj *_readelf_fd(const char *filename
ret = readelf_buffer(filename, buffer, len);
if (ret == NULL)
munmap(buffer, len);
- else
+ else {
+ ret->fd = fd;
ret->is_mmap = 1;
+ }
return ret;
}
|