CVS: cvs.openbsd.org: src

2013-04-19 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/04/19 02:54:50

Modified files:
sys/dev/usb: usbdi.c usbdi.h 

Log message:
Remove unused usbd_get_buffer() function.



CVS: cvs.openbsd.org: src

2013-04-19 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/04/19 02:58:53

Modified files:
sys/dev/usb: ehci.c ohci.c uhci.c usbdi.c usbdivar.h 

Log message:
Remove allocm() and freem() from the USB bus interface now that they
are only used as wrappers around usb_{alloc,free}mem().

ok deraadt@, mglocker@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2013/04/19 05:10:18

Modified files:
usr.bin/ssh: ssh.c 

Log message:
add -Q to usage; reminded by jmc@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2013/04/19 06:07:08

Modified files:
usr.bin/ssh: kex.c 

Log message:
remove duplicated list entry pointed out by naddy@



CVS: cvs.openbsd.org: www

2013-04-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2013/04/19 06:47:13

Modified files:
de : 53.html anoncvs.html 
faq/pf/pt  : index.html 
fr : ftp.html loongson.html 
nl : anoncvs.html 
openbgpd/fr: ftp.html 
openntpd/fr: ftp.html 
opensmtpd/de   : portable.html 
opensmtpd/fr   : index.html 
opensmtpd/nl   : portable.html 
openssh/ru : index.html 
papers/pt  : index.html 
pt : index.html plat.html plus.html query-pr.html 

Log message:
Sync with Steelix CVS



CVS: cvs.openbsd.org: src

2013-04-19 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2013/04/19 08:10:20

Modified files:
sbin/disklabel : editor.c 

Log message:
make sure the fs blocksize doesn't get too big; ok krw@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Okan Demirmen
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2013/04/19 08:35:40

Modified files:
usr.bin/vacation: vacation.1 vacation.c 

Log message:
match behavior of current sendmail-based vacation: eliminate the concept that
an interval (-r) of 0 indicates sending a reply to every message (per sender),
but rather match the 'non-numeric' case where only one reply will be sent (per
sender).  default remains unchanged.  vacation database should be reinitalized
sometime before 2038.

removes the need for time_t casts.

discussed with deraadt; ok millert



CVS: cvs.openbsd.org: src

2013-04-19 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2013/04/19 09:02:41

Modified files:
sys/conf   : swapgeneric.c 
sys/sys: conf.h 

Log message:
sw_vp is now in struct nfs_diskless, remove it from struct swdevt.
This needs a change in config(8) to be commited shortly.
input/ok deraadt@, ok miod@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2013/04/19 09:03:02

Modified files:
usr.sbin/config: mkswap.c 

Log message:
sw_vp is now in struct nfs_diskless.
input/ok deraadt@, ok miod@



CVS: cvs.openbsd.org: www

2013-04-19 Thread Florian Obser
CVSROOT:/cvs
Module name:www
Changes by: flor...@cvs.openbsd.org 2013/04/19 09:05:59

Modified files:
faq: current.html 

Log message:
struct swdevt requires up to date config(8).



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 09:51:27

Modified files:
usr.bin/find   : function.c 

Log message:
handle large numbers.  this fixes time_t beyond 2038, constrains the
range of i_num correctly, and now handles files  4GB in size on 32-bit
machines.
ok otto millert



CVS: cvs.openbsd.org: src

2013-04-19 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2013/04/19 10:12:05

Modified files:
lib/libc/gen   : time.3 
lib/libc/sys   : gettimeofday.2 

Log message:
add clock_gettime to see also. i think guenther was ok with this.



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 10:38:47

Modified files:
usr.sbin/rdate : rdate.c 

Log message:
comment incorrect; rdate has -n support now too



Re: CVS: cvs.openbsd.org: src

