lix/src/libutil
Eelco Dolstra b9c2b4d5b4 Remove setting of the immutable bit
Using the immutable bit is problematic, especially in conjunction with
store optimisation.  For instance, if the garbage collector deletes a
file, it has to clear its immutable bit, but if the file has
additional hard links, we can't set the bit afterwards because we
don't know the remaining paths.

So now that we support having the entire Nix store as a read-only
mount, we may as well drop the immutable bit.  Unfortunately, we have
to keep the code to clear the immutable bit for backwards
compatibility.
2012-09-19 16:17:54 -04:00
..
archive.cc * Revert r15436. This was a workaround for a bug in btrfs which seems 2010-05-04 12:42:58 +00:00
archive.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
hash.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
hash.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
immutable.cc Remove setting of the immutable bit 2012-09-19 16:17:54 -04:00
immutable.hh Remove setting of the immutable bit 2012-09-19 16:17:54 -04:00
Makefile.am Drop the externals directory 2012-03-18 23:54:57 +01: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 Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
serialise.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04: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 Include config.h before any other header 2012-09-11 14:45:42 -04:00
util.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
util.hh Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
xml-writer.cc Escape `>' signs in the XML output. 2010-03-31 08:29:01 +00:00
xml-writer.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00