* [PATCH] udevstart does not close dirs
@ 2004-04-23 18:12 Olaf Hering
2004-04-23 20:55 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2004-04-23 18:12 UTC (permalink / raw)
To: linux-hotplug
will only be noticed on the big boxes.
patch agains udev-021.
diff -purN udev-klibc/udevstart.c udev-klibc-debug/udevstart.c
--- udev-klibc/udevstart.c 2004-04-23 13:26:42.000000000 +0000
+++ udev-klibc-debug/udevstart.c 2004-04-23 17:18:19.000000000 +0000
@@ -127,10 +127,13 @@ static void udev_scan(void)
udev_exec(filename, "block");
}
}
+ closedir(dir3);
}
}
+ closedir(dir2);
}
}
+ closedir(dir);
}
if (getenv("UDEVSTART_ON_BOOT"))
@@ -176,10 +179,13 @@ static void udev_scan(void)
udev_exec(filename, dent->d_name);
}
}
+ closedir(dir3);
}
}
+ closedir(dir2);
}
}
+ closedir(dir);
}
}
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg\x12297
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] udevstart does not close dirs 2004-04-23 18:12 [PATCH] udevstart does not close dirs Olaf Hering @ 2004-04-23 20:55 ` Greg KH 0 siblings, 0 replies; 2+ messages in thread From: Greg KH @ 2004-04-23 20:55 UTC (permalink / raw) To: linux-hotplug On Fri, Apr 23, 2004 at 08:12:24PM +0200, Olaf Hering wrote: > > will only be noticed on the big boxes. > patch agains udev-021. It doesn't apply against any version as you munged the tabs to spaces :) I've applied it by hand to the most recent version, thanks. greg k-h ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg\x12297 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-23 20:55 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-04-23 18:12 [PATCH] udevstart does not close dirs Olaf Hering 2004-04-23 20:55 ` Greg KH
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).