[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41945: calendar(1) doesn't recognize days of the week correctly sometimes
The following reply was made to PR bin/41945; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>
Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/41945: calendar(1) doesn't recognize days of the week
Date: Wed, 21 Oct 2009 04:07:50 +0700
Date: Tue, 20 Oct 2009 15:20:44 +0200
From: Thomas Klausner <wiz%NetBSD.org@localhost>
| Perhaps because that file tries including other files and those are
| not found since CALENDAR_DIR is not set (the files are in the same
On this part, I believe that files included (if not including a
full path name) are searched for in either CALENDAR_DIR (if given) or
$HOME (otherwise), and also /usr/share/calendar (and most probably
Unlike C, the directory containing the canendar file, unless it is one
of the above, is not searched (not even for #include "file") - it can't
be, as cpp has no idea where that would be (it is passed the calendar file
via stdin, not via a path name arg).
This is probably all bogus, when I make a patch, I'll see if I can make
that more rational.
| There is no error message though.
This one I'm not sure I understand (yet), I see nothinh that should
inhibit cpp error messages, but I'm also not sure I really understand gcc's
Main Index |
Thread Index |