diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-03 14:53:05 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-03 14:53:05 (GMT) |
commit | fa8bed77261fb9e4a0ec2b9be40c07908fc93116 (patch) | |
tree | 1596daad3cbda108c8d0406a50b4445a1f85e994 /src/parser.y | |
parent | acfd1e1b19eeffc62f66f9ff52605303fd0eb2d5 (diff) |
refactor fix: use hex timestamps
Diffstat (limited to 'src/parser.y')
-rw-r--r-- | src/parser.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.y b/src/parser.y index 219dd5e..2d78d1f 100644 --- a/src/parser.y +++ b/src/parser.y @@ -619,8 +619,7 @@ Module *Module::compile_library(std::string filename) stat(filename.c_str(), &st); std::stringstream idstream; - // FIXME: stream as hex - idstream << st.st_mtime << "." << st.st_size; + idstream << std::hex << st.st_mtime << "." << st.st_size; std::string cache_id = idstream.str(); if (libs_cache.find(filename) != libs_cache.end() && libs_cache[filename].cache_id == cache_id) { |