Savannah CVS Surfing
- Log of /mc/mc/vfs/direntry.c
Parent Directory
Revision
1.123 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Mar 23 12:36:10 2006 UTC (3 years, 7 months ago) by
ptsekov
Branch:
MAIN
Changes since
1.122: +1 -2 lines
Diff to
previous 1.122
* vfs/direntry.c (vfs_s_inode_from_path): Do not give up if a given path
does not exist in the directory cache. In such scenario use the underlying
vfs to determine whether the path exists or not.
Revision
1.122 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Feb 23 10:46:29 2006 UTC (3 years, 8 months ago) by
ptsekov
Branch:
MAIN
Changes since
1.121: +17 -0 lines
Diff to
previous 1.121
* vfs/ftpfs.c (ftpfs_dir_uptodate): Remove.
(init_ftpfs): Adjust the code to reflect the removal of
`ftpfs_dir_uptodate'.
* vfs/fish.c (fish_dir_uptodate): Remove.
(init_fish): Adjust the code to reflect the removal of
`fish_dir_uptodate'.
* vfs/direntry.c (vfs_s_dir_uptodate): New function.
(vfs_s_init_class): Initialize the `dir_uptodate' field of
vfs_s_subclass.
Revision
1.121 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 28 15:47:02 2006 UTC (3 years, 9 months ago) by
ptsekov
Branch:
MAIN
Changes since
1.120: +0 -3 lines
Diff to
previous 1.120
* direntry.c (vfs_s_open): Be less restrictive when O_LINEAR is specified
and `linear_start' is not implemented.
Revision
1.120 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 25 14:04:27 2006 UTC (3 years, 9 months ago) by
ptsekov
Branch:
MAIN
Changes since
1.119: +12 -4 lines
Diff to
previous 1.119
* xdirentry.h (LS_LINEAR_PREOPEN): New macro definition.
* direntry.c (vfs_s_open): When opening a file in linear mode,
defer the actual open operation until the first read call.
(vfs_s_read): When reading in linear mode, open the file
on the first read operation.
(vfs_s_lseek): When in linear mode, make sure that seeking is
allowed only before the first read operation.
* ftpfs.c (ftpfs_ctl): Make the code aware of LS_LINEAR_PREOPEN.
* fish.c (fish_ctl): Likewise.
Revision
1.119 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 5 00:52:57 2005 UTC (4 years, 2 months ago) by
rillig
Branch:
MAIN
Changes since
1.118: +9 -9 lines
Diff to
previous 1.118
* direntry.c: Added const qualifiers to work around gcc
warnings.
* extfs.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* sfs.c: Likewise.
* xdirentry.h: Likewise.
Revision
1.116 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 22 18:35:23 2005 UTC (4 years, 8 months ago) by
rillig
Branch:
MAIN
Changes since
1.115: +15 -1 lines
Diff to
previous 1.115
* *.c: Declared unused variables with (void) to avoid the gcc
warnings.
* extfs.c (extfs_get_path_mangle, extfs_get_path): Removed unused
parameter.
* ftpfs.c (ftpfs_netrc_bad_mode): Likewise.
* vfs.c (mc_def_getlocalcopy): Likewise.
Revision
1.115 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 19 16:36:38 2005 UTC (4 years, 8 months ago) by
rillig
Branch:
MAIN
Changes since
1.114: +4 -0 lines
Diff to
previous 1.114
* utilvfs.h: Removed unneeded #includes.
* *.c: Added the #includes that have been removed from utilvfs.h.
* tcputil.c: Just removed the unneeded #include "utilvfs.h".
Revision
1.112 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 24 23:00:18 2004 UTC (5 years, 1 month ago) by
pchel
Branch:
MAIN
Changes since
1.111: +2 -4 lines
Diff to
previous 1.111
* direntry.c (vfs_s_free_entry): g_free handles NULL argument too,
no need for the comparison.
* extfs.c (extfs_free_archive): Likewise.
(extfs_open_archive): Likewise.
(extfs_read_archive): Likewise.
(extfs_remove_entry): Likewise.
(extfs_free_entry): Likewise.
* fish.c (fish_open_archive): Likewise.
(fish_archive_same): Likewise.
* ftpfs.c (ftpfs_split_url): Likewise.
* local.c (local_closedir): Likewise.
* mcserv.c (close_handle): Likewise.
* smbfs.c (smbfs_free_bucket): Likewise.
* tar.c (tar_read_header): Likewise.
* undelfs.c (undelfs_shutdown): Likewise.
* vfs.c (vfs_shut): Likewise.
Revision
1.111 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 24 15:08:21 2004 UTC (5 years, 1 month ago) by
rillig
Branch:
MAIN
Changes since
1.110: +2 -2 lines
Diff to
previous 1.110
* cpio.c: Replaced NULL with (char *) NULL. Likewise for 0, where
NULL was meant.
* direntry.c: Likewise.
* extfs.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* mcfs.c: Likewise.
* tar.c: Likewise.
* undelfs.c: Likewise.
* vfs.c: Likewise.
Revision
1.110 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 22 11:28:14 2004 UTC (5 years, 1 month ago) by
rillig
Branch:
MAIN
Changes since
1.109: +28 -13 lines
Diff to
previous 1.109
* direntry.c (vfs_s_new_entry): see 2004-09-19. Additionally followed the advice
concerning g_strdup in /HACKING.
(vfs_s_generate_entry): Likewise.
(vfs_s_find_entry_linear): Likewise.
(vfs_s_find_inode): Likewise.
* xdirentry.h: Likewise.
Revision
1.109 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 22 05:50:45 2004 UTC (5 years, 1 month ago) by
pchel
Branch:
MAIN
Changes since
1.108: +10 -22 lines
Diff to
previous 1.108
* direnty.c (vfs_s_new_entry): Revert last changes.
(vfs_s_generate_entry): Likewise.
(vfs_s_find_entry_linear): Likewise.
(vfs_s_find_inode): Likewise.
* xdirentry.h: likewise.
Revision
1.108 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 19 16:07:17 2004 UTC (5 years, 1 month ago) by
rillig
Branch:
MAIN
Changes since
1.107: +24 -12 lines
Diff to
previous 1.107
* direntry.c: Added const qualifier to function declarations and
variables. Introduced local modifiable strings where necessary.
* xdirentry.h: likewise.
Revision
1.107 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 3 21:23:05 2004 UTC (5 years, 2 months ago) by
pchel
Branch:
MAIN
Changes since
1.106: +1 -1 lines
Diff to
previous 1.106
* vfs.c (vfs_cmp_handle): Fixing warnings on on 64-bit
platforms.
(vfs_op):Likewise.
(vfs_info):Likewise.
(vfs_free_handle):Likewise.
* extfs/rpm (mcrpmfs_run): Quote parameters to calls
to system/open that spawn a shell.
* direntry.c (vfs_s_find_entry_tree): Make "size"
size_t.
Revision
1.106 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Sep 2 14:12:21 2004 UTC (5 years, 2 months ago) by
pchel
Branch:
MAIN
Changes since
1.105: +8 -3 lines
Diff to
previous 1.105
* local.c (local_readlink): Make "size" size_t.
* direntry.c (vfs_s_readlink): Revert last changes. Make "size"
size_t.
* sfs.c (sfs_readlink): Reformat function.
* smbfs.c (smbfs_readlink): Reformat function.
Revision
1.105 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Sep 2 00:09:02 2004 UTC (5 years, 2 months ago) by
pchel
Branch:
MAIN
Changes since
1.104: +1 -2 lines
Diff to
previous 1.104
* direntry.c (vfs_s_readlink): Use g_strlcpy instead strncpy.
* ftpfs.c (ftpfs_get_reply): Use g_strlcpy instead strncpy.
* extfs.c (extfs_readlink): Fix return value. Use g_strlcpy
instead strncpy.
* mcfs.c (mcfs_readlink): Fix return value. Use g_strlcpy
instead strncpy.
* tar.c (tar_read_header): Add additional check for consistency.
Fix memory leak.
* cpio.c (cpio_defer_find): Remove recursion.
(cpio_free_archive): Fix memory leak.
(cpio_read_bin_head): Use union for simplicity using of header
structure. Add additional check for consistency.
(cpio_read_oldc_head): Add additional check for consistency.
Revision
1.104 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 26 08:49:25 2004 UTC (5 years, 2 months ago) by
pchel
Branch:
MAIN
Changes since
1.103: +1 -2 lines
Diff to
previous 1.103
* direntry.c: Use g_strlcpy instead strncpy for fix buffer overrun
* extfs.c: Likewise.
* mcfs.c: Likewise.
* smbfs.c: Likewise.
* utilvfs.c: Likewise.
Revision
1.95 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 14 08:25:51 2003 UTC (5 years, 11 months ago) by
proski
Branch:
MAIN
Changes since
1.94: +26 -10 lines
Diff to
previous 1.94
* vfs.c (vfs_split): Deconstify.
* direntry.c (vfs_s_get_path_mangle): Likewise. "mangle" is in
the name for a reason. Use vfs_s_get_path() instead where the
path should be preserved.
* extfs.c (extfs_get_path_mangle): Likewise.
* sfs.c (sfs_vfmake): Protect against changes in vfs_split().
Revision
1.94 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 13 08:29:38 2003 UTC (5 years, 11 months ago) by
proski
Branch:
MAIN
Changes since
1.93: +2 -2 lines
Diff to
previous 1.93
* vfs.h: Constify chdir() and opendir() methods. Adjust all
dependencies.
* vfs.c (mc_chdir): Constify, eliminate protection against
broken implementations of chdir() method.
(mc_opendir): Constify.
Revision
1.93 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 13 08:03:03 2003 UTC (5 years, 11 months ago) by
proski
Branch:
MAIN
Changes since
1.92: +4 -35 lines
Diff to
previous 1.92
* direntry.c (vfs_s_stamp_me): Generalize and move ...
* gc.c (vfs_stamp_create): ... here. Use whenever possible.
Revision
1.92 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 12 23:02:59 2003 UTC (5 years, 11 months ago) by
proski
Branch:
MAIN
Changes since
1.91: +2 -2 lines
Diff to
previous 1.91
* gc.c: Use NULL instead of -1 for empty vfsid. Adjust all
dependencies.
* undelfs.c (undelfs_get_path): Don't shadow static ext2_fname.
(undelfs_getid): Likewise. Use fs for non-empty vfsid.
Revision
1.91 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Nov 8 23:53:01 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.90: +3 -3 lines
Diff to
previous 1.90
* gc.c: Make getid(), nothingisopen() and free() methods
optional. Eliminate trivial implementations.
(vfs_getid): New function - safe wrapper around getid(). Use
it everywhere.
(vfs_ncs_getid): Remove dead code, inprove readability.
Revision
1.90 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 7 23:43:55 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.89: +1 -0 lines
Diff to
previous 1.89
* vfs.c: Split garbage collection code into ...
* gc.c: ... this.
* vfs.h: Corresponding code moved ...
* gc.h: ... here.
* Makefile.am: Adjustments for the above.
Revision
1.89 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 5 06:08:16 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.88: +24 -2 lines
Diff to
previous 1.88
* vfs.c: Move all parsing code, vfs_die() and vfs_get_password()
to utilvfs.c, vfs_print_stats() to direntry.c.
* utilvfs.c (vfs_parse_ls_lga): Disable caching current date,
it's done incorrectly.
Revision
1.88 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 29 00:50:37 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.87: +2 -2 lines
Diff to
previous 1.87
* utilvfs.c (vfs_mkstemps): New function - create temporary file
with the name resembling the original, but safe for scripts.
* direntry.c (vfs_s_open): Use it.
(vfs_s_retrieve_file): Likewise.
* extfs.c (extfs_open): Likewise.
* sfs.c (sfs_redirect): Likewise.
Revision
1.87 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 21:52:07 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.86: +2 -3 lines
Diff to
previous 1.86
* vfs.c (mc_ungetlocalcopy): Free local path here, not in class
implementations.
* vfs.h (struct vfs_s_class): Constify "local" argument for
ungetlocalcopy. Adjust all implementations.
Revision
1.85 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 08:20:30 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.84: +8 -6 lines
Diff to
previous 1.84
* direntry.c (vfs_s_init_class): Use our getlocalcopy for remote
filesystems that cache files, not for archives.
(vfs_s_getlocalcopy): Corresponding changes.
Revision
1.84 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 07:09:40 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.83: +58 -24 lines
Diff to
previous 1.83
* direntry.c (vfs_s_init_class): Improve interface to allow more
code reuse. Change all callers.
(vfs_s_getlocalcopy): New implementation. Don't use
mc_def_getlocalcopy(). Use vfs_s_open() to create local copy.
(vfs_s_ungetlocalcopy): New function.
* xdirentry.h: Add new field "flags" to struct vfs_s_subclass.
* extfs.c (extfs_ungetlocalcopy): Don't use
mc_def_ungetlocalcopy() in the dead branch.
* vfs.c (mc_def_getlocalcopy): Make static.
(mc_def_ungetlocalcopy): Likewise.
Revision
1.82 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 27 03:09:40 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.81: +18 -11 lines
Diff to
previous 1.81
* direntry.c (vfs_s_find_inode): Only allow search from root.
Change second argument to superblock to prevent abuse.
Revision
1.81 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 27 02:54:59 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.80: +2 -12 lines
Diff to
previous 1.80
* direntry.c (vfs_s_find_entry_tree): Eliminate buffer of fixed
size. Don't prepare path for vfs_s_resolve_symlink().
(vfs_s_resolve_symlink): Remove unused argument "path".
Revision
1.80 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 27 01:26:18 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.79: +1 -20 lines
Diff to
previous 1.79
* direntry.c (vfs_s_add_dots): Remove. Fix all callers.
(vfs_s_free_inode): Remove support for "." and ".." entries.
* ftpfs.c (dir_load): Likewise.
Support for "." and ".." entries was a hack that could make the
cache non-traversible from inodes to the root and cause infinite
loop in vfs_s_fullpath().
Reported by Frédéric L. W. Meunier <lists1@pervalidus.net>
Revision
1.77 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 25 19:54:24 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.76: +2 -2 lines
Diff to
previous 1.76
* background.c: Replace all message stubs with a new function
mc_message(). Protect against strlen(MSG_ERROR). Adjust all
dependencies.
Revision
1.75 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 16 23:58:44 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.74: +77 -75 lines
Diff to
previous 1.74
* direntry.c (vfs_s_resolve_symlink): Don't use buffers of fixed
size. This fixes a security hole. Always start from the root.
Remove broken code for making symlinks relative.
(vfs_s_find_entry_tree): Protect against long path, since this
function uses a buffer of fixed size.
(vfs_s_fullpath): Implement support for archives (real trees).
Revision
1.74 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 16 18:51:41 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.73: +3 -0 lines
Diff to
previous 1.73
* direntry.c (vfs_s_setctl): Implement VFS_SETCTL_FLUSH.
* ftpfs.c: Remove ftpfs_flushdir. Use MEDATA->flush.
* fish.c: Use MEDATA->flush.
Revision
1.72 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 16 16:12:21 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.71: +10 -16 lines
Diff to
previous 1.71
* vfs.h: Rename commands for mc_ctl() and mc_setctl() to make it
clear which function they are used with.
* vfs.c (mc_ctl): Change last argument to (void*).
(mc_set): Likewise.
Adjust all dependencies.
Revision
1.69 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 12 01:00:44 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.68: +43 -43 lines
Diff to
previous 1.68
* xdirentry.h: Remove all typedefs, there is no need to hide the
fact that structures are structures. Fix all dependencies.
Revision
1.67 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 11 17:30:54 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.66: +0 -2 lines
Diff to
previous 1.66
* vfs.c (vfs_add_noncurrent_stamps): Call vfs_rm_parents() at
the end. Change all callers not to call it.
(vfs_rm_parents): Make static.
Revision
1.66 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 11 16:54:47 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.65: +2 -2 lines
Diff to
previous 1.65
* direntry.c: Don't use vfs_local_fs directly, use VFSF_LOCAL.
* extfs.c: Likewise.
* vfs.c (vfs_addstamp): Likewise.
(vfs_init): Register vfs_local_fs like other classes.
Revision
1.65 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 11 10:13:36 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.64: +22 -44 lines
Diff to
previous 1.64
* direntry.c: Make more functions static. They are filled in in
vfs_s_init_class() now and don't need to be exported.
Revision
1.64 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 11 07:20:53 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.63: +2 -2 lines
Diff to
previous 1.63
* undelfs.c (undelfs_get_path): Constify first argument.
* vfs.h (struct vfs_class): Constify path. Fix all dependencies.
Revision
1.63 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 11 06:25:29 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.62: +3 -3 lines
Diff to
previous 1.62
* vfs.c (vfs_type): Rename to vfs_get_class(). Fix prototype to
avoid using internal vfs type. Adjust all dependencies.
(vfs_rosplit): Rename to _vfs_get_class().
Revision
1.62 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 10 23:38:03 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.61: +1 -0 lines
Diff to
previous 1.61
* fish.c: Convert to calling vfs_register_class().
* fish.h: Eliminate. Adjust all dependencies.
* direntry.c (vfs_s_init_class): Add missing vfs_s_setctl().
Revision
1.61 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 10 23:13:09 2003 UTC (6 years ago) by
proski
Branch:
MAIN
Changes since
1.60: +26 -0 lines
Diff to
previous 1.60
* vfs.h: Rename "struct _vfs" to "struct vfs_class". Allow
calling vfs_register() in the file defining the VFS class.
* vfs.c (vfs_init): Register cpiofs in cpio.c.
(vfs_register): Rename to vfs_register_class(), remove "static".
* direntry.c (vfs_s_init_class): New function - generic VFS
class registraction for vfs_s descendants.
* cpio.c: Register VFS class locally.
Revision
1.59 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Aug 29 22:48:25 2003 UTC (6 years, 2 months ago) by
proski
Branch:
MAIN
Changes since
1.58: +2 -0 lines
Diff to
previous 1.58
* direntry.c (vfs_s_dump): Commented out.
* extfs.c (s_readlink): Fix return value and possible buffer
overflow.
* mcfs.c (mcfs_readlink): Fix return value.
* mcserv.c (do_readlink): Fix possible off-by-one.
(commands): Make const array and remove needless comma.
Revision
1.48 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 15 21:15:17 2002 UTC (7 years, 2 months ago) by
proskin
Branch:
MAIN
Changes since
1.47: +13 -17 lines
Diff to
previous 1.47
* extfs.c (s_readdir): Simplify.
* direntry.c (vfs_s_readdir): Use vfs_dirent.
* mcfs.c (mcfs_readdir): Likewise.
* smbfs.c (smbfs_readdir): Likewise.
* undelfs.c (undelfs_readdir): Use vfs_dirent and
compute_namelen().
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 15 19:38:17 2002 UTC (7 years, 2 months ago) by
proskin
Branch:
MAIN
Changes since
1.46: +2 -4 lines
Diff to
previous 1.46
* direntry.c (vfs_s_readdir): Use compute_namelen().
* extfs.c (s_readdir): Likewise.
* mcfs.c (mcfs_readdir): Likewise.
* smbfs.c (smbfs_readdir): Likewise.
Revision
1.45 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 19 16:04:27 2002 UTC (7 years, 3 months ago) by
proskin
Branch:
MAIN
Changes since
1.44: +3 -3 lines
Diff to
previous 1.44
* xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
* direntry.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
Revision
1.44 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jul 10 17:56:27 2002 UTC (7 years, 4 months ago) by
proskin
Branch:
MAIN
Changes since
1.43: +2 -2 lines
Diff to
previous 1.43
* direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
this flag is for VFS only, and causes side effects in Cygwin.
* extfs.c (extfs_open): Likewise.
* sfs.c (sfs_open): Likewise.
Reported by Pavel Tsekov <ptsekov@gmx.net>
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 22 17:19:24 2002 UTC (7 years, 5 months ago) by
andrew
Branch:
MAIN
Changes since
1.42: +2 -2 lines
Diff to
previous 1.42
* xdirentry.h (vfs_s_fh.u.ftp): Add append field.
(vfs_s_data.file_store): Change second argument
to (vfs_s_fh *fh).
* direntry.c (vfs_s_close): Adjust.
* fish.c (file_store): Likewise.
* ftpfs.c (file_store): Likewise. Use "APPE" if
fh->u.ftp.append is true.
(linear_start): Care about fh->u.ftp.append.
(ftpfs_fh_open): Likewise.
Revision
1.42 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 21 17:27:30 2002 UTC (7 years, 5 months ago) by
andrew
Branch:
MAIN
Changes since
1.41: +1 -4 lines
Diff to
previous 1.41
* direntry.c (vfs_s_retrieve_file): Please, care about
fish.local_stat ...
* fish.c (linear_close): ... here.
Revision
1.40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 6 08:46:35 2002 UTC (7 years, 8 months ago) by
andrew
Branch:
MAIN
Changes since
1.39: +7 -8 lines
Diff to
previous 1.39
* direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
(vfs_s_retrieve_file): Set fh->handle to -1.
(vfs_s_read): Don't manipulate with FH->handle if it is -1.
(vfs_s_write): Likewise.
(vfs_s_close): Likewise.
Revision
1.39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 8 09:42:38 2002 UTC (7 years, 9 months ago) by
andrew
Branch:
MAIN
Changes since
1.38: +5 -5 lines
Diff to
previous 1.38
* direntry.c (vfs_s_retrieve_file): Use off_t for total
and stat_size.
* vfs.c (vfs_s_resolve_symlink): Use snprintf
instead of sprintf.
(vfs_print_stats): Use off_t for have and need. Cast
have to double to eliminate negative percent(s).
Fix print_vfs_message string formats.
* vfs.h (vfs_print_stats): Adjust declaration.
* ftpfs.c (file_store): Use off_t for total.
Fix print_vfs_message string format.
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jun 25 21:34:46 2001 UTC (8 years, 4 months ago) by
proskin
Branch:
MAIN
Changes since
1.36: +4 -2 lines
Diff to
previous 1.36
* cpio.c: Include <config.h> before everything else.
* direntry.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* local.c: Likewise.
* tar.c: Likewise.
* utilvfs.h: Don't include <config.h> - it should be included
in all C files instead.
* xdirentry.h: Likewise.
Revision
1.36 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 14 20:08:27 2001 UTC (8 years, 4 months ago) by
proskin
Branch:
MAIN
Changes since
1.35: +3 -3 lines
Diff to
previous 1.35
* ftpfs.c: Declare functions without declarations static. Don't
omit `void' in declarations.
* cpio.c: Likewise.
* direntry.c: Likewise.
* extfs.c: Likewise.
* mcfs.c: Likewise.
* tar.c: Likewise.
* vfs.c: Likewise.
* vfs.h: Likewise.
* mcserv.c: Likewise. Remove unused functions.
Revision
1.35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 21 16:21:08 2001 UTC (8 years, 5 months ago) by
proskin
Branch:
MAIN
Changes since
1.34: +7 -21 lines
Diff to
previous 1.34
* src/ext.c (exec_extension): Use mc_mkstemps().
* src/user.c (execute_menu_command): Use mc_mkstemps().
* src/util.c (mc_mkstemps): New function - safely create and
open temporary file. Return the handle and the name.
* src/util.h: Declarations for init_tmpdir() and mc_mkstemps().
Define TMPDIR_DEFAULT and SCRIPT_SUFFIX.
* vfs/direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
temporary file to reserve its name on the filesystem.
(vfs_s_retrieve_file): Use mc_mkstemps().
(g_tempnam): Remove.
* vfs/extfs.c (extfs_open): Use mc_mkstemps().
* vfs/sfs.c (redirect): Likewise.
* vfs/shared_ftp_fish.c (_get_file_entry): Likewise.
(retrieve_file): Likewise.
* vfs/vfs.c (mc_def_getlocalcopy): Likewise.
* vfs/xdirentry.h: Remove declaration of g_tempnam().
Revision
1.30 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 28 07:43:13 2000 UTC (9 years, 6 months ago) by
pavel
Branch:
MAIN
Changes since
1.29: +13 -23 lines
Diff to
previous 1.29
2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
* direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
(vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
* ftpfs.c (dir_load): ent->name is free()d for "." and ".."
(ftpfs_directory_timeout): default value changed to 900
(netrc_next): "const char * const keywords" go to rodata and is shared
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 5 13:08:43 2000 UTC (9 years, 7 months ago) by
pavel
Branch:
MAIN
Changes since
1.27: +8 -10 lines
Diff to
previous 1.27
2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
* vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
crushes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
* fish.c (linear_start): name wasn't freed after usage
* cpio.c (cpio_ungetlocalcopy): return type changed to int,
function return 0 now
* direntry.c (vfs_s_close, vfs_s_resolve_symlink): memory, allocated
by vfs_s_fullpath () is freed after use
* ftpfs.c (linear_start): ditto;
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 18 19:08:56 1999 UTC (10 years, 2 months ago) by
norbert
Branch:
MAIN
CVS Tags:
GNOME_LIBS_1_0_13,
GNOME_LIBS_1_0_15,
GNOME_LIBS_1_0_16,
GNOME_LIBS_1_0_17,
GNOME_LIBS_1_0_18,
GNOME_LIBS_1_0_40,
GNOME_LIBS_1_0_42,
GNOME_LIBS_1_0_50,
MC_4_5_38,
MC_4_5_39,
MC_4_5_40,
MC_4_5_41
Branch point for:
gdk-pixbuf-port,
hp-gdk-pixbuf
Changes since
1.21: +1 -1 lines
Diff to
previous 1.21
1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
needed. In rare cases a pointer was freed twice. Pavel Machek
pointed this out a while ago but obviously it hasn't been fixed, yet.
* vfs/sfs.c (vfmake): Quote characters with a special meaning to the
shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
your full path has the space character in it.).
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 13 21:39:26 1999 UTC (10 years, 8 months ago) by
unammx
Branch:
MAIN
CVS Tags:
GNOME_0_99_8_1,
GNOME_LIBS_1_0_0,
GNOME_LIBS_1_0_1,
GNOME_LIBS_1_0_10_PLUS,
GNOME_LIBS_1_0_11,
GNOME_LIBS_1_0_11_PRE1,
GNOME_LIBS_1_0_12,
GNOME_LIBS_1_0_2,
GNOME_LIBS_1_0_3,
GNOME_LIBS_1_0_4,
GNOME_LIBS_1_0_5,
GNOME_LIBS_1_0_7,
GNOME_LIBS_1_0_8,
GNOME_LIBS_1_0_PRE10,
MC_4_5_15,
MC_4_5_16,
MC_4_5_18,
MC_4_5_21,
MC_4_5_24,
MC_4_5_26,
MC_4_5_27,
MC_4_5_28,
MC_4_5_29,
MC_4_5_30,
MC_4_5_31,
MC_4_5_34,
MC_4_5_36,
MC_4_5_37,
V1_0_1
Branch point for:
DESKTOP_PANEL,
DII_OBJECT,
HACKS45,
WM_CLASSES_AND_DND_DENTRY
Changes since
1.20: +1 -0 lines
Diff to
previous 1.20
OS/2 portability changes by Ilya
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 11 00:48:28 1999 UTC (10 years, 9 months ago) by
unammx
Branch:
MAIN
CVS Tags:
GNOME_0_99_3,
MC_4_5_7,
pre-file-context
Changes since
1.12: +34 -18 lines
Diff to
previous 1.12
Lots of changes:
- SFS-based file systems now work on GNOME edition, I was
not waiting for child process to finish decompressing.
- VFS code cleanup. I am going to eventually get rid of all
the macro-mania that has creeped into the vfs layer.
Miguel
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 31 15:54:50 1998 UTC (10 years, 10 months ago) by
norbert
Branch:
MAIN
Changes since
1.10: +6 -4 lines
Diff to
previous 1.10
Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* sfs.c (sfs_nothingisopen): Assume for now it's always save to free
this filesystem and delete temporary files. This needs further
investigation.
* tar.c: deleted unused empty struct tar_super.
Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
was used for external and internal reference count. This was wrong
because we can free resources taken up by the vfs as soon as the
external reference count (now fd_usage) is zero. The internal
reference count (ino_usage) mustn't matter because the vfs has to
clean up itself in the correct order.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 28 10:27:08 1998 UTC (10 years, 10 months ago) by
norbert
Branch:
MAIN
CVS Tags:
MC_4_5_4
Changes since
1.9: +4 -2 lines
Diff to
previous 1.9
Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/direntry.c (vfs_s_new_inode): Moved initialization of st_ino
and st_dev from vfs_s_default_stat.
(vfs_s_default_stat): initialize st_ino and st_dev to zero
* vfs/tar.c (tar_open_archive): Make a new MEDATA->rdev for every
new archive.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Dec 2 23:44:37 1998 UTC (10 years, 11 months ago) by
unammx
Branch:
MAIN
Changes since
1.7: +0 -1 lines
Diff to
previous 1.7
Many changes:
- Beginning of the CORBA support for the file manager.
- Tk and XView code dropped.
Miguel
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Dec 2 13:17:25 1998 UTC (10 years, 11 months ago) by
wilhelmi
Branch:
MAIN
Changes since
1.6: +4 -4 lines
Diff to
previous 1.6
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
used anyway.
* xdirentry.h (LINK_NO_FOLLOW):
* tar.c (read_header):
* direntry.c (vfs_s_resolve_symlink):
(vfs_s_inode_from_path):
(vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
NO_FOLLOW are defined in an enum.
* vfs.h (ELAST): define it to 300, if not already defined, thats a
bad hack, but what can we do....
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Nov 21 19:36:13 1998 UTC (10 years, 11 months ago) by
pavel
Branch:
MAIN
Changes since
1.3: +476 -96 lines
Diff to
previous 1.3
Big merge: fish now uses proper caching, small fixes almost
everywhere. I hope I did not break it too much.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.