From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 09:00:39 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89D7916A420 for ; Thu, 18 Oct 2007 09:00:39 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id B21FF13C447 for ; Thu, 18 Oct 2007 09:00:38 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 57344 invoked from network); 18 Oct 2007 13:00:37 +0400 Received: from unknown (HELO Artem) (192.168.0.12) by 84.21.226.211 with SMTP; 18 Oct 2007 13:00:37 +0400 X-AntiVirus: Checked by Dr.Web [version: 4.44, engine: 4.44.0.09170, virus records: 249974, updated: 18.10.2007] Message-ID: <015d01c81165$56d248d0$0c00a8c0@Artem> From: "Artem Kuchin" To: "Artem Kuchin" , "David Xu" References: <00bd01c810ec$10371230$0c00a8c0@Artem><47171988.7040706@freebsd.org> <013c01c81164$628def90$0c00a8c0@Artem> Date: Thu, 18 Oct 2007 13:00:29 +0400 Organization: IT Legion MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Cc: freebsd-current@FreeBSD.org Subject: Re: Broken su in current - trying to fix myself, help needed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 09:00:39 -0000 > Though, i still dont; understand why tcgetpgrp return 100000 > (an unusually high number). arghh! heck! got it man tcgetpgrp If there is no foreground process group, tcgetpgrp() returns an invalid process ID. (missed the line in the man cuz was looking for RETURN VALUE section) -- Regards, Artem