[318] in BarnOwl Developers
[D-O-H] r465 - / trunk/owl
daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:04:52 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue, 21 Nov 2006 10:43:37 -0500 (EST)
Author: nelhage
Date: 2006-11-21 10:43:37 -0500 (Tue, 21 Nov 2006)
New Revision: 465
Modified:
/
trunk/owl/zephyr.c
Log:
r24104@heretique: nelhage | 2006-11-21 10:43:31 -0500
Fixing segfault on subbing without a .zephyr.subs file
Property changes on:
___________________________________________________________________
Name: svk:merge
- 6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:23965
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
+ 6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:24104
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
Modified: trunk/owl/zephyr.c
===================================================================
--- trunk/owl/zephyr.c 2006-11-14 14:44:50 UTC (rev 464)
+++ trunk/owl/zephyr.c 2006-11-21 15:43:37 UTC (rev 465)
@@ -631,10 +631,10 @@
return;
}
}
+ fclose(file);
}
/* if we get here then we didn't find it */
- fclose(file);
file=fopen(subsfile, "a");
if (!file) {
owl_function_error("Error opening file %s for writing", subsfile);