mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-06 16:11:32 +03:00
* undelfs.c (undelfs_lstat): Adjusted declaration.
(undelfs_stat): Defined to undelfs_lstat. From Andrew V. Samoilov
This commit is contained in:
parent
a2d1d4e8dc
commit
f78fd52bfe
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user