diff for duplicates of <4EDD8EC7.5010603@ozlabs.org> diff --git a/a/1.txt b/N1/1.txt index 3e6783d..addfe1e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,8 +27,8 @@ index 33243f1..457de1a 100644 if (lseek(fd, 0, SEEK_SET) < 0) die_perror("lseek"); -- return id[0] = GZIP_ID1 && id[1] = GZIP_ID2; -+ return (id[0] = GZIP_ID1 && id[1] = GZIP_ID2) || +- return id[0] == GZIP_ID1 && id[1] == GZIP_ID2; ++ return (id[0] == GZIP_ID1 && id[1] == GZIP_ID2) || + !memcmp(id, CPIO_MAGIC, 4); } diff --git a/a/content_digest b/N1/content_digest index 1a6cc67..e878506 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0cover.1323141075.git.matt@ozlabs.org\0" "From\0Matt Evans <matt@ozlabs.org>\0" "Subject\0[PATCH 15/28] kvm tools: Allow initrd_check() to match a cpio\0" - "Date\0Tue, 06 Dec 2011 03:40:55 +0000\0" + "Date\0Tue, 06 Dec 2011 14:40:55 +1100\0" "To\0kvm@vger.kernel.org" " kvm-ppc@vger.kernel.org\0" "\00:1\0" @@ -35,11 +35,11 @@ " \tif (lseek(fd, 0, SEEK_SET) < 0)\n" " \t\tdie_perror(\"lseek\");\n" " \n" - "-\treturn id[0] = GZIP_ID1 && id[1] = GZIP_ID2;\n" - "+\treturn (id[0] = GZIP_ID1 && id[1] = GZIP_ID2) ||\n" + "-\treturn id[0] == GZIP_ID1 && id[1] == GZIP_ID2;\n" + "+\treturn (id[0] == GZIP_ID1 && id[1] == GZIP_ID2) ||\n" "+\t\t!memcmp(id, CPIO_MAGIC, 4);\n" " }\n" " \n" bool kvm__load_kernel(struct kvm *kvm, const char *kernel_filename, -abc0868bea42e71b281e817e9826b12d7202ab3eacbffd90c50bf141f8264fe9 +9d066794e925f0aa759cd12a5212b89cb414ef85d26caca7241ae16057d53482
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.