From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 1 14:39:33 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DDF916A41C; Fri, 1 Jul 2005 14:39:33 +0000 (GMT) (envelope-from imura@ryu16.org) Received: from mail.ryu16.org (usen-221x249x107x70.ap-US01.usen.ad.jp [221.249.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6016143D1D; Fri, 1 Jul 2005 14:39:31 +0000 (GMT) (envelope-from imura@ryu16.org) Received: from redeye.xt.ryu16.org (localhost [127.0.0.1]) by mail.ryu16.org (8.12.9p1/8.12.9) with ESMTP id j61EdVn7054711; Fri, 1 Jul 2005 23:39:31 +0900 (JST) (envelope-from imura@redeye.xt.ryu16.org) Received: (from imura@localhost) by redeye.xt.ryu16.org (8.12.9p1/8.12.9/Submit) id j61EdUtY054709; Fri, 1 Jul 2005 23:39:30 +0900 (JST) (envelope-from imura) Date: Fri, 1 Jul 2005 23:39:30 +0900 From: "R. Imura" To: John Baldwin Message-ID: <20050701143930.GA54441%imura@ryu16.org> References: <20050620152649.GA1201@stack.nl> <20050701053937.GA40965%imura@ryu16.org> <200507010940.13672.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507010940.13672.jhb@FreeBSD.org> User-Agent: Mutt/1.4.1i-ja.1 Cc: freebsd-hackers@FreeBSD.org, Jilles Tjoelker Subject: Re: what(1) on kernel binary X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 14:39:33 -0000 Hi, On Fri, Jul 01, 2005 at 09:40:12AM -0400, John Baldwin wrote: > does sccs[] only need to include the version up to the first \n? bde@ noticed > that what seemed to stop once it hit \n. what.c says like this. while ((c = getchar()) != EOF && c && c != '"' && c != '>' && c != '\\' && c != '\n') putchar(c); According to cvs repo, \n is a terminater since 4.4BSD Lite. I don't know before 4.4BSD Lite. I don't know about sccs neither. Regards, - R. Imura