Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 00:43:25 +0100 (CET)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        freebsd-current@FreeBSD.org
Subject:   calendar(1) badly crashes
Message-ID:  <XFMail.20030122004325.riccardo@torrini.org>

next in thread | raw e-mail | index | archive | help
I (by mistake) passed a directory instead of a file to calendar(1):

# uname -v
FreeBSD 5.0-CURRENT #52: Sat Jan 18 00:40:27 CET 2003 ...

# calendar -f /some.missing.file.or.dir
calendar: no calendar file: ``/some.missing.file.or.dir''

# calendar -f /etc
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.

This happens also on previous versions at least up to 11.1.2003.
Under 4.x it works a bit better (but don't show file/dir name):

# uname -v
FreeBSD 4.7-STABLE #33: Thu Oct 24 04:24:42 CEST 2002 ...

# calendar -f /some.missing.file.or.dir
calendar: no calendar file: ``/some.missing.file.or.dir''

# calendar -f /etc
cpp0: Input file `' is a directory


Riccardo.

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




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