[sleuthkit-developers] [ sleuthkit-Bugs-2944673 ] mac-robber needs updating
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2010-02-02 15:25:59
|
Bugs item #2944673, was opened at 2010-02-02 10:25 Message generated for change (Tracker Item Submitted) made by carrier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=2944673&group_id=55685 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Timeline Tools Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: Brian Carrier (carrier) Assigned to: Nobody/Anonymous (nobody) Summary: mac-robber needs updating Initial Comment: mac-robber needs to be updated to reflect the new body format. Reported by Andrew Hoog and Steve Bonds. Patch from Andrew: ahoog@wintermute:~/src/mac-robber-1.00$ diff /home/ahoog/mac-robber.c mac-robber.c 108c108,109 < printf("MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime\n"); --- > printf("md5|file|st_dev|st_ino|st_mode|st_ls|st_nlink|st_uid|st_gid|"); > printf("st_rdev|st_size|st_atime|st_mtime|st_ctime|st_blksize|st_blocks\n"); 286,291c287,297 < printf("0|%s|0|%s%s%s|%d|%d|%lu|%lu|%lu|0|%lu\n", < curpath, ls, ((sp.st_mode & S_IFMT) == S_IFLNK)?" -> ":"", < ((sp.st_mode & S_IFMT) == S_IFLNK)?linkpath:"", < (int)sp.st_uid, (int)sp.st_gid, (unsigned long)sp.st_size, < (unsigned long)sp.st_atime, (unsigned long)sp.st_mtime, < (unsigned long)sp.st_ctime); --- > printf("0|%s|%d|%lu|%lu|%s%s%s|%d|%d|%d|%d|%lu|%lu|%lu|%lu|%lu|%lu\n", > curpath, (int)sp.st_dev, (unsigned long)sp.st_ino, > (unsigned long)sp.st_mode, ls, > ((sp.st_mode & S_IFMT) == S_IFLNK)?" -> ":"", > ((sp.st_mode & S_IFMT) == S_IFLNK)?linkpath:"", > (int)sp.st_nlink, > (int)sp.st_uid, (int)sp.st_gid, (int)sp.st_rdev, > (unsigned long)sp.st_size, (unsigned long)sp.st_atime, > (unsigned long)sp.st_mtime, (unsigned long)sp.st_ctime, > (unsigned long)sp.st_blksize, (unsigned long)sp.st_blocks); > ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=2944673&group_id=55685 |