projects
/
debian
/
dump
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.4b43
[debian/dump]
/
restore
/
symtab.c
diff --git
a/restore/symtab.c
b/restore/symtab.c
index 7e5605730db48ce73ca6472178b1bcd6f5b668cd..c3c941e21f685e9709b20485fe4786286c88bdd8 100644
(file)
--- a/
restore/symtab.c
+++ b/
restore/symtab.c
@@
-37,7
+37,7
@@
#ifndef lint
static const char rcsid[] =
#ifndef lint
static const char rcsid[] =
- "$Id: symtab.c,v 1.2
7 2005/07/07 09:16:08
stelian Exp $";
+ "$Id: symtab.c,v 1.2
8 2010/06/11 11:19:17
stelian Exp $";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-568,8
+568,8
@@
dumpsymtable(char *filename, long checkpt)
for (i = WINO; i <= maxino; i++) {
for (ep = lookupino(i); ep != NULL; ep = ep->e_links) {
ep->e_index = mynum++;
for (i = WINO; i <= maxino; i++) {
for (ep = lookupino(i); ep != NULL; ep = ep->e_links) {
ep->e_index = mynum++;
- (void) fwrite(ep->e_name,
sizeof(char
),
-
(int)allocsize(ep->e_namlen
), fd);
+ (void) fwrite(ep->e_name,
(int)allocsize(ep->e_namlen
),
+
sizeof(char
), fd);
}
}
/*
}
}
/*
@@
-587,7
+587,7
@@
dumpsymtable(char *filename, long checkpt)
if (temphash[j])
temphash[j] = (struct entry *)ep->e_entries[j]->e_index;
}
if (temphash[j])
temphash[j] = (struct entry *)ep->e_entries[j]->e_index;
}
- fwrite(temphash,
dirhash_size, sizeof(struct entry *)
, fd);
+ fwrite(temphash,
sizeof(struct entry *), dirhash_size
, fd);
}
}
}
}
}
}