CVS: cvs.openbsd.org: src

2019-06-30 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/06/30 23:18:53

Modified files:
usr.bin/units  : units.lib 

Log message:
update currency exchange rates;

i've added a comment to note that i've been unable to update currencies
for hungary, iceland, ukraine, and vietnam for around 8 months now. the
economist appears to have stopped listing them, at least on their online
pages;



CVS: cvs.openbsd.org: src

2019-06-30 Thread Kevin Lo
CVSROOT:/cvs
Module name:src
Changes by: ke...@cvs.openbsd.org   2019/06/30 23:11:32

Modified files:
sys/ufs/ext2fs : ext2fs.h ext2fs_inode.c ext2fs_vfsops.c 

Log message:
Add more verbose messages about unsupported ext2fs features.
Based on FreeBSD r320578.

While here, rename a few macros to make the consisten and keep in sync with
Linux upstream.

ok kn@



CVS: cvs.openbsd.org: src

2019-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/06/30 21:28:05

Modified files:
sys/dev/pci/drm/i915: intel_breadcrumbs.c 

Log message:
revert local changes in code under #ifdef __linux__



CVS: cvs.openbsd.org: src

2019-06-30 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/06/30 18:44:29

Modified files:
sys/net: ifq.c 

Log message:
reintroduce ifiq_input counting backpressure

instead of counting the number of packets on an ifiq, count the
number of times a nic has tried to queue packets before the stack
processes them.

this new semantic interacted badly with virtual interfaces like
vlan and trunk, but these interfaces have been tweaked to call
if_vinput instead of if_input so their packets are processed directly
because theyre already running inside the stack.

im putting this in so we can see what the effect is. if it goes
badly i'll back it out again.

ok cheloha@ proctor@ visa@



CVS: cvs.openbsd.org: src

2019-06-30 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2019/06/30 18:01:34

Modified files:
bin/sleep  : sleep.c 

Log message:
sleep(1): simplify argument parsing

- No need for intermediate variables, just build the timespec directly
- Use for-loops so we modify "cp" on a single line in each loop
- Parse subseconds with one loop: less code, easier to read, etc.
- Improve the subsecond parsing comment: make our intent really obvious

ok schwarze@



CVS: cvs.openbsd.org: src

2019-06-30 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/06/30 17:02:28

Modified files:
sys/net: if.c 

Log message:
if_vinput should pass BPF_DIRECTION_IN to bpf_mtap, not OUT



CVS: cvs.openbsd.org: src

2019-06-30 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/06/30 13:21:53

Modified files:
usr.bin/tmux   : spawn.c tmux.h window.c 

Log message:
Do not double free window if pane fails to start.



CVS: cvs.openbsd.org: src

2019-06-30 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/06/30 13:19:08

Modified files:
sbin/dhclient  : dhclient.c kroute.c 

Log message:
getifaddrs() returns -1.

Change fatal() to fatalx() where errno has not been set.



CVS: cvs.openbsd.org: src

2019-06-30 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/06/30 11:31:39

Modified files:
lib/libc/gen   : getcwd.3 
lib/libc/stdlib: realpath.3 

Log message:
tweak previous; ok guenther



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 11:10:24

Modified files:
driver/xf86-video-wildcatfb/src: wildcatfb_driver.c 
driver/xf86-video-wsfb/src: wsfb_driver.c 
driver/xf86-video-wsudl/src: wsudl_driver.c 

Log message:
Replace LoaderGetOS() calls by direct calls to uname(3).

In xserver 1.20, LoaderGetOS() is removed. ok and tweak jca@



CVS: cvs.openbsd.org: src

2019-06-30 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/06/30 10:46:40

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
No need to check if leaseFile is NULL in write_lease_db() as it is
fopen()'ed once during startup and never closed. With failure to
fopen() it being a fatal error.



CVS: cvs.openbsd.org: src

2019-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/06/30 09:57:13

Modified files:
sys/dev/pci/drm: drm_edid.c drm_probe_helper.c 
sys/dev/pci/drm/include/drm: drm_edid.h 

Log message:
drm: add fallback override/firmware EDID modes workaround

>From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux



CVS: cvs.openbsd.org: src

2019-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/06/30 09:53:17

Modified files:
sys/dev/pci/drm: drm_edid.c 

Log message:
drm/edid: abstract override/firmware EDID retrieval

>From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux



CVS: cvs.openbsd.org: src

2019-06-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/06/30 09:51:11

Modified files:
sys/dev/pci/drm/i915: intel_sdvo.c intel_sdvo_regs.h 

