diff for duplicates of <20100403204717.GS24846@8bytes.org> diff --git a/a/1.txt b/N1/1.txt index 1e00c7f..062f3f6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,5 +20,5 @@ the function. > - for (i = 0; i < NAME_MAX_LEN; ++i) { > + for (i = 0; i < NAME_MAX_LEN - 1; ++i) { > current_driver_name[i] = buf[i]; -> if (isspace(buf[i]) || buf[i] = ' ' || buf[i] = 0) +> if (isspace(buf[i]) || buf[i] == ' ' || buf[i] == 0) > break; diff --git a/a/content_digest b/N1/content_digest index 6ea49e8..708d844 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020100402112843.GI5265@bicker\0" "From\0Joerg Roedel <joro@8bytes.org>\0" "Subject\0Re: [patch] dma-debug: off by one issue\0" - "Date\0Sat, 03 Apr 2010 20:47:17 +0000\0" + "Date\0Sat, 3 Apr 2010 22:47:17 +0200\0" "To\0Dan Carpenter <error27@gmail.com>" Joerg Roedel <joerg.roedel@amd.com> Ingo Molnar <mingo@elte.hu> @@ -33,7 +33,7 @@ "> -\tfor (i = 0; i < NAME_MAX_LEN; ++i) {\n" "> +\tfor (i = 0; i < NAME_MAX_LEN - 1; ++i) {\n" "> \t\tcurrent_driver_name[i] = buf[i];\n" - "> \t\tif (isspace(buf[i]) || buf[i] = ' ' || buf[i] = 0)\n" + "> \t\tif (isspace(buf[i]) || buf[i] == ' ' || buf[i] == 0)\n" "> \t\t\tbreak;" -e7c2a491ce783567aa2bb15884601e1b39c728fa87ed530cd03e3b2393179153 +a7e91a038c16e013b01d25a907ad08c94f9af32f2252f37c4d46c0db71351f28
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.