CVSROOT:        /home/x-cvs
Module name:    xc
Changes by:     [EMAIL PROTECTED]       02/12/09 19:59:04

Log message:
  o Fix two bugs show by the new file test/regex.lsp:
    + when compiling with RE_NOSUB only one result is returned; actually
      this is a xedit regex extension, NOSUB is mean't to only know if
      regex matches or not, but in xedit regex it means that parenthesis
      are used only for grouping patterns.
    + was not returning group offsets for zero length matches.
  o Fix some problems with lisp function open when using it to merely
    test the existence of a file, i.e. using :if-exists of
    :if-does-not-exist set to nil.
  
    These tests showed some possibilities to do when a more complete
  io code be rewritten, one nice thing to have would probably be only
  literaly create the file when the first write is done, so that for
  example, if an error happens and the file stream is garbage collected
  (or it is never cosed), and nothing was written, an empty file would
  not be created.
  
    The tests should also be merged, almost all test files have the test
  functions redefined, probably a Makefile options, something like:
  make test

Modified files:
      xc/programs/xedit/lisp/:
        regex.c stream.c 
      xc/programs/xedit/lisp/test/:
        stream.lsp 
Added files:
      xc/programs/xedit/lisp/test/:
        regex.lsp 
  
  Revision      Changes    Path
  1.9           +17 -16    xc/programs/xedit/lisp/regex.c
  1.21          +41 -43    xc/programs/xedit/lisp/stream.c
  1.4           +53 -10    xc/programs/xedit/lisp/test/stream.lsp

_______________________________________________
Cvs-commit mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/cvs-commit

Reply via email to