Re: [dev] [sbase] [PATCH] Use size_t for number of lines in linebuf

2015-01-31 Thread Dimitris Papastamos
On Sat, Jan 31, 2015 at 09:15:19PM +0100, Jakob Kramer wrote: > .nlines and .capacity are used as array indices and > should therefore be of type size_t. Applied, thanks :)

Re: [dev] [sbase] [PATCH] Use size_t for number of lines in linebuf

2015-01-31 Thread FRIGN
On Sat, 31 Jan 2015 21:15:19 +0100 Jakob Kramer wrote: Hey Jakob, > .nlines and .capacity are used as array indices and > should therefore be of type size_t. I made sure your attached patch did not contain any NSA-backdoors and I was delighted that my findings actually prevent the evil use of 0

[dev] [sbase] [PATCH] Use size_t for number of lines in linebuf

2015-01-31 Thread Jakob Kramer
.nlines and .capacity are used as array indices and should therefore be of type size_t. >From 29c93cf7ac5530f7144f869c6e7a964a971db062 Mon Sep 17 00:00:00 2001 From: Jakob Kramer Date: Sat, 31 Jan 2015 20:57:29 +0100 Subject: [PATCH] Use size_t for number of lines in linebuf .nlines and .capacit

Re: [dev] [sbase] [PATCH] sort: support sorting decimal numbers correctly

2015-01-31 Thread Dimitris Papastamos
> >From ffc6ad35ebb3bcfe598e89d86ae64170699d63a8 Mon Sep 17 00:00:00 2001 > From: Jakob Kramer > Date: Sat, 31 Jan 2015 19:12:18 +0100 > Subject: [PATCH] sort: support sorting decimal numbers correctly > > sorry not to have used strtold from the beginning Applied, thanks! :)

[dev] [sbase] [PATCH] sort: support sorting decimal numbers correctly

2015-01-31 Thread Jakob Kramer
>From ffc6ad35ebb3bcfe598e89d86ae64170699d63a8 Mon Sep 17 00:00:00 2001 From: Jakob Kramer Date: Sat, 31 Jan 2015 19:12:18 +0100 Subject: [PATCH] sort: support sorting decimal numbers correctly sorry not to have used strtold from the beginning --- sort.c | 12 1 file changed, 8 ins