Re: OpenBSD 6.x and wxallowed

2019-10-22 Thread Matthias Kilian
Hi, On Mon, Oct 21, 2019 at 09:57:24AM +0100, Stuart Henderson wrote: > > $ grep -rHI USE_WXNEEDED /usr/ports/ | wc > > 64 2013827 > > This ignores ports where USE_WXNEEDED is set by a module, this is a better > number: > > $ sqlite3 /usr/local/share/sqlports "select count(fullpkgp

Re: stack pointer checking

2018-01-14 Thread Matthias Kilian
Hi, On Thu, Jan 11, 2018 at 08:39:25PM -0700, Theo de Raadt wrote: > I'm asking for some feedback to discover what ports this breaks, we'd > like to know. Those would be ports which try to (unconvenionally) > create their stacks in malloc()'d memory or inside another > datastructure. Most of the

at(1) job files have to belong to group crontab

2017-10-16 Thread Matthias Kilian
Hi, since 2017/06/07, spooled at(1) files have to be owned by group crontab, and at(1) makes sure that this is the case for newly created at(1) jobs. However, if you create an at(1) job while still running OpenBSD-6.1 and then update to OpenBSD-6.2 *before* that at(1) job had been run, it will be

Re: unneeded var breaks build in xenocara/driver/xf86-video-mach64

2015-05-27 Thread Matthias Kilian
Hi, On Wed, May 27, 2015 at 08:56:01PM +0200, Matthias Kilian wrote: > I just ran into the same problem, with the trees updated this > afternoon. > > > > /usr/xenocara/driver/xf86-video-mach64/src/atipreinit.c: In function > > > 'ATIPreInit': > > &

Re: unneeded var breaks build in xenocara/driver/xf86-video-mach64

2015-05-27 Thread Matthias Kilian
Hi, On Wed, May 27, 2015 at 04:55:39PM +, Christian Weisgerber wrote: > > someone will hit this soon enough if they haven't already, but building > > xerocara after recent import gave the following error: > > What's "recent"? > "Update to xf86-video-mach64 6.9.5" was four days ago and I've bu

Re: HEADS UP: librt revert

2014-03-23 Thread Matthias Kilian
On Sun, Mar 23, 2014 at 05:05:06PM -0400, STeve Andre' wrote: > >If you've built a tree with librt, you want to > ># rm -f /usr/lib/librt.a > > Shouldn't that be librt*a to get rid of librt_p.a too? Thanks to tedu@ there's now rm -f /usr/lib/librt{,_p}.a in faq/current.html

Re: ksh global PWD env variable

2013-07-21 Thread Matthias Kilian
On Mon, Jul 22, 2013 at 12:02:30AM +0200, Jérémie Courrèges-Anglas wrote: > Matthias Kilian writes: > > On Sun, Jul 21, 2013 at 10:51:17PM +0200, Joerg Sonnenberger wrote: > >> On Sun, Jul 21, 2013 at 10:01:33PM +0200, Alexander Hall wrote: > >> > I for one d

Re: ksh global PWD env variable

2013-07-21 Thread Matthias Kilian
On Sun, Jul 21, 2013 at 10:51:17PM +0200, Joerg Sonnenberger wrote: > On Sun, Jul 21, 2013 at 10:01:33PM +0200, Alexander Hall wrote: > > I for one don't see a general interest in knowing ones parents > > potentially faked wd. You can find out your wd by saner means. > > There is no way to find th

Re: ksh global PWD env variable

2013-07-21 Thread Matthias Kilian
On Sun, Jul 21, 2013 at 10:01:33PM +0200, Alexander Hall wrote: > I for one don't see a general interest in knowing ones parents > potentially faked wd. You can find out your wd by saner means. All shells (including our pdksh) seem to do this already, but also peek at PWD in the environment at sta

(just kidding) acpitz(4) man page tweak

2013-05-03 Thread Matthias Kilian
Index: acpitz.4 === RCS file: /cvs/src/share/man/man4/acpitz.4,v retrieving revision 1.5 diff -u -p -r1.5 acpitz.4 --- acpitz.431 May 2007 19:19:48 - 1.5 +++ acpitz.43 May 2013 20:01:51 - @@ -54,3 +54,8 @@ The .Nm

Re: PATCH: merge.c white space cleanup

2013-01-28 Thread Matthias Kilian
On Mon, Jan 28, 2013 at 08:45:19PM +0100, Marc Espie wrote: > > > Otoh this file is quite bad. It makes my vim light up all red. > > > > That's why you should stick to vi and not the emacs-in-a-vi-disguise > > bloatware known as vim. > > Lol. > > Give me a vi with multiple windows, and with visu

Re: ##@!#@# gnu tools

2012-11-15 Thread Matthias Kilian
On Thu, Nov 15, 2012 at 05:53:52PM +0100, Reyk Floeter wrote: > External people seem to ask weird questions. > > I just had to dig into autoconf/auto* because it seems to be a "must > have" for a "portable" project. Here's a simple configure replacement you could use for such projects:

Re: awk(1) error messages fix

