ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] AC_FUNC_SETPGRP
@ 2006-03-28 16:19 Valery V. Inozemtsev
  2006-03-28 16:22 ` Valery V. Inozemtsev
  2006-03-28 16:54 ` Dmitry V. Levin
  0 siblings, 2 replies; 6+ messages in thread
From: Valery V. Inozemtsev @ 2006-03-28 16:19 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

Добрый вечер.

Терзают меня смутные сомнения... в configure есть макрос AC_FUNC_SETPGRP, 
после его выполненя получаем #define SETPGRP_VOID 1 и есть вот такой код:

#define setpgrp setpgid
...
#ifndef SETPGRP_VOID
#if !(defined(SVR4) && defined(i386))
        setpgrp ();
#endif
#else
        setpgrp (0, getpid ());
        sigsetmask (0);
#endif

вот я сежу и думаю кто здесь не прав - autoconf или #define setpgrp setpgid 
здесь лишний?

-- 
Valery V. Inozemtsev

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-29  5:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-28 16:19 [devel] AC_FUNC_SETPGRP Valery V. Inozemtsev
2006-03-28 16:22 ` Valery V. Inozemtsev
2006-03-28 16:54 ` Dmitry V. Levin
2006-03-28 17:11   ` Valery V. Inozemtsev
2006-03-28 20:44     ` Dmitry V. Levin
2006-03-29  5:39       ` Valery V. Inozemtsev

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git