Log message:
drm/i915/sdvo: Implement proper HDMI audio support for SDVO

>From Ville Syrjala
b08ec06c94fc5575cd2e5daea2db7861c9c72bd0 in linux 4.19.y/4.19.53
d74408f528261f900dddb9778f61b5c5a7a6249c in mainline linux



CVS: cvs.openbsd.org: src

2019-06-30 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2019/06/30 08:57:25

Modified files:
usr.sbin/pkg_add/OpenBSD: Add.pm AddDelete.pm Delete.pm 

Log message:
refactor a bit of code: retrieve_fullname/retrieve_size, so that
special files are a bit less special.

Leave ::Sample for now



CVS: cvs.openbsd.org: src

2019-06-30 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2019/06/30 08:56:21

Modified files:
usr.sbin/pkg_add/OpenBSD: UpdateSet.pm 

Log message:
tweak short_print to commonalize stems if they all have the same version
number.  Adjust the other shortener for that.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:41:52

Removed files:
driver/xf86-video-voodoo: COPYING ChangeLog INSTALL Makefile.am 
  Makefile.bsd-wrapper Makefile.in 
  README TODO aclocal.m4 config.guess 
  config.h.in config.sub configure 
  configure.ac depcomp install-sh 
  ltmain.sh missing 
driver/xf86-video-voodoo/man: Makefile.am Makefile.in voodoo.man 
driver/xf86-video-voodoo/src: Makefile.am Makefile.in 
  compat-api.h voodoo.h voodoo_dga.c 
  voodoo_driver.c voodoo_hardware.c 
  voodoo_pcirename.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:40:39

Removed files:
driver/xf86-video-tseng: COPYING ChangeLog INSTALL Makefile.am 
 Makefile.bsd-wrapper Makefile.in README 
 aclocal.m4 config.guess config.h.in 
 config.sub configure configure.ac 
 depcomp install-sh ltmain.sh missing 
driver/xf86-video-tseng/man: Makefile.am Makefile.in tseng.man 
driver/xf86-video-tseng/src: Makefile.am Makefile.in README 
 compat-api.h tseng.h tseng_accel.c 
 tseng_accel.h tseng_cursor.c 
 tseng_dga.c tseng_driver.c 
 tseng_mode.c tseng_pcirename.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:40:06

Removed files:
driver/xf86-video-trident: COPYING ChangeLog INSTALL Makefile.am 
   Makefile.bsd-wrapper Makefile.in 
   README aclocal.m4 compile 
   config.guess config.h.in config.sub 
   configure configure.ac depcomp 
   install-sh ltmain.sh missing 
driver/xf86-video-trident/man: Makefile.am Makefile.in 
   trident.man 
driver/xf86-video-trident/src: Makefile.am Makefile.in 
   blade_accel.c blade_accel_exa.c 
   compat-api.h image_accel.c 
   trident.h trident_accel.c 
   trident_bank.c trident_dac.c 
   trident_dga.c trident_driver.c 
   trident_i2c.c trident_regs.h 
   trident_shadow.c trident_tv.c 
   trident_video.c tridenthelper.c 
   tridentpcirename.h 
   tridentramdac.c tvga_dac.c 
   xp4_accel.c xp4_accel_exa.c 
   xp_accel.c 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:39:15

Removed files:
driver/xf86-video-tdfx: COPYING ChangeLog INSTALL Makefile.am 
Makefile.bsd-wrapper Makefile.in README 
aclocal.m4 compile config.guess 
config.h.in config.sub configure 
configure.ac depcomp install-sh 
ltmain.sh missing 
driver/xf86-video-tdfx/man: Makefile.am Makefile.in tdfx.man 
driver/xf86-video-tdfx/src: Makefile.am Makefile.in compat-api.h 
tdfx.h tdfx_accel.c tdfx_dga.c 
tdfx_dri.c tdfx_dri.h tdfx_dripriv.h 
tdfx_driver.c tdfx_hwcurs.c 
tdfx_io.c tdfx_priv.c tdfx_priv.h 
tdfx_sli.c tdfx_video.c tdfxdefs.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:38:43

Removed files:
driver/xf86-video-sis: COPYING ChangeLog INSTALL Makefile.am 
   Makefile.bsd-wrapper Makefile.in README 
   aclocal.m4 compile config.guess 
   config.h.in config.sub configure 
   configure.ac depcomp install-sh ltmain.sh 
   missing 
