version 1.6, 1999/11/26 21:32:38 |
version 1.7, 2001/11/19 19:02:15 |
|
|
static char last_pathname[MAXPATHLEN]; |
static char last_pathname[MAXPATHLEN]; |
static char file[MAXPATHLEN + 3]; |
static char file[MAXPATHLEN + 3]; |
static struct stat filestat; |
static struct stat filestat; |
register char *p; |
char *p; |
|
|
/* |
/* |
* Mark the statbuf as invalid to start with. |
* Mark the statbuf as invalid to start with. |
|
|
struct stat *filest; |
struct stat *filest; |
struct mntinfo *mntinfo; |
struct mntinfo *mntinfo; |
{ |
{ |
register struct mntinfo *mi; |
struct mntinfo *mi; |
|
|
for (mi = mntinfo; mi; mi = mi->mi_nxt) { |
for (mi = mntinfo; mi; mi = mi->mi_nxt) { |
if (mi->mi_mnt->me_flags & MEFLAG_IGNORE) |
if (mi->mi_mnt->me_flags & MEFLAG_IGNORE) |
|
|
mntent_t *mnt; |
mntent_t *mnt; |
struct mntinfo *mntinfo; |
struct mntinfo *mntinfo; |
{ |
{ |
register struct mntinfo *m; |
struct mntinfo *m; |
|
|
for (m = mntinfo; m; m = m->mi_nxt) |
for (m = mntinfo; m; m = m->mi_nxt) |
if (strcmp(m->mi_mnt->me_path, mnt->me_path) == 0) |
if (strcmp(m->mi_mnt->me_path, mnt->me_path) == 0) |
|
|
static struct stat filestat; |
static struct stat filestat; |
struct stat *pstat; |
struct stat *pstat; |
struct mntinfo *tmpmi; |
struct mntinfo *tmpmi; |
register mntent_t *mnt; |
mntent_t *mnt; |
|
|
/* |
/* |
* Use the supplied stat buffer if not NULL or our own. |
* Use the supplied stat buffer if not NULL or our own. |