official pkg repo with WITHOUT_X11=true

2014-05-28 Thread Dirk Engling
Hey, I wonder if there is or there are any plans to provide an official repo suitable for a typical non-desktop-installation, i.e. with WITHOUT_QT4=true WITHOUT_X11=true set during poudriere builds. Default options for some graphic related ports like graphics/gd unfortunally litter all my

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-14 Thread Dirk Engling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13.03.13 23:08, Pawel Jakub Dawidek wrote: I think I considered something similar at first, but the change I proposed was optimal, IMHO at the cost of producing pretty large diff, because of indentation change. But to be sure, can you send a

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-14 Thread Dirk Engling
On Thu, 14 Mar 2013, Pawel Jakub Dawidek wrote: Right. Your patch assumes EWOULDBLOCK is equal to EAGAIN, which is true on FreeBSD, but is not portable. Also in case pidptr is NULL you compare errno three times instead of just one (not a big deal of course, just something that could be done a

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-14 Thread Dirk Engling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.03.13 17:29, Pawel Jakub Dawidek wrote: Heh, I did consider that as well, but here you check errno twice, instead of once. Guys, is there anything wrong with the patch I proposed? Except some obvious bike shed color issues there is

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-13 Thread Dirk Engling
On Wed, 13 Mar 2013, Pawel Jakub Dawidek wrote: How about this patch? http://people.freebsd.org/~pjd/patches/pidfile.c.patch If you move the lines + if (errno == 0 || errno == EAGAIN) + errno = EEXIST; out of the

pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-12 Thread Dirk Engling
While debugging my own daemon I noticed that pidfile_open does not perform the appropriate checks for a running daemon if the caller does not provide a pidptr to pidfile_open fd = flopen(pfh-pf_path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NONBLOCK, mode); fails when another

RE: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecent -CURRENT when trying to build ports/x11/XFree86-4

2002-07-11 Thread Dirk Engling
Dear Matthew That is because cc is used for linking instead of c++, go to the Makefile in glxinfo and change the line, with LINKFORTARGET or LINKER (don't have the makefile any more, so look for the actual line) from $CC to $CPP and there you go. Regards erdgeist On Thu, 11

gcc-3.1 Mozilla Build Fails

2002-07-10 Thread Dirk Engling
Maybe this would be more interesting to the mozilla guys but mozilla compiles on 2.95.3, so I think, the problem is related to gcc-3.1 (cd /usr/ports/www/mozilla/work/mozilla/dist/bin; /usr/bin/env LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; echo skin,install,select,classic/1.0

Fatal double fault

2002-07-07 Thread Dirk Engling
Fatal double fault: eip = 0xc01f75ba esp = 0xcdcecff8 ebp = 0xcdced03c panic: double fault Debugger(panic) Stopped atDebugger+0x45:xchgl %ebx,in_Debugger.0 db trace Debugger(c02324bfc) at Debugger+0x45 panic(c034cf19,c034d445,cdced03c,0,0) at panic+0x74

process state problems

2002-07-05 Thread Dirk Engling
[ erdgeist@bauklotz:~/Coding ] 20:59:14 $ less test.c int main( ) { char a; a = getchar(); return a; } [ erdgeist@bauklotz:~/Coding ] 20:59:19 $ ./test ^Z [1]+ Stopped ./test [ erdgeist@bauklotz:~/Coding ] 20:59:26 $ bg bash: bg: bg background job? [