libssl/src/apps don't cast {m,re}alloc

2014-04-23 Thread Thomas Pfaff
Don't cast {m,re}alloc. No point and it's inconsistent already. Index: apps.c === RCS file: /cvs/src/lib/libssl/src/apps/apps.c,v retrieving revision 1.42 diff -u -p -r1.42 apps.c --- apps.c 22 Apr 2014 14:54:13 - 1.42

Re: libssl/src/apps don't cast {m,re}alloc

2014-04-24 Thread Thomas Pfaff
This doesn't fix the problems, only removes markers alerting us to audit it. Memory management in these files is still missing integer overflow checks, NULL return checks, and is full of crazy abominations [...] Yes, I saw that but I thought I'd take care of one thing first then send

Re: re(4) diff that needs testing

2013-10-08 Thread Thomas Pfaff
On Tue, 1 Oct 2013 21:32:30 +0200 (CEST) Mark Kettenis mark.kette...@xs4all.nl wrote: Some re(4) variants now use msi. Unfortunately the interrupt handler isn't careful enough, and we might miss an interrupt. The diff below seems to fix that by disabling the interrupts while processing an

Add EMC Barcode Scanner to usbdevs

2013-12-16 Thread Thomas Pfaff
Add IDs for Elan Microelectronics barcode scanner (from usb.ids). uhidev1 at uhub3 port 4 configuration 1 interface 0 vendor 0x04f3 product 0x0001 rev 1.10/1.00 addr 3 uhidev1 at uhub3 port 4 configuration 1 interface 0 Elan Microelectronics Corp. Barcode Scanner rev 1.10/1.00 addr 3 Index:

cwm: repair cyclegroup and rcyclegroup

2011-05-15 Thread Thomas Pfaff
A tiny oops done by someone cleaning up calmwm.h making cyclegroup and rcyclegroup behave the same. The defines below are used as an argument to group_cycle as a boolean to decide if the groups should be cycled forward or backward, but now both values are true so it's always done in reverse.

ansify fdisk(8) and remove casts in tee(1)

2011-06-23 Thread Thomas Pfaff
fdisk(8) Index: cmd.c === RCS file: /cvs/src/sbin/fdisk/cmd.c,v retrieving revision 1.45 diff -u -p -r1.45 cmd.c --- cmd.c 2 Jul 2010 02:54:09 - 1.45 +++ cmd.c 23 Jun 2011 06:50:46 - @@ -348,12 +348,7 @@

cwm: uppercase #define

2011-07-07 Thread Thomas Pfaff
Uppercase two #define so we can immediately see they won't change. Index: kbfunc.c === RCS file: /cvs/xenocara/app/cwm/kbfunc.c,v retrieving revision 1.55 diff -u -p -r1.55 kbfunc.c --- kbfunc.c24 Jun 2011 06:06:24 -

dd(1) human-readable output

2011-08-23 Thread Thomas Pfaff
This patch makes dd(1) output change from e.g. $ dd if=/dev/sd0c of=/dev/null bs=512 count=16000 16000+0 records in 16000+0 records out 8192000 bytes transferred in 3.002 secs (2728488 bytes/sec) to $ obj/dd if=/dev/sd0c of=/dev/null bs=512 count=16000 16000+0 records in

cwm: cyclegroup and rcyclegroup broken.

2011-09-11 Thread Thomas Pfaff
This will probably sound familiar -- cyclegroup and rcyclegroup is broken (again) and here's a patch to fix it ;-) Index: group.c === RCS file: /cvs/xenocara/app/cwm/group.c,v retrieving revision 1.51 diff -u -p -r1.51 group.c ---

dd(1) support for uppercase size modifiers

2011-10-02 Thread Thomas Pfaff
Simple patch to allow uppercase size modifiers (K, M, and G). Is there a reason why not to? Plus, as a bonus you're less likely to mess up if you've been naughty and used dd on Linux. Index: args.c === RCS file:

