Re: [patch] rtl8188eu support for urtwn(4)

2015-04-29 Thread Mikhail
On 23:25 26-Apr 2015 patrick keshishian wrote: > On 4/26/15, Mikhail wrote: > > > > urtwn_write_1(sc, R92C_USB_SPECIAL_OPTION, > > urtwn_read_1(sc, R92C_USB_SPECIAL_OPTION) | > > - R92C_USB_SPECIAL_OPTION_AGG_EN); > > + (sc->chip & URTWN_CHIP_88E ? > > +

small ed diff

2015-04-29 Thread David CARLIER
Hello everybody. There it is a tiny diff about ed ... 1/ using a long long (for 32 bits case) for strtol. 2/ realloc => reallocarray Hope it has any use Kind regards. Index: ed.h === RCS file: /cvs/src/bin/ed/ed.h,v retrieving

file(9) fix

2015-04-29 Thread Kanonenvogel
The FRELE() macro described in file(9) as void FRELE(), but actually it has "return value" and it's "return value" is used by closef(). Index: share/man/man9/file.9 === RCS file: /home/cvsync/openbsd-cvs/src/share/man/man9/file.9,v re

replace f_count modifications by FREF() and FRELE()

2015-04-29 Thread Kanonenvogel
FREF() and FRELE() should be used for modify file reference count, so direct f_count modification replaced by their calls. Only one direct f_count decrement was kept in closef() since FRELE() call looks inapplicable here. Index: kern/kern_descrip.c =

grep -R without directory argument

2015-04-29 Thread Martin Natano
grep reads from standard input when no files are specified. It also does so when -R is used, which doesn't really make sense. I think using the current working directory as a fallback when no directories are specified would make sense. POSIX says "If no file operands are specified, the standard inp