From owner-freebsd-bugs Wed Mar 19 15:40:10 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1F8D37B401 for ; Wed, 19 Mar 2003 15:40:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AF1C43FBF for ; Wed, 19 Mar 2003 15:40:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2JNe9NS064818 for ; Wed, 19 Mar 2003 15:40:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2JNe8Oc064817; Wed, 19 Mar 2003 15:40:08 -0800 (PST) Date: Wed, 19 Mar 2003 15:40:08 -0800 (PST) Message-Id: <200303192340.h2JNe8Oc064817@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kimura Fuyuki Subject: Re: bin/50118: calendar(1) dumps core if there is ./calendar/ Reply-To: Kimura Fuyuki Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/50118; it has been noted by GNATS. From: Kimura Fuyuki To: mtm@identd.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG, mark@grondar.org Subject: Re: bin/50118: calendar(1) dumps core if there is ./calendar/ Date: Thu, 20 Mar 2003 08:34:48 +0900 At Wed, 19 Mar 2003 10:51:16 -0500, Mike Makonnen wrote: > > We don't support the 'f' mode and since it's non-standard I don't know if it has > a chance of making it in. However, stat(2) will also work just fine, as you > pointed out. Patch attached. Your patch works fine for non-regular files, but I found another problem... # cd /usr/bin # ls -l calendar -r-xr-xr-x 1 root wheel 20296 Mar 20 08:30 calendar # ./calendar cpp: Internal error: Segmentation fault (program tradcpp0) Please submit a full bug report. See for instructions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message