2013-04-19 Thread Philip Guenther
On Fri, Apr 19, 2013 at 9:12 AM, Ted Unangst t...@cvs.openbsd.org wrote:
 Modified files:
 lib/libc/gen   : time.3
 lib/libc/sys   : gettimeofday.2

 Log message:
 add clock_gettime to see also. i think guenther was ok with this.

No oooh, wait.  Yes.



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 11:28:07

Modified files:
usr.bin/cvs: date.y 
usr.bin/rcs: date.y 
usr.sbin/eeprom: getdate.y 
gnu/usr.bin/cvs/lib: getdate.y 

Log message:
Constrain the 2038 check to only when sizeof(time_t) == sizeof(int).
Adding more powerful checking is too difficult.  We'll fix this problem
by moving to 64-bit time_t.. and once we do, we don't want this code to
falsely trigger.
ok millert



CVS: cvs.openbsd.org: src

2013-04-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2013/04/19 11:36:09

Modified files:
bin/ksh: shf.c 

Log message:
Add support for printing long long (%lld).  OK deraadt@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 11:39:45

Modified files:
bin/ksh: c_sh.c 

Log message:
handle long long time_t
ok millert tedu



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 12:03:17

Modified files:
usr.sbin/inetd : inetd.c 

Log message:
for datagrams, assume other protocols should fail
ok millert



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 12:11:13

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
remove comment about make gcc happy for variables which WERE being
used uninitialized... clean up time related variables too for 2038++
ok millert



CVS: cvs.openbsd.org: src

2013-04-19 Thread Marcus Glocker
CVSROOT:/cvs
Module name:src
Changes by: mgloc...@cvs.openbsd.org2013/04/19 13:07:45

Modified files:
sys/dev/usb: usb.c 

Log message:
Rename usbd_fill_*_task() to usb_fill_*_task().



CVS: cvs.openbsd.org: src

2013-04-19 Thread Todd C. Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2013/04/19 13:14:46

Modified files:
usr.sbin/rdate : rdate.8 rdate.c 

Log message:
Make -n the default and add -o flag for the old RFC 868 time protocol
(which uses a 32-bit value for its wire protocol).  OK deraadt@ ian@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2013/04/19 15:25:39

Modified files:
usr.sbin/dhcpd : dispatch.c 

Log message:
Log (at LOG_INFO) which interfaces dhcpd listens to and (as suggested by
krw) their address. As dhcpd uses BPF, it's not possible to find this
information out from fstat/netstat.  ok krw@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2013/04/19 15:44:08

Modified files:
sys/kern   : kern_sched.c 

Log message:
sprinkle ifdef MP to disable cpu migration code when not needed.
ok deraadt



CVS: cvs.openbsd.org: src

2013-04-19 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/04/19 17:20:53

Modified files:
gnu/usr.bin/binutils/bfd: archive.c bfd-in2.h bfdio.c 
  coff-rs6000.c ecoff.c libbfd-in.h 
gnu/usr.bin/binutils/gdb: corefile.c source.c symfile.c 
gnu/usr.bin/binutils-2.17/bfd: archive.c bfd-in2.h bfdio.c 
   coff-rs6000.c ecoff.c libbfd-in.h 

Log message:
Use time_t instead of long for archive timestamps, and print them as long long;
prodding deraadt@



CVS: cvs.openbsd.org: src

2013-04-19 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/04/19 17:44:34

Modified files:
sys/arch/loongson/dev: gdiumiic.c 
sys/dev/gpio   : gpioiic.c 

Log message:
In {gpio,gdium}iic_bb_read_bits(), report the state of the SCL bit in addition
to the state of the SDA bit; the MI i2c code is about to depend upon this.



CVS: cvs.openbsd.org: src

2013-04-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2013/04/19 19:18:55

Modified files:
usr.sbin/dhcpd : db.c 

Log message:
Remove extraneous \n erroneously introduced by move to strftime().

Spotted by sthen@.



CVS: cvs.openbsd.org: src

2013-04-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/04/19 22:52:24

Modified files:
usr.bin/find   : function.c 

Log message:
adjust comment