Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2008 05:52:30 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive/test main.c test.h
Message-ID:  <200802190552.m1J5qUmP072948@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802190552.m1J5qUmP072948>