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.
21 lines
280 B
C++
21 lines
280 B
C++
#ifndef __ATTR_PATH_H
|
|
#define __ATTR_PATH_H
|
|
|
|
#include "eval.hh"
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
|
|
namespace nix {
|
|
|
|
|
|
void findAlongAttrPath(EvalState & state, const string & attrPath,
|
|
const Bindings & autoArgs, Expr * e, Value & v);
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif /* !__ATTR_PATH_H */
|