This diff fixes the overflow handling in dd(1).
Before, if provided an argument of SIZE_T_MAX, dd(1) would exit with
dd: count: Undefined error: 0
since strtoul(3) doesn't set errno when its argument is equal to ULONG_MAX.
Now, dd(1) handles SIZE_T_MAX gracefully.
Index: args.c
On Thu, Jun 12, 2014 at 06:32:00PM +0200, Alexander Hall wrote:
> On June 11, 2014 6:18:19 AM CEST, Lawrence Teo wrote:
> >This diff allows ftp(1) to change the User-Agent for HTTP(S) URL
> >requests via the FTPUSERAGENT environment variable (personally I prefer
> >HTTPUSERAGENT but FTPUSERAGENT i
On Fri, Jun 13, 2014 at 7:50 AM, sven falempin
wrote:
>
>
>
> On Tue, Jun 10, 2014 at 12:45 PM, Ted Unangst wrote:
>
>> On Mon, Jun 09, 2014 at 21:54, Theo de Raadt wrote:
>> >> > A better patch is probably the following which also increases the
>> size
>> >> > of the buffer to at least 64k:
>>
On Tue, Jun 10, 2014 at 12:45 PM, Ted Unangst wrote:
> On Mon, Jun 09, 2014 at 21:54, Theo de Raadt wrote:
> >> > A better patch is probably the following which also increases the size
> >> > of the buffer to at least 64k:
> >>
> >> Agreed.
> >
> > One thing to be aware of. That function is sync
Hello,
it seems that setlogin and name weren't replaced everywhere.
I also replaced ".Nm" with ".Fn getentropy" to get the ().
Best regards,
Piotr Sikora
--- lib/libc/sys/getentropy.2-orig Fri Jun 13 10:13:05 2014
+++ lib/libc/sys/getentropy.2 Fri Jun 13 10:20:25 2014
@@ -25,20 +25,19 @@
.