Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 16:20:14 -0800 (PST)
From:      Mike Makonnen <mtm@identd.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/50118: calendar(1) dumps core if there is ./calendar/
Message-ID:  <200303200020.h2K0KElW076003@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/50118; it has been noted by GNATS.

From: Mike Makonnen <mtm@identd.net>
To: Kimura Fuyuki <fuyuki@hadaly.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, mark@grondar.org
Subject: Re: bin/50118: calendar(1) dumps core if there is ./calendar/
Date: Wed, 19 Mar 2003 19:11:21 -0500

 On Thu, 20 Mar 2003 08:34:48 +0900
 Kimura Fuyuki <fuyuki@hadaly.org> wrote:
 
 > 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 <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
 
 hmm
 
 We could add more checks, but we can't keep going on like that everytime
 something makes it dump core like that. Besides, there might be legitimate
 reasons why the calendar file might not be a text file. I wonder if the fix lies
 in cpp...
 I'm not familiar with cpp, but I'll look into it.
 
 Cheers.
 -- 
 Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
 mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303200020.h2K0KElW076003>