From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Tue, 30 Oct 2012 11:25:47 -0600 Subject: [PATCH 2/2] bugfix: make ss-diff correctly handle tab expansion In-Reply-To: <20121030171257.GC378591@plenz.com> References: <1351601762-953642-1-git-send-email-plenz@cis.fu-berlin.de> <1351601762-953642-3-git-send-email-plenz@cis.fu-berlin.de> <20121030145653.GB378591@plenz.com> <20121030171257.GC378591@plenz.com> Message-ID: > len % 8 == 0 ? 8 : (8 - len % 8) if len % 8 == 0, 8 8 = 8 - 0 len % 8 := 0 8 = 8 - (len % 8) so the original formula holds