[darcs-devel] darcs patch: Improve error diagnostics in compat.c's careful_atomic...

Ralph Corderoy ralph at inputplus.co.uk
Mon Apr 18 06:07:00 PDT 2005


Sun Apr 17 23:54:10 BST 2005  Ralph Corderoy <ralph at inputplus.co.uk>
  * Improve error diagnostics in compat.c's careful_atomic_create().
  Add fprintf()s where there were none.  Ensure useful variables are
  printed in them.  Add error checking on gettimeofday().  Remove needless
  string termination immediately before snprintf().  Check return value
  against -1 since that's the defined interface and more idiomatic/simpler
  to parse than < 0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 59838 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20050418/7151b979/attachment.bin


More information about the darcs-devel mailing list