wondering about makes.SILENT

2009-02-08 Thread Dag Leine
Hi, I've just played with make and the .SILENT: target. Normally this suppress echoing the command as expected. But some special targets like .BEGIN, .END and .INTERRUPT seams to ignore it. Reading the code I've seen this kind of silence is set in Job_CheckCommands(). But this routine will only b

popen(2)

2007-03-03 Thread Dag Leine
Hallo, I've just played aroudn with the popen(2)-call. After getting a segmentation fault on a quite old OpenBSD 3.8 machine I've tried to understand the source. /usr/src/lib/libc/gen/popen.c what I am missing is the initialization of *pidlist. If I initialize this static pointer with NULL e

Re: popen(2)

2007-03-04 Thread Dag Leine
> static struct pid { > // ... > } *pidlist; > > is defined at file scope (and static). It should be initialised to the > default value 0 by the compiler. this I've not known until now > > Your testprogram also looks ok, are you sure this machine doesn't have > a hardware problem? > > T

fdisk - print units

2007-06-03 Thread Dag Leine
Hi, sometimes I'm simply looking for the size (e.g. in GB) of the slices of an i386 Harddisk. I can get it using the fdisk(8) inline editor with 'p g' but I haven't found how do get it without starting the editor, so I've pached fdisk. Maybe someone is interested in the patch or have a comment o

ioapic with single core kernel?

2007-09-22 Thread Dag Leine
nce sysctl -> hw.setperf disappears in the mp-kernel regardless using acpi or not, I'd like to add ioapic to the GENERIC kernel. Are there any sugestions? Thx and regards Dag Leine OpenBSD 4.1 (GENERIC) #4: Sat Sep 22 11:00:34 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GEN

umts cell phone as modem

2007-09-22 Thread Dag Leine
nd read from it. While sending seams to work, there is no answer from the cell phone. Please can anyone give me a hint how to get the communication workin? (The cell phone is ok, under Windows I can talk to it with an teminal client an com4) regards Dag Leine OpenBSD 4.1 (GENERIC) #1435