diff for duplicates of <20040608092154.GA28969@linux-ari.internal> diff --git a/a/1.txt b/N1/1.txt index 75b614c..2908229 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,19 +13,8 @@ checked. } *buf = mmap(NULL, stats.st_size, PROT_READ, MAP_SHARED, fd, 0); - if (*buf = MAP_FAILED) { + if (*buf == MAP_FAILED) { + close(fd); return -1; } *bufsize = stats.st_size; - - -------------------------------------------------------- -This SF.Net email is sponsored by: GNOME Foundation -Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. -GNOME Users and Developers European Conference, 28-30th June in Norway -http://2004/guadec.org -_______________________________________________ -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 diff --git a/a/content_digest b/N1/content_digest index 196fdbe..d1b321c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020040607231440.GB11257@kroah.com\0" - "From\0Alex Riesen <fork0@users.sourceforge.net>\0" + "From\0Alex Riesen <fork0@users.sf.net>\0" "Subject\0Re: [ANNOUNCE] udev 026 release\0" - "Date\0Tue, 08 Jun 2004 09:21:54 +0000\0" + "Date\0Tue, 8 Jun 2004 11:21:54 +0200\0" "To\0Greg KH <greg@kroah.com>\0" "Cc\0linux-kernel@vger.kernel.org" " linux-hotplug-devel@lists.sourceforge.net\0" @@ -22,21 +22,10 @@ " \t}\n" " \n" " \t*buf = mmap(NULL, stats.st_size, PROT_READ, MAP_SHARED, fd, 0);\n" - " \tif (*buf = MAP_FAILED) {\n" + " \tif (*buf == MAP_FAILED) {\n" "+\t\tclose(fd);\n" " \t\treturn -1;\n" " \t}\n" - " \t*bufsize = stats.st_size;\n" - "\n" - "\n" - "-------------------------------------------------------\n" - "This SF.Net email is sponsored by: GNOME Foundation\n" - "Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.\n" - "GNOME Users and Developers European Conference, 28-30th June in Norway\n" - "http://2004/guadec.org\n" - "_______________________________________________\n" - "Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net\n" - "Linux-hotplug-devel@lists.sourceforge.net\n" - https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel + " \t*bufsize = stats.st_size;" -382f948e3b705c7dd0216a67b5fe69447a36f7a3bbc1edf30d7d3ee073930ff2 +bb3004a88f175f36e52ec1a8dd54a9b98ca9fd98ccf6a1aee5c443089cab8386
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.