git.wh0rd.org
/
dump.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84182f1
)
Fix code to not require ISO C99.
author
Stelian Pop
<stelian@popies.net>
Sat, 28 May 2005 18:34:47 +0000
(18:34 +0000)
committer
Stelian Pop
<stelian@popies.net>
Sat, 28 May 2005 18:34:47 +0000
(18:34 +0000)
restore/dirs.c
patch
|
blob
|
blame
|
history
diff --git
a/restore/dirs.c
b/restore/dirs.c
index b049f49007801c6caa8c70d755b38ecce9dbc860..88dfc69c46befe9e5ace90d812ded1c6a69a6b50 100644
(file)
--- a/
restore/dirs.c
+++ b/
restore/dirs.c
@@
-42,7
+42,7
@@
#ifndef lint
static const char rcsid[] =
- "$Id: dirs.c,v 1.3
2 2005/05/02 15:10:46
stelian Exp $";
+ "$Id: dirs.c,v 1.3
3 2005/05/28 18:34:47
stelian Exp $";
#endif /* not lint */
#include <config.h>
@@
-769,10
+769,10
@@
comparedirmodes(void)
if (ep == NULL) {
panic("cannot find directory inode %d\n", node.ino);
} else {
- cp = myname(ep);
struct STAT sb;
unsigned long newflags;
+ cp = myname(ep);
if (LSTAT(cp, &sb) < 0) {
warn("unable to stat %s", cp);
do_compare_error;