driver/xf86-video-sis/man: Makefile.am Makefile.in sis.man 
driver/xf86-video-sis/src: 300vtbl.h 310vtbl.h Makefile.am 
   Makefile.in compat-api.h init.c 
   init.h init301.c init301.h initdef.h 
   initextx.c initextx.h oem300.h 
   oem310.h osdef.h sis.h sis300_accel.c 
   sis300_accel.h sis310_accel.c 
   sis310_accel.h sis6326_video.c 
   sis_accel.c sis_accel.h sis_common.h 
   sis_cursor.c sis_cursor.h sis_dac.c 
   sis_dac.h sis_dga.c sis_dri.c 
   sis_dri.h sis_driver.c sis_driver.h 
   sis_memcpy.c sis_opt.c sis_regs.h 
   sis_setup.c sis_shadow.c 
   sis_utility.c sis_vb.c sis_vga.c 
   sis_video.c sis_video.h 
   sis_videostr.h sispcirename.h 
   vgatypes.h vstruct.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:37:59

Removed files:
driver/xf86-video-s3virge: CALLMAP COPYING ChangeLog INSTALL 
   Makefile.am Makefile.bsd-wrapper 
   Makefile.in README TODO aclocal.m4 
   compile config.guess config.h.in 
   config.sub configure configure.ac 
   depcomp install-sh ltmain.sh missing 
driver/xf86-video-s3virge/man: Makefile.am Makefile.in 
   s3virge.man 
driver/xf86-video-s3virge/src: Makefile.am Makefile.in 
   compat-api.h newmmio.h regs3v.h 
   s3v.h s3v_accel.c s3v_dac.c 
   s3v_dga.c s3v_driver.c 
   s3v_hwcurs.c s3v_i2c.c 
   s3v_macros.h s3v_pciids.h 
   s3v_pcirename.h s3v_rop.h 
   s3v_shadow.c s3v_xv.c 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:37:07

Removed files:
driver/xf86-video-s3: COPYING ChangeLog INSTALL Makefile.am 
  Makefile.bsd-wrapper Makefile.in README 
  aclocal.m4 compile config.guess 
  config.h.in config.sub configure 
  configure.ac depcomp install-sh ltmain.sh 
  missing 
driver/xf86-video-s3/man: Makefile.am Makefile.in s3.man 
driver/xf86-video-s3/src: Makefile.am Makefile.in compat-api.h 
  newmmio.h s3.h s3_IBMRGB.c s3_Ti.c 
  s3_Trio64DAC.c s3_accel.c s3_bios.c 
  s3_cursor.c s3_dga.c s3_driver.c 
  s3_pcirename.h s3_reg.h s3_shadow.c 
  s3_video.c 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:36:08

Removed files:
driver/xf86-video-rendition: COPYING ChangeLog INSTALL 
 Makefile.am Makefile.bsd-wrapper 
 Makefile.in README aclocal.m4 
 config.guess config.h.in config.sub 
 configure configure.ac depcomp 
 install-sh ltmain.sh missing 
driver/xf86-video-rendition/man: Makefile.am Makefile.in 
 rendition.man 
driver/xf86-video-rendition/src: Makefile.am Makefile.in 
 README.uc accel.h accelX.c 
 cmd2d.h commonregs.h 
 compat-api.h cscode.h 
 hwcursor.c hwcursor.h 
 rendition.c rendition.h 
 rendition_options.h 
 rendition_shadow.c 
 rendition_shadow.h v10002d.uc 
 v1kregs.h v1krisc.c v1krisc.h 
 v20002d.uc v2kregs.h vboard.c 
 vboard.h vgafont-std.data 
 vgafont-vrx.data 
 vgapalette.data vloaduc.c 
 vloaduc.h vmisc.c vmisc.h 
 vmodes.c vmodes.h vos.h 
 vramdac.c vramdac.h vtypes.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:34:21

Removed files:
driver/xf86-video-neomagic: COPYING ChangeLog INSTALL 
Makefile.am Makefile.bsd-wrapper 
Makefile.in NM-reg.txt README TODO 
aclocal.m4 compile config.guess 
config.h.in config.sub configure 
configure.ac depcomp install-sh 
ltmain.sh missing 
driver/xf86-video-neomagic/man: Makefile.am Makefile.in 
neomagic.man 
driver/xf86-video-neomagic/src: Makefile.am Makefile.in 
compat-api.h neo.h neo_2070.c 
neo_2090.c neo_2097.c neo_2200.c 
neo_cursor.c neo_dga.c 
neo_driver.c neo_i2c.c 
neo_macros.h neo_pcirename.h 
neo_reg.h neo_shadow.c 
neo_video.c neo_video.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:33:09

