[BusyBox-cvs] busybox.stable/libbb loop.c,1.3,1.4
Erik Andersen
andersen at busybox.net
Fri May 2 16:21:44 UTC 2003
Update of /var/cvs/busybox.stable/libbb
In directory winder:/tmp/cvs-serv5710/libbb
Modified Files:
loop.c
Log Message:
Patch from Dmitry V. Levin to close a fd leak
Index: loop.c
===================================================================
RCS file: /var/cvs/busybox.stable/libbb/loop.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- loop.c 28 Feb 2002 03:57:24 -0000 1.3
+++ loop.c 2 May 2003 16:21:40 -0000 1.4
@@ -37,6 +37,7 @@
return (FALSE);
}
if (ioctl(fd, LOOP_CLR_FD, 0) < 0) {
+ close(fd);
perror_msg("ioctl: LOOP_CLR_FD");
return (FALSE);
}
More information about the busybox-cvs
mailing list