Re: GPG encryption of binary sample requested.

2008-07-13 Thread Heiko Wundram
you can use procmail to do the delivery, which also sports maildir support. -- Heiko Wundram ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Heiko Wundram
library functions is a performance killer, and secondly, it's the friggin' programmers responsibility to make sure his input is in the input domain for the functions he calls. If he doesn't/can't do that, he should look for another job. -- Heiko Wundram __

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Heiko Wundram
ed as having undefined behaviour (a NULL pointer is defined in such a way at other points of the standard), do not expect to get defined behaviour out. What the standard talks about is when the memory for the duplicate string cannot be allocated, WHEN you pass in a valid pointer. -- Heiko Wundram

Re: valgrind on FreeBSD 7

2008-03-20 Thread Heiko Wundram
e is anybody who's regularily cutting releases from the perforce tree, if you'd be so kind to give me a hint when a new release is available, I'd be more than grateful to give it a run! Thanks! -- Heiko Wundram ___ freebsd-hackers

valgrind on FreeBSD 7

2008-03-17 Thread Heiko Wundram
ich I find absolutely horrible). Thanks for any pointer/hint/message! -- Heiko Wundram ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: usleep

2008-02-25 Thread Heiko Wundram (Beenic)
Am Montag, 25. Februar 2008 14:15:46 schrieb Robert Woolley: > On Mon, 25 Feb 2008 10:39:59 +0100 > "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> wrote: > > Am Montag, 25. Februar 2008 10:10:56 schrieb Sharad Chandra: > > > So does it mean, freebsd has limitati

Re: usleep

2008-02-25 Thread Heiko Wundram (Beenic)
the times until the timeout is lower or equal to the current time. That should get you the timing resolution you need/want (mostly). Other than that, I'm not into NIC programming either, so I can't help you for the rest... -- Heiko Wundram Product & Application Development _

Re: usleep

