forked from lix-project/lix
705868a8a9
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.
18 lines
306 B
C++
18 lines
306 B
C++
#ifndef __VALUE_TO_XML_H
|
|
#define __VALUE_TO_XML_H
|
|
|
|
#include "nixexpr.hh"
|
|
#include "eval.hh"
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
namespace nix {
|
|
|
|
void printValueAsXML(EvalState & state, bool strict, bool location,
|
|
Value & v, std::ostream & out, PathSet & context);
|
|
|
|
}
|
|
|
|
#endif /* !__VALUE_TO_XML_H */
|