[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#458246: report xrdb: filename:, not <stdin>



jidanni@jidanni.org wrote:
$ xrdb zz
<stdin>:42:20: warning: missing terminating ' character

I clearly gave it a filename, as the xrdb man page instructs, but
instead it reports "<stdin>". This causes _many hours_ of chasing down
the source of errors when used in scripts!


xrdb invokes cpp with your file as stdin. This first warning comes from cpp, that's why the warning talks about <stdin>, as opposed to other warnings that are issued by xrdb itself.

As always, patches are welcome. Given how simple this program is, it would be a good programming exercise for anybody, even a newbie.

Brice




Reply to: