diff -Naur old/src/Makefile.am new/src/Makefile.am --- old/src/Makefile.am 2006-11-09 04:17:25.000000000 +1100 +++ new/src/Makefile.am 2012-10-25 12:36:30.872852391 +1100 @@ -11,4 +11,4 @@ noinst_HEADERS = inode.h inodescanner.h options.h inodevector.h fileinode.h \ dirinode.h device.h inodefactory.h recoverer.h unicode_to_utf8.h \ unallocatedinode.h symlinkinode.h specialinode.h -jfsrec_LDADD = -lboost_regex -lboost_program_options -lboost_filesystem +jfsrec_LDADD = -lboost_regex -lboost_program_options -lboost_filesystem -lboost_system diff -Naur old/src/Makefile.in new/src/Makefile.in --- old/src/Makefile.in 2007-03-17 06:25:11.000000000 +1100 +++ new/src/Makefile.in 2012-10-25 12:36:30.872852391 +1100 @@ -191,7 +191,7 @@ dirinode.h device.h inodefactory.h recoverer.h unicode_to_utf8.h \ unallocatedinode.h symlinkinode.h specialinode.h -jfsrec_LDADD = -lboost_regex -lboost_program_options -lboost_filesystem +jfsrec_LDADD = -lboost_regex -lboost_program_options -lboost_filesystem -lboost_system all: all-am .SUFFIXES: diff -Naur old/src/device.cpp new/src/device.cpp --- old/src/device.cpp 2007-03-17 06:31:04.000000000 +1100 +++ new/src/device.cpp 2012-10-25 12:36:30.872852391 +1100 @@ -20,6 +20,7 @@ //Parts of the code in this file was originally taken from JFS's xpeek (debugfs_jfs) #include "device.h" +#include #ifdef __linux__ #include #include @@ -55,15 +56,15 @@ blocksize_=blocksize; - file_ = fopen64(name.native_file_string().c_str(), "r"); + file_ = fopen64(name.string().c_str(), "r"); if (file_ == NULL) { - cerr << "Error: Cannot open device: '"<>log2blocksize)<di_size) || (last_write_time(p) > get_dinode()->di_otime.tv_sec))){ ++skipped; - cout <get_full_path()/path(name_,native)); + return (parent_->get_full_path()/path(name_)); }catch (filesystem_error e){ cerr<>20)<<"Mb"< #include "unicode_to_utf8.h" +#include #define JFS_PATH_MAX 4096 /*