tvl-depot/src/libutil
Eelco Dolstra 705868a8a9 * Make sure that config.h is included before the system headers,
because it defines _FILE_OFFSET_BITS.  Without this, on 
  OpenSolaris the system headers define it to be 32, and then 
  the 32-bit stat() ends up being called with a 64-bit "struct 
  stat", or vice versa.

  This also ensures that we get 64-bit file sizes everywhere.

* Remove the redundant call to stat() in parseExprFromFile().
  The file cannot be a symlink because that's the exit condition
  of the loop before.
2010-10-04 17:55:38 +00:00
..
archive.cc * Include config.h before the C library headers, because it defines 2009-12-17 14:12:44 +00:00
archive.hh Add an ftruncate call paired with fallocate to play safe with some FSes (namely, BtrFS fallocate sets file size to allocated size, i.e. multiple of block size) 2009-05-04 08:10:24 +00:00
hash.cc * Pass HashType values instead of strings. 2008-12-03 16:10:17 +00:00
hash.hh * Pass HashType values instead of strings. 2008-12-03 16:10:17 +00:00
Makefile.am * Don't use the ATerm library for parsing/printing .drv files. 2010-04-19 13:46:58 +00:00
md5.c * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
md5.h * Some Cygwin fixes. 2006-05-24 13:23:20 +00:00
md32_common.h * Add SHA-256. 2005-01-14 12:03:04 +00:00
serialise.cc * NAR archives: handle files larger than 2^32 bytes. Previously it 2009-03-22 17:36:43 +00:00
serialise.hh * NAR archives: handle files larger than 2^32 bytes. Previously it 2009-03-22 17:36:43 +00:00
sha1.c * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
sha1.h * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
sha256.c * Add SHA-256. 2005-01-14 12:03:04 +00:00
sha256.h * FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is 2005-05-04 16:32:54 +00:00
types.hh * Make sure that config.h is included before the system headers, 2010-10-04 17:55:38 +00:00
util.cc * In printMsg(), ignore failing writes to stderr if we're in an 2010-10-04 11:23:07 +00:00
util.hh * Don't use the ATerm library for parsing/printing .drv files. 2010-04-19 13:46:58 +00:00
xml-writer.cc Escape `>' signs in the XML output. 2010-03-31 08:29:01 +00:00
xml-writer.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00