projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill afhi->header_offset.
[paraslash.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 58e289f7346fae8afe0d6acce9460e5801c7a239..b125529ae8f1788ee3c6dfa62f2ac3883ffd0342 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2005-201
0
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-201
1
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-77,7
+77,5
@@
int for_each_stat_item(char *item_buf, size_t num_bytes,
assert(len >= 0 && buf <= item_buf + num_bytes);
}
assert(len >= 0);
assert(len >= 0 && buf <= item_buf + num_bytes);
}
assert(len >= 0);
- if (len && len != num_bytes)
- memmove(item_buf, item_buf + num_bytes - len, len);
return len;
}
return len;
}