CVS: cvs.openbsd.org: src

2015-04-01 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2015/04/01 23:54:22 Modified files: lib/libtls : tls_init.3 Log message: Correct man page title. Diff from Tim van der Molen. ok jmc@

CVS: cvs.openbsd.org: src

2015-04-01 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2015/04/01 23:53:08 Modified files: lib/libtls : tls_init.3 Log message: Document the fact that the tls_accept_*() functions can return TLS_READ_AGAIN and TLS_WRITE_AGAIN. Based on a diff from Tim van d

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 16:49:47 Modified files: usr.bin/sort : sort.c Log message: Check for overflow when handling buffer size suffixes.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/04/01 16:43:16 Modified files: usr.bin/sort : file.c Log message: Block signals during tmp_files insertion, so that the signal handler cannot encounter an incoherent list. It was an absolutely tiny s

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 16:38:08 Modified files: usr.bin/sort : bwstring.c Log message: Use reallocarray instead of malloc.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 16:24:02 Modified files: usr.bin/sort : sort.c mem.c mem.h file.c Log message: Just use sort_reallocarray() everywhere.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:47:19 Modified files: usr.bin/sort : coll.c Log message: Revert unintentional commit. This will be revisited shortly.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:46:38 Modified files: usr.bin/sort : coll.c vsort.c Log message: Style nits, remove whitespace at the start of a function.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:45:50 Modified files: usr.bin/sort : sort.c Log message: Remove some unneeded NULL checks that don't really help anything. It is better to crash when given bad input rather than producing a w

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:41:59 Modified files: usr.bin/sort : sort.c Log message: Use exit value 2 for mutually exclusive option errors.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:37:47 Modified files: usr.bin/sort : sort.c Log message: Fix typo in revision 1.55

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:33:01 Modified files: usr.bin/sort : file.c Log message: Remove some unneeded NULL checks that don't really help anything. It is better to crash when given bad input rather than producing a w

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:27:18 Modified files: usr.bin/sort : file.c Log message: Let reallocarray do the multiplication for us.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:22:41 Modified files: usr.bin/sort : file.c Log message: Use reallocarray.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:21:38 Modified files: usr.bin/sort : sort.c Log message: Fix last instance of malloc(n * sizeof(char)) idiom.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:18:43 Modified files: usr.bin/sort : sort.c Log message: The argument to --sort is not optional so no need to check for NULL optarg.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:16:17 Modified files: usr.bin/sort : file.c sort.c Log message: No need for if (x) free(x) style checks, this is not K&R.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 15:13:07 Modified files: usr.bin/sort : sort.c Log message: No need for an else clause after a continue, it just makes the code harder to read.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 14:58:13 Modified files: usr.bin/sort : bwstring.c coll.c file.c mem.c radixsort.c sort.c Log message: Style nits, remove whitespace at the start of a function.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 14:28:04 Modified files: usr.bin/sort : sort.c Log message: If strtoul() fails to parse the argument to -k, just pass the error back to the caller instead of calling err() directly. The user get

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 14:24:12 Modified files: usr.bin/sort : sort.c Log message: Use memcpy() not strncpy() when dynamically allocating and copying a substring.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 14:20:22 Modified files: usr.bin/sort : sort.c Log message: Pass size of sopts buffer in to parse_pos_obs() for a length check and use size_t not int for column and field vars.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/01 14:17:56 Modified files: usr.bin/sort : file.c Log message: Use mkstemp to generate a new temporary file name. ok millert

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 14:10:19 Modified files: usr.bin/sort : sort.c Log message: Better range checking for "sort -S" memory size.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 13:56:01 Modified files: usr.bin/sort : sort.1 sort.c Log message: Use strtonum() to parse argument to --batch-size and document the minimum value in the manual.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Mike Larkin
CVSROOT:/cvs Module name:src Changes by: mlar...@cvs.openbsd.org 2015/04/01 13:45:21 Modified files: sys/arch/i386/i386: locore.s Log message: Add cpu_pae variable (which will be later used to determine if PAE mode is in use) now so that libkvm can be fixed before the res

CVS: cvs.openbsd.org: src

2015-04-01 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/04/01 13:06:18 Modified files: usr.bin/sort : file.c Log message: Remove unused len variable.

CVS: cvs.openbsd.org: src

2015-04-01 Thread Gleydson Soares
CVSROOT:/cvs Module name:src Changes by: gsoa...@cvs.openbsd.org 2015/04/01 12:49:32 Modified files: sys/dev/pci: if_em_hw.h Log message: fix typo in comment; OK mpi@

