#ifndef lint
static const char rcsid[] =
- "$Id: interactive.c,v 1.18 2002/01/16 09:32:14 stelian Exp $";
+ "$Id: interactive.c,v 1.19 2002/01/16 10:53:28 stelian Exp $";
#endif /* not lint */
#include <config.h>
arglist.glob.gl_opendir = (void *)rst_opendir;
arglist.glob.gl_readdir = (void *)glob_readdir;
arglist.glob.gl_closedir = (void *)rst_closedir;
- arglist.glob.gl_lstat = glob_stat;
- arglist.glob.gl_stat = glob_stat;
+ arglist.glob.gl_lstat = (int (*)(const char *, void *))glob_stat;
+ arglist.glob.gl_stat = (int (*)(const char *, void *))glob_stat;
canon("/", curdir, sizeof(curdir));
loop:
if (setjmp(reset) != 0) {
#ifndef lint
static const char rcsid[] =
- "$Id: restore.c,v 1.22 2002/01/16 09:32:14 stelian Exp $";
+ "$Id: restore.c,v 1.23 2002/01/16 10:53:28 stelian Exp $";
#endif /* not lint */
#include <config.h>
if (!pipein)
getvol((long)0);
if (curfile.ino == maxino) {
- next = lowerbnd(next);
+ next = lowerbnd(first);
while (next < curfile.ino) {
ep = lookupino(next);
if (ep == NULL)