* undelfs.c (undelfs_lstat): Adjusted declaration.

(undelfs_stat): Defined to undelfs_lstat.

	From Andrew V. Samoilov
This commit is contained in:
Roland Illig 2004-08-26 09:17:38 +00:00
parent a2d1d4e8dc
commit f78fd52bfe
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2004-08-26 Roland Illig <roland.illig@gmx.de>
* undelfs.c (undelfs_lstat): Adjusted declaration.
(undelfs_stat): Defined to undelfs_lstat.
From Andrew V. Samoilov <andrew email zp ua>
2004-08-26 Pavel S. Shirshov <pavelsh@mail.ru>
* direntry.c: Use g_strlcpy instead strncpy for fix buffer overrun

View File

@ -575,7 +575,7 @@ undelfs_stat_int (int inode_index, struct stat *buf)
}
static int
undelfs_lstat(struct vfs_class *me, char *path, struct stat *buf)
undelfs_lstat (struct vfs_class *me, const char *path, struct stat *buf)
{
int inode_index;
char *file, *f;
@ -612,12 +612,7 @@ undelfs_lstat(struct vfs_class *me, char *path, struct stat *buf)
return undelfs_stat_int (inode_index, buf);
}
static int
undelfs_stat(struct vfs_class *me, char *path, struct stat *buf)
{
return undelfs_lstat (me, path, buf);
}
#define undelfs_stat undelfs_lstat
static int
undelfs_fstat (void *vfs_info, struct stat *buf)