weirdo bug

Assar Westerlund assar at stacken.kth.se
Fri Mar 31 20:27:08 CEST 2000


sperber at informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:
> Both my co-worker and I see a weird bug connected with Emacs's dumping
> with arla 0.32 on FreeBSD 4.0-RELEASE:
> 
> Symptom is that the dumped Emacs (or XEmacs) or a copy of it will
> execute a few times, and then report an invalid file format and
> refuse.  The refusal persists.  "file" reports a Windows COFF file, of
> all things ...  Methinks arla is not writing out the correct data, and
> things only work until the cache gets re-updated from the server.
> I'll try to provide more data soon.

Can you try the appended patch and tell us if that solves the problem?

/assar

Index: xfs_vnodeops-bsd.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_vnodeops-bsd.c,v
retrieving revision 1.72
diff -u -w -u -w -r1.72 xfs_vnodeops-bsd.c
--- xfs_vnodeops-bsd.c	2000/03/22 18:04:14	1.72
+++ xfs_vnodeops-bsd.c	2000/03/31 18:26:52
@@ -882,7 +882,10 @@
         IN vm_ooffset_t offset;
 	*/
 {
+    struct xfs_node *xn = VNODE_TO_XNODE(ap->a_vp);
+
     XFSDEB(XDEBVNOPS, ("xfs_putpages\n"));
+    xn->flags |= XFS_DATA_DIRTY;
 
 #if HAVE_KERNEL_VNODE_PAGER_GENERIC_PUTPAGES
     return vnode_pager_generic_putpages (ap->a_vp, ap->a_m, ap->a_count, 





More information about the Arla-drinkers mailing list