Re: CVS: cvs.openbsd.org: www

2015-04-01 Thread Brian Callahan
On 04/01/15 13:16, Brian Callahan wrote: > CVSROOT: /cvs > Module name: www > Changes by: bcal...@cvs.openbsd.org 2015/04/01 11:16:31 > > Modified files: > faq/ports : testing.html > > Log message: > Change lib-depends-check to port-lib-depends-check. Noted by Joss Grosse in > a

CVS: cvs.openbsd.org: www

2015-04-01 Thread Brian Callahan
CVSROOT:/cvs Module name:www Changes by: bcal...@cvs.openbsd.org 2015/04/01 11:16:31 Modified files: faq/ports : testing.html Log message: Change lib-depends-check to port-lib-depends-check. Noted by Joss Grosse in a private conversation. ok naddy@

Re: CVS: cvs.openbsd.org: src

2015-04-01 Thread Miod Vallat
> > Sorry, but use of reallocarray now requires you to link -lX11. > > I didn't try building the new kernel yet, but i don't doubt you > carefully considered the implications of linking the kernel against > X11, in particular with respect to the floppies. You are probably > planning to finally gi

CVS: cvs.openbsd.org: src

2015-04-01 Thread Masao Uebayashi
CVSROOT:/cvs Module name:src Changes by: uebay...@cvs.openbsd.org2015/04/01 10:09:21 Modified files: sys/dev/pci: if_vic.c Log message: Correct comments.

Re: CVS: cvs.openbsd.org: src

2015-04-01 Thread Ingo Schwarze
Hi Theo, Theo de Raadt wrote on Wed, Apr 01, 2015 at 09:02:12AM -0600: >> Bryan Steele wrote on Wed, Apr 01, 2015 at 12:00:35AM -0600: [...] >>> Modified files: >>> sys/kern : kern_malloc.c >>> sys/sys: malloc.h [...] >>> ok deraadt@ [...] > Sorry, but use of reallocarray

CVS: cvs.openbsd.org: src

2015-04-01 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2015/04/01 09:23:32 Modified files: sys/arch/sparc64/dev: vnet.c Log message: Run most of the interrupt handler without holding the kernel lock.

Re: CVS: cvs.openbsd.org: src

2015-04-01 Thread Theo de Raadt
>Hi Bryan, > >Bryan Steele wrote on Wed, Apr 01, 2015 at 12:00:35AM -0600: > >> CVSROOT: /cvs >> Module name: src >> Changes by: bry...@cvs.openbsd.org 2015/04/01 00:20:38 >> >> Modified files: >> include: stdlib.h >> sys/kern : kern_malloc.c >> sys/sys

CVS: cvs.openbsd.org: src

2015-04-01 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/04/01 08:29:54 Modified files: sys/net: if_tun.c sys/dev/pci: if_tl.c sys/dev/ic : dp8390.c Log message: Kill useless comments talking about ether_input().

Re: CVS: cvs.openbsd.org: src

2015-04-01 Thread Ingo Schwarze
Hi Bryan, Bryan Steele wrote on Wed, Apr 01, 2015 at 12:00:35AM -0600: > CVSROOT: /cvs > Module name: src > Changes by: bry...@cvs.openbsd.org 2015/04/01 00:20:38 > > Modified files: > include: stdlib.h > sys/kern : kern_malloc.c > sys/sys: mall

CVS: cvs.openbsd.org: src

2015-04-01 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/04/01 07:35:32 Modified files: sys/dev/pci: if_de.c Log message: Remove annoying comment mentionning ether_output().

CVS: cvs.openbsd.org: src

2015-04-01 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2015/04/01 06:48:00 Modified files: usr.bin/mandoc : mansearch.c Log message: Let man(1) and apropos(1) work even when the current directory is unusable: Only change back to the current directory whe

CVS: cvs.openbsd.org: www

2015-04-01 Thread Nick Holland
CVSROOT:/cvs Module name:www Changes by: n...@cvs.openbsd.org2015/04/01 06:06:58 Modified files: faq: faq5.html Log message: CVS command -> cvs. CVS concept -> CVS. From Elias Diem (lists at webconect dot ch), thanks!

CVS: cvs.openbsd.org: src

2015-04-01 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/04/01 05:44:44 Modified files: sys/dev/usb: upd.c Log message: Small cleanups when attaching sensors, from David Higgs.