Removed files:
driver/xf86-video-i740: COPYING ChangeLog INSTALL Makefile.am 
Makefile.bsd-wrapper Makefile.in README 
aclocal.m4 compile config.guess 
config.h.in config.sub configure 
configure.ac depcomp install-sh 
ltmain.sh missing 
driver/xf86-video-i740/man: Makefile.am Makefile.in i740.man 
driver/xf86-video-i740/src: Makefile.am Makefile.in compat-api.h 
i740.h i740_accel.c i740_cursor.c 
i740_dga.c i740_dga.h i740_driver.c 
i740_i2c.c i740_io.c i740_macros.h 
i740_pcirename.h i740_reg.h 
i740_video.c 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:31:42

Removed files:
driver/xf86-video-i128: COPYING ChangeLog INSTALL Makefile.am 
Makefile.bsd-wrapper Makefile.in README 
aclocal.m4 compile config.guess 
config.h.in config.sub configure 
configure.ac depcomp install-sh 
ltmain.sh missing 
driver/xf86-video-i128/man: Makefile.am Makefile.in i128.man 
driver/xf86-video-i128/src: IBMRGB.h Makefile.am Makefile.in 
Ti302X.h compat-api.h i128.h 
i128IBMDAC.c i128_driver.c 
i128accel.c i128dga.c i128exa.c 
i128init.c i128pcirename.h i128reg.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:30:30

Removed files:
driver/xf86-video-glint: COPYING ChangeLog INSTALL Makefile.am 
 Makefile.bsd-wrapper Makefile.in README 
 README.pm3 aclocal.m4 compile 
 config.guess config.h.in config.sub 
 configure configure.ac depcomp 
 install-sh ltmain.sh missing 
driver/xf86-video-glint/man: Makefile.am Makefile.in glint.man 
driver/xf86-video-glint/src: IBMramdac.c Makefile.am Makefile.in 
 TIramdac.c compat-api.h glint.h 
 glint_dga.c glint_driver.c 
 glint_regs.h glint_shadow.c 
 glintpcirename.h pm2_accel.c 
 pm2_dac.c pm2_video.c pm2ramdac.c 
 pm2v_dac.c pm2vramdac.c pm3_accel.c 
 pm3_dac.c pm3_regs.h pm3_video.c 
 pm_accel.c pm_dac.c sx_accel.c 
 tx_accel.c tx_dac.c 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:28:57

Removed files:
driver/xf86-video-chips: COPYING ChangeLog INSTALL Makefile.am 
 Makefile.bsd-wrapper Makefile.in README 
 aclocal.m4 compile config.guess 
 config.h.in config.sub configure 
 configure.ac depcomp install-sh 
 ltmain.sh missing 
driver/xf86-video-chips/man: Makefile.am Makefile.in chips.man 
driver/xf86-video-chips/src: Makefile.am Makefile.in 
 compat-api.h ct_BlitMM.h 
 ct_Blitter.h ct_BltHiQV.h 
 ct_accel.c ct_bank.c ct_cursor.c 
 ct_ddc.c ct_dga.c ct_driver.c 
 ct_driver.h ct_pcirename.h 
 ct_regs.c ct_shadow.c ct_video.c 
driver/xf86-video-chips/util: AsmMacros.h Makefile.am 
  Makefile.in dRegs.c iopl.h mRegs.c 
  modClock.c 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: xenocara

2019-06-30 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/06/30 06:26:36

Removed files:
driver/xf86-video-ark: COPYING ChangeLog INSTALL Makefile.am 
   Makefile.bsd-wrapper Makefile.in README 
   aclocal.m4 config.guess config.h.in 
   config.sub configure configure.ac depcomp 
   install-sh ltmain.sh missing 
driver/xf86-video-ark/src: Makefile.am Makefile.in ark.h 
   ark_accel.c ark_driver.c ark_reg.h 
   compat-api.h 

Log message:
Remove. Unlinked from the build for 6 weeks.



CVS: cvs.openbsd.org: src

2019-06-30 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/06/30 01:41:50

Modified files:
sys/arch/mips64/mips64: arcbios.c 

Log message:
Ansify function definitions.



CVS: cvs.openbsd.org: src

2019-06-30 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/06/30 01:37:47

Modified files:
sys/arch/sgi/sgi: locore.S 

Log message:
Compute address for ll/sc only once.