[1090] in BarnOwl Developers
[D-O-H] r1058 - trunk/owl
daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:12:54 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@mit.edu
From: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue, 27 May 2008 14:16:46 -0400 (EDT)
Author: asedeno
Date: 2008-05-27 14:16:46 -0400 (Tue, 27 May 2008)
New Revision: 1058
Modified:
trunk/owl/functions.c
Log:
Don't fail silently when sourcing a file; actually let the user know.
Modified: trunk/owl/functions.c
===================================================================
--- trunk/owl/functions.c 2008-05-27 03:31:17 UTC (rev 1057)
+++ trunk/owl/functions.c 2008-05-27 18:16:46 UTC (rev 1058)
@@ -3518,7 +3518,7 @@
file=fopen(filename, "r");
}
if (!file) {
- /* just fail silently if it doesn't exist */
+ owl_function_error("Error opening file: %s", filename);
return;
}
while (fgets(buff, LINE, file)!=NULL) {