Re: dd(1) support for uppercase size modifiers

2011-10-02 Thread Thomas Pfaff
On Sun, 02 Oct 2011 14:38:42-0400 STeve Andre' and...@msu.edu wrote: On 10/02/11 14:25, Thomas Pfaff wrote: Simple patch to allow uppercase size modifiers (K, M, and G). Is there a reason why not to? Plus, as a bonus you're less likely to mess up if you've been naughty and used dd

Re: dd(1) support for uppercase size modifiers

2011-10-08 Thread Thomas Pfaff
Simple patch to allow uppercase size modifiers (K, M, and G). I know this is not the most important thing in the world, but this annoys me so I'm going to give it one last shot: can somebody please give me one reason why this should not go in? Look, when you ask various tools to display

dd disp option

2011-10-19 Thread Thomas Pfaff
This adds a new option disp that can be set to human for a more human- readable completion message. This does not change the current behavior. $ dd if=/dev/zero of=/tmp/kthxbye bs=1337K count=42 disp=human 42+0 records in 42+0 records out 57501696 bytes (54.8MB) transferred in 0.161

Re: dd disp option

2011-10-20 Thread Thomas Pfaff
to not nag about this so ... zip ;-) On 2011/10/19 21:12, Thomas Pfaff wrote: This adds a new option disp that can be set to human for a more human- readable completion message. This does not change the current behavior. $ dd if=/dev/zero of=/tmp/kthxbye bs=1337K count=42 disp=human 42+0

Re: cron: fix incorrect error message

2012-05-08 Thread Thomas Pfaff
On Tue, 8 May 2012 09:55:53 -0400 Okan Demirmen o...@demirmen.com wrote: Not really a pasto; from putenv(): P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); *puke* Ok? Index: setenv.c === RCS file:

Re: cron: fix incorrect error message

2012-05-08 Thread Thomas Pfaff
On Tue, 8 May 2012 18:22:51 +0200 Joerg Sonnenberger jo...@britannica.bec.de wrote: On Tue, May 08, 2012 at 06:19:55PM +0200, Thomas Pfaff wrote: On Tue, 8 May 2012 09:55:53 -0400 Okan Demirmen o...@demirmen.com wrote: Not really a pasto; from putenv(): P = (char **)realloc

Re: cwm tiling

2012-06-08 Thread Thomas Pfaff
On Sun, 3 Jun 2012 21:07:13 +0400 Alexander Polakov p...@sdf.org wrote: I'd like to start a discussion about adding tiling to cwm with these two diffs. I don't want it ;-) If I wanted a tiling window manager I'd install one of the many already available. Please keep cwm clean and simple, as

Re: cwm tiling

2012-06-08 Thread Thomas Pfaff
On Fri, 8 Jun 2012 13:57:35 -0400 Okan Demirmen o...@demirmen.com wrote: On Fri 2012.06.08 at 19:40 +0200, Thomas Pfaff wrote: On Sun, 3 Jun 2012 21:07:13 +0400 Alexander Polakov p...@sdf.org wrote: I'd like to start a discussion about adding tiling to cwm with these two diffs

Re: cwm tiling

2012-06-10 Thread Thomas Pfaff
On Sun, 10 Jun 2012 00:23:42 -0500 Todd T. Fries t...@fries.net wrote: Penned by Mike Belopuhov on 20120609 6:17.29, we have: | On Sat, Jun 9, 2012 at 12:41 PM, Stuart Henderson s...@spacehopper.org | wrote: | personally, I do see benefit to having your diff or something like it with |

Re: cwm tiling

2012-06-10 Thread Thomas Pfaff
On Sat, 9 Jun 2012 13:17:29 +0200 Mike Belopuhov m...@crypt.org.ru wrote: currently users have to point the mouse cursor to where they want a new window to be created. otherwise the whole thing quickly turns into a mess of overlapped windows in the center of the screen. This annoyed me too a

