linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] udev-021: fix configuration directory parsing
@ 2004-03-13 19:53 Andrey Borzenkov
  0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2004-03-13 19:53 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]


We do not want to force trailing slash on directory name?

-andrey





[-- Attachment #2: udev021_namedev_parse-slash.patch --]
[-- Type: text/x-diff, Size: 448 bytes --]

--- udev-021/namedev_parse.c.slash	2004-03-03 03:01:31.000000000 +0300
+++ udev-021/namedev_parse.c	2004-03-13 22:00:52.491720344 +0300
@@ -423,6 +423,7 @@ static int call_foreach_file(int parser 
 	/* parse every file in the list */
 	list_for_each_entry_safe(loop_file, tmp_file, &file_list, list) {
 		strfieldcpy(file, filename);
+		strfieldcat(file, "/");
 		strfieldcat(file, loop_file->name);
 		parser(file);
 		list_del(&loop_file->list);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-13 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-13 19:53 [PATCH] udev-021: fix configuration directory parsing Andrey Borzenkov

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).