2008-02-25 Thread Heiko Wundram (Beenic)
ed (and in this "active scheduling" case the time-slice "rule" doesn't apply). If you give some more info on what you're trying to do (and why you need such a high resolution sleep), maybe someone will be able to help you better and show you how to achieve wh

Re: usleep

2008-02-22 Thread Heiko Wundram (Beenic)
equested due to the scheduling of other activity by the system. """ See the last sentence, specifically. So, yes, the behaviour you're seeing is pretty much expected, simply because _user_ processes are scheduled in timeslices, which depend on the HZ setting of the kernel.

OT: Stream structures in bzlib and zlib

2008-02-21 Thread Heiko Wundram (Beenic)
get a SIGSEGV), is there anyone out there who's hit the same "problem" before and might shed some more insight whether I'll have to copy the data before setting it up in a stream structure as input? Thanks for any reply! -- Heiko Wundram Product & Application Develop

Re: valgrind or workalike on FreeBSD/amd64 7.0/8.0?

2008-02-18 Thread Heiko Wundram (Beenic)
t week (haven't done a csup since then), I'll gladly try again, but AFAIK, nothing's changed (i.e., it doesn't work on 7 so far). -- Heiko Wundram Product & Application Development ___ freebsd-hackers@freebsd.org mailing list htt

Re: valgrind or workalike on FreeBSD/amd64 7.0/8.0?

2008-02-18 Thread Heiko Wundram (Beenic)
ters for it), because currently I always (have to try to) compile applications I want to memcheck (which is my main reason for using valgrind) on Linux, which is a slight PITA. I'd be running it on i386, anyway. Thanks for any feedback in advance, and thanks for the effort! -- Heiko Wundram Produ

getaddrinfo() spec doesn't match behaviour

2008-02-03 Thread Heiko Wundram (Beenic)
ling is that it simply isn't implemented (completely), or there's any other reason for AI_MASK not to contain these flags that I haven't grasped so far. If anyone out there can shed a hint on this, I'd be grateful, even if it's just the fact that my netdb.h installa

Re: OT: getting the protocol family of a file descriptor

2008-02-01 Thread Heiko Wundram (Beenic)
Am Freitag, 1. Februar 2008 14:07:48 schrieb Dag-Erling Smørgrav: > "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> writes: > > At the moment, there are two different kinds of connections being > > handled by front-end plugins (which basically accept on a listeni

Re: OT: getting the protocol family of a file descriptor

2008-01-31 Thread Heiko Wundram (Beenic)
Am Donnerstag, 31. Januar 2008 17:50:20 schrieb Dag-Erling Smørgrav: > "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> writes: > > Currently, you're basically required to do a getsockname to a struct > > sockaddr_storage and typecast that to the actual socket ad

Re: OT: getting the protocol family of a file descriptor

2008-01-31 Thread Heiko Wundram (Beenic)
Am Donnerstag, 31. Januar 2008 16:31:32 schrieben Sie: > "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> writes: > > I'm currently in the need to get the protocol family that was used to > > create a socket (and passed via a unix domain socket to another > >

Re: [OT] Q: what would you choose for a VCS today

2008-01-31 Thread Heiko Wundram (Beenic)
store takes ages, at least over a slow link, the last time I had to do this [but I don't know if any progress has been made there]), but for me, it's been working fine for the daily needs I have as a developer. -- Heiko Wundram Product & Application Development _

OT: getting the protocol family of a file descriptor

2008-01-31 Thread Heiko Wundram (Beenic)
ket (which currently matches the socket domain and historically has, but why take the chances ;-)). Is there any other "better" way to get at the domain (protocol family) of a socket? -- Heiko Wundram Product & Application Development - Office Germ

Re: Graceful failure instead of panicking in kmem_malloc

2008-01-09 Thread Heiko Wundram (Beenic)
a clean and initialized state than to "randomly" kill user processes and leave it crippled but (somewhat) running (with sshd possibly killed off, which is especially bad on remote boxes), as basically to recover cleanly from the OOM-killer striking, you're going to have to re

Re: OT: C++ Template Functions

2007-12-27 Thread Heiko Wundram (Beenic)
plain better what I'm trying to say, because I guess the problem isn't easily explained in words. -- Heiko Wundram Product & Application Development ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/f

Re: OT: C++ Template Functions

2007-12-27 Thread Heiko Wundram (Beenic)
Am Donnerstag, 27. Dezember 2007 16:42:29 schrieb Erich Dollansky: > Hi, > > Heiko Wundram (Beenic) wrote: > > The problem is most probably related to the fact that the group of member > > functions is only discriminated by return type (i.e., the template > > parame

OT: C++ Template Functions

2007-12-27 Thread Heiko Wundram (Beenic)
ompile this code, no matter what I try to change the x->test expression to. It does compile the code if the type of x is not defined via a template parameter in test2. If this is against the specs, please tell me, otherwise, looking forward to any hints on what may cause this!

List reposts from mx.kash.tomsk.ru

2007-11-23 Thread Heiko Wundram (Beenic)
UTC) (envelope-from [EMAIL PROTECTED]) --- (which clearly has the same headers as the repost until after Mailman starts delivering it over the mailinglist). Thanks. -- Heiko Wundram Product & Application Development ___ freebsd-hackers@f

Re: permission denied to properly chmod'd files

2007-07-17 Thread Heiko Wundram (Beenic)
ver had this problem on Cacti on the other distros I've worked > > with (mostly Debian and RHEL/CentOS) and am wondering if it is a > > FreeBSD oddity that I'm not understanding. > Just because you didn't say: FreeBSD is not a Linux distri

Re: Large gap between fwrite and write, and fread and read

2007-07-16 Thread Heiko Wundram (Beenic)
fo, "check the (POSIX-)specs" (TM) ;-). -- Heiko Wundram Product & Application Development - Office Germany - EXPO PARK HANNOVER Beenic Networks GmbH Mailänder Straße 2 30539 Hannover Fon+49 511 / 590 935 - 15 Fax+49 511 / 59

Re: Large gap between fwrite and write, and fread and read

2007-07-16 Thread Heiko Wundram (Beenic)
tive of a libc implementation, whereas man2 generally contains syscall documentation) -- Heiko Wundram Product & Application Development - Office Germany - EXPO PARK HANNOVER Beenic Networks GmbH Mailänder Straße 2 30539 Hannover Fon+49 511 / 590