{"thread":{"id":"16552","subject":"[PATCH] t4030-diff-textconv: Make octal escape sequence more portable","startedAt":"2008-12-02T08:31:01Z","lastAt":"2008-12-03T02:18:37Z","messageCount":3,"participants":["Johannes Sixt","Jeff King","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"96933","messageId":"4934F245.9020908@viscovery.net","threadId":"16552","inReplyTo":null,"subject":"[PATCH] t4030-diff-textconv: Make octal escape sequence more portable","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2008-12-02T08:31:01Z","receivedAt":"2008-12-02T08:31:01Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"From: Johannes Sixt <j6t@kdbg.org>\n\nThere are printfs around that do not grok '\\1', but need '\\01'.\nDiscovered on AIX 4.3.x.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\n---\n\n\tI found no other instance of printf backslash-nonzero.\n\n t/t4030-diff-textconv.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t4030-diff-textconv.sh b/t/t4030-diff-textconv.sh\nindex 03ba26a..4e961df 100755\n--- a/t/t4030-diff-textconv.sh\n+++ b/t/t4030-diff-textconv.sh\n@@ -29,7 +29,7 @@ test_expect_success 'setup binary file with history' '\n \tprintf \"\\\\0\\\\n\" >file &&\n \tgit add file &&\n \tgit commit -m one &&\n-\tprintf \"\\\\1\\\\n\" >>file &&\n+\tprintf \"\\\\01\\\\n\" >>file &&\n \tgit add file &&\n \tgit commit -m two\n '\n-- \n1.6.1.rc1.5.gf691f\n"},{"id":"96938","messageId":"20081202125413.GA12913@coredump.intra.peff.net","threadId":"16552","inReplyTo":"4934F245.9020908@viscovery.net","subject":"Re: [PATCH] t4030-diff-textconv: Make octal escape sequence more portable","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-12-02T12:54:14Z","receivedAt":"2008-12-02T12:54:14Z","isPatch":true,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Dec 02, 2008 at 09:31:01AM +0100, Johannes Sixt wrote:\n\n> There are printfs around that do not grok '\\1', but need '\\01'.\n> Discovered on AIX 4.3.x.\n\nWhee. Your fix works fine on my platforms (Solaris + FreeBSD).\n\n> \tI found no other instance of printf backslash-nonzero.\n\nMe either.\n\n-Peff\n"},{"id":"97012","messageId":"7vhc5mhugy.fsf@gitster.siamese.dyndns.org","threadId":"16552","inReplyTo":"4934F245.9020908@viscovery.net","subject":"Re: [PATCH] t4030-diff-textconv: Make octal escape sequence more portable","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-12-03T02:18:37Z","receivedAt":"2008-12-03T02:18:37Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}