From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] udevstart does not close dirs
Date: Fri, 23 Apr 2004 18:12:24 +0000 [thread overview]
Message-ID: <20040423181224.GA3012@suse.de> (raw)
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
next reply other threads:[~2004-04-23 18:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-23 18:12 Olaf Hering [this message]
2004-04-23 20:55 ` [PATCH] udevstart does not close dirs Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040423181224.GA3012@suse.de \
--to=olh@suse.de \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).