Dave Peticolas wrote:
>
> > It's been rumoured that Rob Browning said:
> > >
> > > Linas, make sure that that FileIO patch gets in *everywhere*. Also,
> >
> > ? Is that one deeper in my mailbox somewhere? I didn't see it in Dave's
> > tarball.
>
> Rob posted this on the patch list about a week (?) ago.
> It wasn't in my patch.
>
> dave
>
> --
> Gnucash Developer's List
> To unsubscribe send empty email to: [EMAIL PROTECTED]
I believe this is the patch in question?
Index: src/engine/FileIO.c
===================================================================
RCS file: /home/cvs/cvsroot/xacc/src/engine/FileIO.c,v
retrieving revision 1.49
diff -u -r1.49 FileIO.c
--- FileIO.c 1999/08/04 05:03:26 1.49
+++ FileIO.c 1999/11/10 17:14:18
@@ -1362,7 +1362,14 @@
err = xaccWriteAccountGroup (fd, grp);
- close(fd);
+ if(0 != err)
+ {
+ /* Just close it and return the earlier error. */
+ close(fd);
+ return err;
+ }
+
+ err = close(fd);
return err;
}
--
Jeremy Collins
[EMAIL PROTECTED]
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]