From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Sat, 13 Mar 2004 19:53:41 +0000 Subject: [PATCH] udev-021: fix configuration directory parsing Message-Id: <200403132253.41698.arvidjaar@mail.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-00=_Fb2UA8rs4zqIoVZ" List-Id: To: linux-hotplug@vger.kernel.org --Boundary-00=_Fb2UA8rs4zqIoVZ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline We do not want to force trailing slash on directory name? -andrey --Boundary-00=_Fb2UA8rs4zqIoVZ Content-Type: text/x-diff; charset="us-ascii"; name="udev021_namedev_parse-slash.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="udev021_namedev_parse-slash.patch" --- 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); --Boundary-00=_Fb2UA8rs4zqIoVZ-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ 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