[347] in bug-owl
load-subs doesn't print errors
daemon@ATHENA.MIT.EDU (Arun A. Tharuvai)
Thu Aug 12 23:13:04 2004
Date: Thu, 12 Aug 2004 23:12:58 -0400 (EDT)
From: "Arun A. Tharuvai" <aat@alum.MIT.EDU>
Reply-To: "Arun A. Tharuvai" <aat@alum.MIT.EDU>
To: bug-owl@ktools.org
cc: aat@alum.MIT.EDU
Message-ID: <Pine.GSO.4.55L.0408122257570.20690@multics.mit.edu>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1836660416-1092366778=:20690"
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-1836660416-1092366778=:20690
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
The 'load-subs' command prints out "Subscribed to messages from file" even
if the file doesn't exist. In owl_zephyr_loadsubs() in zephyr.c, 0 was
being returned if stat failed, instead of -1. Here's a patch that fixes
this.
Arun
---559023410-1836660416-1092366778=:20690
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="owl.loadsubsfix"
Content-ID: <Pine.GSO.4.55L.0408122312580.20690@multics.mit.edu>
Content-Description:
Content-Disposition: attachment; filename="owl.loadsubsfix"
Content-Transfer-Encoding: BASE64
SW5kZXg6IHplcGh5ci5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1Mg
ZmlsZTogL21pdC9rdG9vbHMvc3JjL293bC9yZXBvc2l0b3J5L293bC96ZXBo
eXIuYyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDcNCmRpZmYgLXUgLXUg
LXIxLjQ3IHplcGh5ci5jDQotLS0gemVwaHlyLmMJMTggQXByIDIwMDQgMTU6
NTU6NDIgLTAwMDAJMS40Nw0KKysrIHplcGh5ci5jCTEzIEF1ZyAyMDA0IDAz
OjA5OjA0IC0wMDAwDQpAQCAtODcsNyArODcsNyBAQA0KICAgfQ0KIA0KICAg
cmV0PXN0YXQoc3Vic2ZpbGUsICZzdGF0YnVmZik7DQotICBpZiAocmV0KSBy
ZXR1cm4oMCk7DQorICBpZiAocmV0KSByZXR1cm4oLTEpOw0KIA0KICAgcmV0
PTA7DQogDQo=
---559023410-1836660416-1092366778=:20690--