Re: [PATCH] Make cat(1) and split(1) reference each other

2021-01-10 Thread Donovan Watteau
Theo de Raadt wrote: > I disagree with this. > > Because next you'll be asking for the ls manpage to list "rm" and "touch"... That's not my personal intent no, but I get your point. concatenating/splitting are exact complementary actions, so I thought this section would accept cross-references i

[PATCH] Make cat(1) and split(1) reference each other

2021-01-10 Thread Donovan Watteau
Hi, Ten years ago, a teacher of mine asked why "the command which concatenates files never mentions the command which splits files". Ten years later, I still think he made a good point, so here's a diff. If there's a reason for things to be the way they are, I'm still curious to learn it :) Dono

[PATCH] Enable PCMCIA ne(4) on macppc

2017-11-22 Thread Donovan Watteau
Hi, I have an old SMC 8041TX EZCard that happens to work in the PCMCIA slot of my PowerBook G4, when it's enabled with the following diff. dmesg also included. Index: GENERIC === RCS file: /cvs/src/sys/arch/macppc/conf/GENERIC,v ret

[PATCH] httpd(8) hsts vasprintf() fixes

2015-07-30 Thread Donovan Watteau
Hi, I was playing a bit with httpd(8) new "hsts" setting when some trivial tests with Firefox would sometimes give the following error: The site specified an invalid Strict-Transport-Security header. Some pages would also load and reload a few times before appearing in the browser. curl wou

Re: exp() / expl() on Linux and OpenBSD (expl() bug?)

2014-02-12 Thread Donovan Watteau
On Thu, 6 Feb 2014, Donovan Watteau wrote: > David Coppa wrote: > > Take the following reduced test-case, adapted from what R's code > > does: > > > > ---8<--- > > > > #include > > #include > > #include > > > > int mai

Re: exp() / expl() on Linux and OpenBSD (expl() bug?)

2014-02-06 Thread Donovan Watteau
David Coppa wrote: > Take the following reduced test-case, adapted from what R's code > does: > > ---8<--- > > #include > #include > #include > > int main(void) { > double theta = 1; > long double lambda, pr, pr2; > > lambda = (0.5*theta); > pr = exp(-lambda); >

[PATCH] Fix getdtablecount(2) HISTORY

2014-01-26 Thread Donovan Watteau
Hi, The following diff fixes getdtablecount(2) HISTORY: this function appeared in OpenBSD 5.2, not OpenBSD 5.1. No getdtablecount() here: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/syscalls.master?only_with_tag=OPENBSD_5_1 but it's there: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/ker

[PATCH] nginx.conf(5): Less EXAMPLES, more HISTORY

2014-01-11 Thread Donovan Watteau
OpenBSD now provides an nginx.conf(5) manual page and I love this, thanks! But it ends with an EXAMPLES section which only deals with some horrible use of whitespace, which is "not recommended". I don't get it. This manpage is a relief, but it ends in a really sad and not really useful way... I

(5.3) Extracting ports.tar.gz takes 12 minutes

2013-08-13 Thread Donovan Watteau
Hello, I've installed OpenBSD/i386 5.3 on a Dell PowerEdge R210, but extracting ports.tar.gz seems unordinary slow (the same thing applies for src.tar.gz and sys.tar.gz). Without softdep: # mount /dev/sd0a on / type ffs (local, noatime) /dev/sd0j on /home type ffs (local, noatime, nodev, nosuid)

Re: acpi global lock diff that needs testing

2013-08-04 Thread Donovan Watteau
Mark Kettenis wrote: > On amd64/i386 there is this nasty thing called SMM mode. This allows > BIOS writers to run code behind the back of the OS to do all sorts of > crazy stuff like simulating a legacy PC keyboard controller on systems > that don't have one, or spin up the fan in your laptop when

[PATCH] Enable NTFS support on loongson

2012-10-03 Thread Donovan Watteau
Hello, The following diff enables NTFS support on loongson. I've been using it with external drives on my Yeeloong without any problem. Index: src/sbin/mount_ntfs/Makefile === RCS file: /cvs/src/sbin/mount_ntfs/Makefile,v retrieving

Fix a missing DPRINTF in awacs.c

2011-09-03 Thread Donovan Watteau
Hi, On my B&W G3 (macppc), awacs(4) gets me easily spammed whenever sounds starts/stops/pauses/etc. with the following output: trigger_input 0xe5f9b000 0xe5faa000 0x3000 It just seems to be a missing DPRINTF in awacs_trigger_intput(), which awacs_trigger_output() has. The following diff fix