version 1.62, 2005/11/18 20:56:52 |
version 1.63, 2005/11/20 03:24:17 |
|
|
|
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#ifndef NO_DIRED |
|
#include <sys/time.h> |
#include <sys/time.h> |
#include <sys/resource.h> |
#include <sys/resource.h> |
#include <sys/wait.h> |
#include <sys/wait.h> |
#include "kbd.h" |
#include "kbd.h" |
#endif /* !NO_DIRED */ |
|
#include <limits.h> |
#include <limits.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <sys/dir.h> |
#include <sys/dir.h> |
|
|
|
|
/* If 'fn' is a directory open it with dired. */ |
/* If 'fn' is a directory open it with dired. */ |
if (fisdir(fn) == TRUE) |
if (fisdir(fn) == TRUE) |
#ifdef NO_DIRED |
|
return (FIOERR); |
|
#else |
|
return (FIODIR); |
return (FIODIR); |
#endif /* NO_DIRED */ |
|
|
|
if (bp && fstat(fileno(ffp), &statbuf) == 0) { |
if (bp && fstat(fileno(ffp), &statbuf) == 0) { |
/* set highorder bit to make sure this isn't all zero */ |
/* set highorder bit to make sure this isn't all zero */ |
|
|
} |
} |
#endif /* !NO_STARTUP */ |
#endif /* !NO_STARTUP */ |
|
|
#ifndef NO_DIRED |
|
|
|
int |
int |
copy(char *frname, char *toname) |
copy(char *frname, char *toname) |
{ |
{ |
|
|
|
|
return (TRUE); |
return (TRUE); |
} |
} |
|
|
#endif /* NO_DIRED */ |
|
|
|
struct filelist { |
struct filelist { |
struct list fl_l; |
struct list fl_l; |