X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2FnodeSet.ml;h=142476be16f232230f8e0bddf0aecce3baca5f79;hb=577e04ded43baa0582530316da40777884031dc8;hp=ad3768b1a841ea704073af0776e6ef9e0812e91b;hpb=1e5a0a6e72f96cf139b6da5511fab850f5da5b84;p=SXSI%2Fxpathcomp.git diff --git a/src/nodeSet.ml b/src/nodeSet.ml index ad3768b..142476b 100644 --- a/src/nodeSet.ml +++ b/src/nodeSet.ml @@ -192,8 +192,10 @@ module Mat : S with type t = Tree.node mat = Unix.openfile name [ Unix.O_WRONLY; Unix.O_TRUNC; Unix.O_CREAT ] 0o666, Unix.close in + ignore (Unix.write fd "\n" 0 13); iter (fun node -> Tree.print_xml v node fd) l; Tree.flush v fd; + ignore (Unix.write fd "\n" 0 14); finish fd end