From fa8bed77261fb9e4a0ec2b9be40c07908fc93116 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 3 Sep 2011 16:53:05 +0200 Subject: [PATCH] refactor fix: use hex timestamps --- src/parser.y | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/parser.y b/src/parser.y index 219dd5e5..2d78d1f6 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) {