summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 83bc13a2f4532b664ee182457eaf6b7144aa4c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
2005-05-25  Gianluca Guida  <glguida@gmail.com>

	* CAVEAT: New file.
	* README: Rewritten.

	* netfs.c (netfs_attempt_unlink): Use fshelp_checkdirmod
	instead of fshelp_access.
	(netfs_attempt_mkdir): Implemented.
	(netfs_attempt_rmdir): Likewise.
	(netfs_attempt_create_file_reduced): Likewise.
	Fixed typo in a comment.
	* node.c (node_dir_remove): New function.
	(node_dir_create): Likewise.
	* node.h (node_dir_create): New declaration.
	(node_dir_remove): Likewise.

2005-05-24  Gianluca Guida  <glguida@gmail.com>

	* netfs.c (netfs_attempt_unlink): Implemented.
	(netfs_attempt_create_file_reduced): New function.
	(netfs_S_dir_lookup): Initialized variable "error".
	Added support for file creation.
	(netfs_attempt_lookup_improved): Changed instruction flow,
	return on error not continue on non-error.
	Check user permission to open file before returning port.
	* node.c (node_create, node_update, node_lookup_file, node_ulfs_free)
	(node_ulfs_init, node_entries_get, node_create_root, node_init_root):
	Changed instruction flow, return on error not continue on non-error.
	(node_unlink_file): New function.
	* node.h (node_unlink_file): New declaration.
	(node_ulfs_iterate_reverse_unlocked): New macro.

	* options.c (argp_parse_common_options): Removed debugging fprintf.
	
2005-01-31  Gianluca Guida  <glguida@gmail.com>

	* stow.c (stow_diradd): Handle --stow argument with missing / 
	correctly.

2005-01-31  Gianluca Guida  <glguida@gmail.com>

	* pattern.c: New file.
	* stow.c: Likewise.
	* pattern.h: Likewise.
	* stow.h: Likewise.
	* Makefile (OBJS): Added pattern.o and stow.o

	* node.c: Initialize variable err.
	* lib.c (file_lookup): Initialize variable err.
	Include <fcntl.h>.
	(make_filepath, for_each_subdir, for_each_subdir_priv)
	(for_each_file_priv): New function.
	* lib.h (make_filepath, for_each_subdir, for_each_subdir_priv): New 
	declaration.
	* options.c: Include "pattern.h".
	Include "stow.h".
	(arg_common_options): Added entries for OPT_STOW and OPT_PATTERN.
	(argp_parse_common_options): Handle OPT_STOW and OPT_PATTERN case.
	* options.h (OPT_PATTERN, OPT_STOW, OPT_LONG_PATTERN, OPT_LONG_STOW): 
	New declarations.
	
2003-07-05  Jeroen Dekkers  <jeroen@dekkers.cx>

	* Makefile: Rewrite.

	* netfs.c (netfs_attempt_create_file): Unlock DIR.
	(netfs_attempt_mkfile): Likewise.

2002-12-09  Moritz Schulte  <moritz@duesseldorf.ccc.de>

	* lib.h: Fix pointer arg.
	* lib.c (dir_entries_get): Likewise.
	* lib.c (dir_entries_get): Fix typo.
	(dir_entries_get): Change type of data_size to size_t.
	* node.c (node_entries_get): Change type of dirent_data_size to
	size_t.

2002-12-08  Moritz Schulte  <moritz@duesseldorf.ccc.de>

	* BUGS: Remove the memory-leak bug.
	* lib.c: Include <sys/mman.h>.
	* node.c: Include <sys/mman.h>.
	(node_entries_get): munmap dirent_data as returned by
	dir_entries_get.
	(node_entries_get): New variable: int dirent_data_size.
	* lib.c (dir_entries_get): New argument: int *dirent_data_size.
	(dir_entries_get): Do not forget to munmap DATA if something goes
	wrong.
	* lib.h: Update dir_entries_get declaration.
	
	* node.c (node_create_root): call lnode_destroy, if node_create
	failed, not if lnode_create failed.  Reported by Richard Smith.

  Copyright 2002, 2003 Free Software Foundation, Inc.
  Copying and distribution of this file, with or without modification, are
  permitted provided the copyright notice and this notice are preserved.