2012-01-17 Thread Matthias Kilian
On Tue, Jan 17, 2012 at 02:46:21PM +0100, Martin Pelikan wrote: > Here's one copy-paste error in awk(1). > CVS log mentions some upstream; anyone have idea what that is? They may > be interested... As I just wrote in private, those parts aren't in bwk's upstream code, so there's no point sending t

Re: tar -J for xz

2011-10-04 Thread Matthias Kilian
On Tue, Oct 04, 2011 at 09:43:53PM +0200, Antoine Jacoutot wrote: > > > this diff adds a -J flag to tar that calls xz for compress/decompress. > > > Requires you to install the xz package on your system. > > > > No way. > > > > Base never depends on external things. > > Well pval added support f

Re: grep \

2011-07-17 Thread Matthias Kilian
On Sun, Jul 17, 2011 at 09:50:05PM +0200, Matthias Kilian wrote: > Then those ports should be fixed. There seem to be more GNUisms in > (recent?) GNU grep that are picked up by projects, for example the > use of \s and \S in pxltoraster Oops, that was GNU sed, not grep.

Re: grep \

2011-07-17 Thread Matthias Kilian
On Sun, Jul 17, 2011 at 03:19:21PM -0400, Ted Unangst wrote: > It is supported (and documented) by GNU grep. I'm not proposing > documenting it per se, it's simply something that will work if you use > it, but the documented regex format remains the supported way. > > There is at least one port (

Re: sd allocation and umass(4)

2011-06-24 Thread Matthias Kilian
On Fri, Jun 24, 2011 at 08:34:15PM +0200, Christopher Zimmermann wrote: > >> By the way, is there a way to mount umass(4) devices without looking at > >> dmesg for the number of the sd device? > > > > hotplugd(8) > > That's not what I thought about, but even better - hotplugd the BSD way. If you

Re: pkg_add interactive prompts

2011-05-17 Thread Matthias Kilian
On Tue, May 17, 2011 at 11:00:01PM +0200, frantisek holop wrote: > (my rationale for removing the option "0: " is that > i have asked for the package, so why would i choose None? > i can always ctrl-c out if i have changed my mind...) AFAIK, ambiguous packages can also happen during updates (pkg_a

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-22 Thread Matthias Kilian
Hi, On Fri, Apr 22, 2011 at 08:55:35PM +0100, Mikolaj Kucharski wrote: > Ok. What options do I have to fix net/ekg? Compare it with mutt or irssi > (they aren't affected by USE_SIGWINCH define) and leave libcurses as it > is or is there any way to bring back behaviour from ncurses 5.2 to 5.7? You

Re: [PATCH] Fix for kernel crash with udav(4) device

2011-03-21 Thread Matthias Kilian
On Sun, Mar 20, 2011 at 04:07:33PM -0400, Loganaden Velvindron wrote: > With input from mk, we improved the diff. > > Testing is very much appreciated. [...] I can't comment on the code (it isn't my area, but, worse, i'm still too short of time), but at least a make build over nfs now finished wi

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-16 Thread Matthias Kilian
Hi, On Wed, Mar 16, 2011 at 04:58:19PM -0400, Loganaden Velvindron wrote: > After my experience with udav(4), I took a look at other USB > adapters. The diff makes all of them more consistent by checking > the frame length returned and validating it. > > Since I don't own any of those adapters

Re: Make expr(1) 64-bit capable and radix-aware

2011-01-15 Thread Matthias Kilian
On Sat, Jan 15, 2011 at 03:35:43PM -0500, Ted Unangst wrote: > On Sat, Jan 15, 2011 at 3:30 PM, Otto Moerbeek wrote: > >> Ehum, running the risk of looking like a complete fool I've got to > >> ask, is there actually a ksh builtin version of expr? > >> > >> I did actually double check that prior t

Re: fold -b1 segmentation fault

2010-10-21 Thread Matthias Kilian
On Thu, Oct 21, 2010 at 05:57:24PM +0100, Jason McIntyre wrote: > in case anyone's interested, and as reported in a recent freebsd pr: > > $ fold -b1 > Segmentation fault (core dumped) > > no fix is provided. Holy ugliness... Here are two diffs, pick your choice. Either drop the (a

Re: Possible issue with srand or rand in base?

2010-02-07 Thread Matthias Kilian
On Sun, Feb 07, 2010 at 12:26:43PM -0800, Philip Guenther wrote: > (That C++ made me cry. Iterating across a map<> to convert an integer > in the range 1..56 to a character?!? If only C++ had a datastructure > which gave O(1) lookup for small indexes, like an array does in C.) Arrays are legacy

Re: infrastructure/build/out-of-date unusable with '@option always-update'

2010-01-27 Thread Matthias Kilian
On Mon, Jan 25, 2010 at 10:44:26AM -0500, RD Thrush wrote: > ${PORTSDIR}/infrastructure/build/out-of-date generates unusable data > for a port with a packing list containing '@option always-update'. > > The following patch fixes the problem (which appears to be fallout from the > recent pkg_add im

Re: pci diff for testing

2010-01-15 Thread Matthias Kilian
On Tue, Jan 12, 2010 at 10:11:05AM +0100, Mark Kettenis wrote: > Below is a somewhat important pci diff. Please test this on machines > that have phrases likes: > > mem address conflict > io address conflict > bridge io address conflict > bridge mem address conflict > > Check whether the hardwar