Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
Re: [opensuse-buildservice] Build error with getpgrp function
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Thu, 15 Feb 2007 10:35:54 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0702151027280.19904@xxxxxxxxxxxxxxxxx>
Hello,

I found my getpgrp problem:

The check tests like this:

int main() { if(getpgrp() == 0) printf("0\n"); else printf("1\n"); return 0;}

It must be getpgrp() == -1 :-)

Seems nobody ever noticed. Nobody ever build the package in root mode.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >