summaryrefslogtreecommitdiffstats
path: root/src/rfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-02-25 13:47:40 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-02-25 13:47:40 +0100
commite390547a3f698560ec5bc03deca5956ed03b0e69 (patch)
tree8f096b652ccd898ce89ee96665e5600dfce1d522 /src/rfs_dir.c
parent4d4743073f32df4c4c0cc94bc463db1c971a9f14 (diff)
file undelete for FAT filesystem
Diffstat (limited to 'src/rfs_dir.c')
-rw-r--r--src/rfs_dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rfs_dir.c b/src/rfs_dir.c
index 8a3dab1..9b1f39c 100644
--- a/src/rfs_dir.c
+++ b/src/rfs_dir.c
@@ -2,7 +2,7 @@
File: rfs_dir.c
- Copyright (C) 1998-2007 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 1998-2008 Christophe GRENIER <grenier@cgsecurity.org>
Some code from Yury Umanets <torque@ukrpost.net>
This software is free software; you can redistribute it and/or modify
@@ -438,6 +438,7 @@ static file_data_t *reiser_dir(disk_t *disk_car, const partition_t *partition, d
memcpy(new_file->name,entry.de_name,thislen);
new_file->name[thislen-1]='\0';
+ new_file->status=0;
new_file->prev=ls->current_file;
new_file->next=NULL;
new_file->filestat.st_size=entity->stat.st_size;