Re: sndio: protocol change - diff to test

2012-10-29 Thread Thomas Pfaff
On Sun, 28 Oct 2012 13:55:34 +0100 Alexandre Ratchov a...@caoua.org wrote: sorry; the previous diff is wrong, please consider the one below (thanks jsg@) Index: lib/libsndio/amsg.h === RCS file: /cvs/src/lib/libsndio/amsg.h,v

Re: cwm reload support

2012-10-30 Thread Thomas Pfaff
On Mon, 29 Oct 2012 19:32:16 -0400 Okan Demirmen o...@demirmen.com wrote: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. I use this function once in a while but sure, I can always restart cwm. You remove a bit of code here which is more

Re: [cwm 1/1] Add a menu to search and call internal functions.

2012-11-06 Thread Thomas Pfaff
Can you please provide a unified cvs diff? I've not tried this patch but I have some comments (see below). Useful for those times you want to use an unbound function, but even when the function is bound to something you haven't memorized yet it can be faster than lookup up the keybinding in

Re: [cwm 1/1] Add a menu to search and call internal functions.

2012-11-07 Thread Thomas Pfaff
Why not for (iter = 0; iter nitems(name_to_kbfunc); iter++) { func = name_to_kbfunc[iter]; /* if you want to use func */ then you don't need the last NULL entry in the array or add code to not break existing code. See: http://c-faq.com/decl/extarraysize.html The

cwm rename iter to i (consistency)

2012-11-10 Thread Thomas Pfaff
Since we all seem to be playing with cwm these days, here's a patch that renames iter to i used in for-loops. conf.c used both, while the rest of the code used i so I chose to use i. Index: conf.c === RCS file:

Add ATI Radeon HD 7850 to pcidevs

2012-11-19 Thread Thomas Pfaff
Add ATI Radeon HD 7850 to pcidevs. I was unable to find product 0x6819 anywhere (lists mentioned in pcidevs and Linux pci.ids) but I'm pretty sure it's correct ... Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v

Re: Add ATI Radeon HD 7850 to pcidevs

2012-11-20 Thread Thomas Pfaff
On Mon, 19 Nov 2012 18:44:23 +0100 Thomas Pfaff tpf...@tp76.info wrote: Add ATI Radeon HD 7850 to pcidevs. Sorted by PCI ID this time (dmesg also included). Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving

Add ATI Radeon HD 7850 and 7850 HD Audio to pcidevs

2013-01-13 Thread Thomas Pfaff
Add ATI Radeon HD 7850 and 7850 HD Audio to pcidevs. Verified with the Windows driver information (I was unable to find these ids anywhere else). Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1664

Re: Add ATI Radeon HD 7850 and 7850 HD Audio to pcidevs

2013-01-13 Thread Thomas Pfaff
On Sun, 13 Jan 2013 12:18:50 + (UTC) Alexey E. Suslikov alexey.susli...@gmail.com wrote: Thomas Pfaff tpfaff at tp76.info writes: product ATI RADEON_HD6400_HDA 0xaa98 Radeon HD 6400 Audio +product ATI RADEON_HD7850_HDA 0xaab0 Radeon HD 7850 HD Audio I think 7850 audio

Re: suspend/resume woes on MSI Wind U-100

2010-07-17 Thread Thomas Pfaff
On Sat, 17 Jul 2010 17:28:30 +0200 David Coppa dco...@gmail.com wrote: I've attached dmesg and acpidump. [demime 1.01d removed an attachment of type application/octet-stream which had a name of dmesg.boot] [demime 1.01d removed an attachment of type application/x-gzip which had a name

Re: suspend/resume woes on MSI Wind U-100

2010-07-18 Thread Thomas Pfaff
On Sun, 18 Jul 2010 14:35:04 +0200 Thomas Pfaff tpf...@tp76.info wrote: On Sat, 17 Jul 2010 17:28:30 +0200 David Coppa dco...@gmail.com wrote: Hi, I've put the latest snapshot on a MSI Wind U-100 netbook. ACPI suspend and resume would work great, even from X, but unfortunately

Re: vr(4) diff

2010-12-10 Thread Thomas Pfaff
Since you're wondering, here's my mail to Mark ... (I've used vr(4) on my router for some time and installed another one on another system and I've never had any problems, though the traffic has been minimal). On Fri, 10 Dec 2010 12:18:03 -0500 Brynet bry...@gmail.com wrote: Mark Kettenis

Re: vr(4) diff

2010-12-11 Thread Thomas Pfaff
On Sat, 11 Dec 2010 00:41:00 + Stuart Henderson s...@spacehopper.org wrote: On 2010/12/10 12:18, Brynet wrote: Mark Kettenis wrote: Here's an attempt to fix a potential MCLGETI issue with vr(4) similar to what I recently fixed fro re(4). Unfortunately I don't have any vr(4)

pf: ugly error message when probability value out of range.

2010-12-13 Thread Thomas Pfaff
When specifying a probability attribute on a rule and the value is out of range, pfctl reports the problem using the internal probability value, an unsigned greater than UINT_MAX, rather than what you actually specified. The accepted range is either a number between 0 and 1 or between 0 and 100

Fw: cwm: xev_reconfig - xu_reconfig

2010-12-15 Thread Thomas Pfaff
I sent the diff below to a few guys found in the cwm cvs log about a month ago but no love, so I'm posting here. The diff is not that important but here it is anyway. It came about when looking through the cwm code trying to fix a few bugs that I've uncovered (though I've been unsuccessful so

Re: pf debug states: ioctl interface and state names.

2010-12-22 Thread Thomas Pfaff
On Wed, 22 Dec 2010 09:03:57 +0100 Henning Brauer lists-openbsdt...@bsws.de wrote: * Thomas Pfaff tpf...@tp76.info [2010-12-21 22:19]: [...] 2) pf.conf(5) says set debug can be one of loud, misc, none, or urgent but if you set debug loud in pf.conf and load it the pfctl -sa output will say

Re: pf debug states: ioctl interface and state names.

2010-12-26 Thread Thomas Pfaff
On Tue, 21 Dec 2010 22:15:33 +0100 Thomas Pfaff tpf...@tp76.info wrote: 1) pf(4) says DIOCSETDEBUG has enum { PF_DEBUG_NONE, PF_DEBUG_URGENT, ... but these names are not in pfvar.h nor anywhere else in the source tree (AFAICT). What should the legal values (or names) be? I guess these should

cwm: maximization and alt-tab bug

2011-01-14 Thread Thomas Pfaff
There's a bug in cwm that screws up alt-tab if you follow the set of events described in the next paragraph. To regain alt-tab functionality you need to jerk the mouse around to focus clients and then it usually comes back to its senses again. So, start with a clean root window. Spawn two

Re: cwm: maximization and alt-tab bug

2011-01-18 Thread Thomas Pfaff
On Tue, 18 Jan 2011 07:28:14 -0500 Okan Demirmen o...@demirmen.com wrote: On Fri 2011.01.14 at 19:19 +0100, Thomas Pfaff wrote: It took a while to figure out the sequence of events that triggered this problem and there might be other ways it can be triggered. The same happens if you

Re: cwm(1) new option: windowspawn

2009-06-17 Thread Thomas Pfaff
On Wed, 17 Jun 2009 11:42:03 +0200 Thomas Pfaff tpf...@tp76.info wrote: +#define CONF_WS_CURSOR1 +#define CONF_WS_CENTER2 +#define CONF_WS_RANDOM3 + int windowspawn; I suppose I could add CONF_WS_FULLSCREEN here, too

tee(1) cleanup

2009-06-19 Thread Thomas Pfaff
Just some cleaning up while I was surfing the code: * Sort headers + spacing (KNF) * Remove pointless casts * ssize_t for read(2) and write(2) return values Index: tee.c === RCS file: /cvs/OpenBSD/src/usr.bin/tee/tee.c,v

Re: azalia(4) diff needs testing.

2009-06-23 Thread Thomas Pfaff
On Tue, 23 Jun 2009 01:42:49 + Jacob Meuser jake...@sdf.lonestar.org wrote: On Sun, Jun 21, 2009 at 01:07:37AM +, Jacob Meuser wrote: Please test the following diff with any azalia(4) adapter, but especially with any ATI or NVIDIA chipsets. Make sure sound still works

Re: cwm(1): exec globbing

2009-06-23 Thread Thomas Pfaff
On Wed, 17 Jun 2009 11:50:55 +0200 Thomas Pfaff tpf...@tp76.info wrote: This diff adds globbing to the exec function so you can type e.g. *ctl and get a list of all executable files that ends with ctl. So, what's the verdict on this one? The fnmatch lookup is case- sensitive but I think

Re: azalia(4) diff needs testing.

2009-06-25 Thread Thomas Pfaff
On Thu, 25 Jun 2009 08:53:47 +0200 Thomas Pfaff tpf...@tp76.info wrote: On Thu, 25 Jun 2009 02:27:50 -0400 Brad b...@comstyle.com wrote: Does that say ATI or NVIDIA? Well, true, but he initially said any azalia(4) adapter. I thought checking for regressions was important, too. Meh

Re: cwm - unmaximizing a widnow moves it back, too

2009-06-28 Thread Thomas Pfaff
On Mon, 15 Jun 2009 07:19:48 -0400 Okan Demirmen o...@demirmen.com wrote: On Mon 2009.06.15 at 11:46 +0200, Jan Stary wrote: This is 4.5-stable. In cwm, I use the C-M-f feature to toggle the full-screen size of a window (mostly xterms). That works. However, if I maximize a window with

Re: New installer - initial user creation

2009-06-28 Thread Thomas Pfaff
On Fri, 26 Jun 2009 13:09:27 + Thordur I. Bjornsson t...@foo.is wrote: viq v...@viq.ath.cx wrote on Fri 26.Jun'09 at 14:45:04 +0200 Since the user created during installation is somewhat marketed as root replacement, shouldn't he be added to staff login class ? Yes, I'd actually love

Re: Asus WL-138gE donation

2009-07-23 Thread Thomas Pfaff
On Thu, 23 Jul 2009 16:04:39 +0200 Thomas Pfaff tpf...@tp76.info wrote: Any developer in need of an Asus WL-138gE PCI wireless adapter? It's now taken.

Re: cwmrc(5) color options

2009-08-12 Thread Thomas Pfaff
of the font in the selected entry has also been one of the suggestions made by Thomas Pfaff. This seems to require a bit more work, unfortunately. Maybe I'll take a look at it later or someone else will step in. For the record, what I suggested on #openbsd was something like color menu fg/bg

cwm(1): rip windowspawn

2009-08-15 Thread Thomas Pfaff
Just a note that no more work will be done on my windowspawn diff as I've come to realize it might not end up being what I initially wanted. My reason for writing this was that I did not like my xterms overlapping completely without jerking the mouse first, but this can be solved in another way

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
On Mon, 17 Aug 2009 01:00:23 +0200 Jonathan Gray j...@goblin.cx wrote: /* XXX magic 0x1 */ - test1 |= LSHIFT(0x1, ATW_TEST1_DBGREAD_MASK) | ATW_TEST1_CONTROL; + test1 |= (0x1 ATW_TEST1_DBGREAD_SHIFT) | ATW_TEST1_CONTROL; I'm curious, what is the difference between 1 N and 0x1

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
On Mon, 17 Aug 2009 12:44:59 +0200 Jonathan Gray j...@goblin.cx wrote: On Mon, Aug 17, 2009 at 12:09:17PM +0200, Thomas Pfaff wrote: On Mon, 17 Aug 2009 01:00:23 +0200 Jonathan Gray j...@goblin.cx wrote: /* XXX magic 0x1 */ - test1 |= LSHIFT(0x1, ATW_TEST1_DBGREAD_MASK

Re: atw testers required

2009-08-17 Thread Thomas Pfaff
On Mon, 17 Aug 2009 14:26:08 +0200 Claudio Jeker cje...@diehard.n-r-g.com wrote: Seems a bit overkill to mark personal preference with XXX magic, but alright. I'll go with that explanation ;-) The magic is for the value 1 (it does not matter if written 1 or 0x1) it seems that for some

cwm: activate previous window on close

2009-08-19 Thread Thomas Pfaff
Here's a diff that activates the previously active window, or the window now under the cursor, when the current window is closed. This makes sure you don't necessarily have to move the mouse or cycle windows to make one active. Anyone for? Thomas Index: client.c

cwm: hmaximize

2009-08-20 Thread Thomas Pfaff
This diff adds a new command, hmaximize, that maximizes the current window horizontally. I find it useful when lines displayed by commands are longer than my xterm; this way I can quickly maximize horizontally and get the whole picture without lines wrapping. Comments? Index: calmwm.h

Re: cwm: hmaximize

2009-08-24 Thread Thomas Pfaff
On Mon, 24 Aug 2009 18:20:29 +0100 Owain Ainsworth zer...@googlemail.com wrote: On Mon, Aug 24, 2009 at 05:17:08PM +0100, Owain Ainsworth wrote: On Thu, Aug 20, 2009 at 01:50:37PM +0200, Thomas Pfaff wrote: This diff adds a new command, hmaximize, that maximizes the current window

Re: uaudio diff to test

2009-10-10 Thread Thomas Pfaff
On Sat, 10 Oct 2009 15:28:33 + Jacob Meuser jake...@sdf.lonestar.org wrote: please test with any and all USB audio devices. Works for me. OpenBSD 4.6-current (GENERIC.MP) #31: Sat Oct 10 18:41:10 CEST 2009 tpf...@ws.tp76.info:/usr/src/sys/arch/amd64/compile/GENERIC.MP [...] After

mixerctl(1) to sysctl(8); a simpler interface

2009-11-20 Thread Thomas Pfaff
Hi. I've been thinking a bit about how to simplify the audio interface in OpenBSD and I thought about sysctl. Personally I find the mixerctl interface horrible. 88 entries on my system, and I honestly do not understand what half of it is for ;-) I'm not trying to undermine the work put into

Re: mixerctl(1) to sysctl(8); a simpler interface

2009-11-20 Thread Thomas Pfaff
On Fri, 20 Nov 2009 15:45:31 +0100 Peter Hessler phess...@theapt.org wrote: mixerctl inputs.master=[0,255] mixerctl outputs.master=[0,255] those two should do what you want. the rest are there for people that like to poke at their audio bits. Well, inputs could be a line or a mic so

Re: mixerctl(1) to sysctl(8); a simpler interface

2009-11-20 Thread Thomas Pfaff
On Fri, 20 Nov 2009 18:01:24 +0100 Alexandre Ratchov a...@caoua.org wrote: I'm not trying to undermine the work put into this; it has been greatly improved over the last 6 months or so, but all I really want to do is simply adjust the input and output volume (and a few other things);

Re: mixerctl(1) to sysctl(8); a simpler interface

2009-11-21 Thread Thomas Pfaff
On Fri, 20 Nov 2009 20:29:08 +0100 Thomas Pfaff tpf...@tp76.info wrote: OK, I got the feedback I wanted. Thanks all. I'll continue hating mixerctl(1) and hope something more sane show up in the future ;-) That was a bit harsh. I do actually like mixerctl(1) for simpler devices, like my

Re: kernel hacking

2009-12-10 Thread Thomas Pfaff
On Thu, 10 Dec 2009 14:24:00 -0300 Robert Yuri robert.yu...@gmail.com wrote: which the best way to learn about OpenBSD kernel ? I found a bunch of docs from FreeBSD site such as developer's handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ , there any same that

cwm no blank labels

2010-01-17 Thread Thomas Pfaff
This diff disallows setting blank labels and pressing Esc while editing the current one will leave it unchanged. I don't see the point in allowing empty labels as the windows will just show up as blank entries in the menu. Also remove `current' variable and just use `cc-label'. Index: kbfunc.c

Re: uvm_fault in uvm_rb_space

2010-02-02 Thread Thomas Pfaff
On Mon, 1 Feb 2010 23:01:46 -0800 Greg Steuck g...@nest.cx wrote: The other day amd64 4.6-release-ish locked up on me while starting a bunch of programs in X. I think the standard answer here is can you please try running a current snapshot and report back of the issue remains?.

Documenting offsetof(3)

2010-02-17 Thread Thomas Pfaff
offsetof(3) is not documented so here's a man page for it. Is the text below enough or should it be more verbose? .Dt OFFSETOF 3 .Os .Sh NAME .Nm offsetof .Nd offset of a structure member .Sh SYNOPSIS .Fd #include stddef.h .Ft size_t .Fn offsetof type member .Sh DESCRIPTION The .Fn offsetof

Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Thomas Pfaff
On Mon, 01 Mar 2010 18:51:31 +0100 Giuseppe Magnotta giuseppe.magno...@gmail.com wrote: My question is, if this functionality is available in the BIOS, why can't we use it? I'm just jumping in here, but I think the obvious answer is; if it is not needed on any existing platform, what purpose

hw.sensors broke between 2010-04-15 and 2010-04-18

2010-04-24 Thread Thomas Pfaff
Hi. On my current system sysctl hw.sensors does not show anything anymore. Updating /usr/src/sys to 2010-04-15 gives me back the sensors. Updating /usr/src/sys to 2010-04-18 and the sensors are gone. Something between those two dates broke the sensors. I'm not really sure where to go from

top.c revision 1.74 broke 'g' command

2010-04-24 Thread Thomas Pfaff
So, let's see if I'm less stupid this time. Apr 24th snapshot. Running top(1) and using the 'g' command makes top(1) terminate with an error message saying top: Permission denied:. Running it as root says top: Undefined error:. Reverting top.c to revision 1.73 and recompiling makes it work

Re: top.c revision 1.74 broke 'g' command

2010-04-24 Thread Thomas Pfaff
On Sat, 24 Apr 2010 22:31:56 +0200 Thomas Pfaff tpf...@tp76.info wrote: Reverting top.c to revision 1.73 and recompiling makes it work again. And this diff should fix it (just an extra ; there) ... Index: top.c === RCS file

Re: top.c revision 1.74 broke 'g' command

2010-04-24 Thread Thomas Pfaff
On Sat, 24 Apr 2010 23:50:38 +0200 Thomas Pfaff tpf...@tp76.info wrote: On Sat, 24 Apr 2010 22:31:56 +0200 Thomas Pfaff tpf...@tp76.info wrote: Reverting top.c to revision 1.73 and recompiling makes it work again. And this diff should fix it (just an extra ; there) ... Oops

Fw: [patch] Re: fdisk and bootable flag

2010-05-12 Thread Thomas Pfaff
from misc@ (forgot to forward) On Tue, 11 May 2010 22:14:26 +0200 Thomas Pfaff tpf...@tp76.info wrote: On Tue, 11 May 2010 12:34:28 -0700 (PDT) stupidmail4me stupidmail...@yahoo.com wrote: Anyone know how to edit the default MBR record so fdisk -iy creates one partition with no bootable