cvs commit: src/lib/libarchive/test main.c test.h

Tim Kientzle kientzle at FreeBSD.org
Mon Feb 18 21:52:30 PST 2008


kientzle    2008-02-19 05:52:30 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive/test  main.c test.h 
  Log:
  The test_assert() function that backs my custom assert() macro
  now returns a value, which supports such convenient
  constructs as:
     if (assert(NULL != foo())) {
     }
  
  Also be careful to setlocale("C") for each new test to
  avoid locale pollution.
  
  Also a couple of minor portability enhancements.
  
  Revision  Changes    Path
  1.10      +7 -7      src/lib/libarchive/test/main.c
  1.8       +5 -2      src/lib/libarchive/test/test.h


More information about the cvs-all mailing list