SHA256
1
0
forked from pool/mtools
mtools/mtools-4.0.10-file-close.diff
OBS User autobuild 363b4be56c Accepting request 20445 from Base:System
Copy from Base:System/mtools based on submit request 20445 from user pgajdos

OBS-URL: https://build.opensuse.org/request/show/20445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mtools?expand=0&rev=11
2009-09-16 22:32:00 +00:00

11 lines
227 B
Diff

--- mformat.c
+++ mformat.c
@@ -1160,6 +1160,7 @@
}
read(fd, buf, blocksize);
keepBoot = 1;
+ close(fd);
}
if(!keepBoot && !(used_dev.use_2m & 0x7f)) {
memset((char *)boot, '\0', Fs.sector_size);