/[vps]/baselayout-vserver/trunk/src/core/ChangeLog
Gentoo

Diff of /baselayout-vserver/trunk/src/core/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 126 Revision 127
1# ChangeLog for Gentoo System Intialization core utilities.
2# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
3# $Header$
4
520 Sep 2005 Martin Schlemmer <azarah@gentoo.org>
6
7 * parse.c: Hopefully handle interrupted reads/writes properly.
8
913 Sep 2005 Martin Schlemmer <azarah@gentoo.org>
10
11 * parse.c: Cleanup the pipe usage and naming in generate_stage2() for
12 better readibility.
13
14 * parse.c: Remove unused tmp_pid from generate_stage2(), also fixing
15 waitpid() not getting called.
16
17 * parse.c: Make sure we do not close the pipes twice if the child
18 returns with error exit status.
19
20 * parse.c: Remove label 'cont_do_read' in favour of just a simple break.
21 No need to jump to the error label if the child did not exit cleanly,
22 as we already cleaned up.
23
24 * parse.c: Cleanup parse_cache(). Do not parse MTIME - we have it
25 already.
26
2707 Sep 2005 Martin Schlemmer <azarah@gentoo.org>
28
29 * debug.h
30 * depend.c
31 * misc.c
32 * misc.h
33 * parse.c
34 * simple-regex.c
35 * simple-regex.h: Misc style and other cleanups.
36
37 * TODO: New file.
38
3906 Sep 2005 Martin Schlemmer <azarah@gentoo.org>
40
41 * parse.c
42 * misc.c: Try to cleanup error handling a bit (debug messages, return
43 value, etc).
44
45 * parse.c: Fix output of write_legacy_stage3() after removing the
46 parallel dependency type.
47
48 * Makefile: Do not enable bounds checking with DEBUG=1.
49
50 * misc.h: Add MIN/MAX macro's.
51
52 * parse.c: Cleanup and merge parse_print_*() functions. Move need(),
53 etc functions to after sourcing of script, else we run into issues
54 with net.* scripts that redefine them. Better checking if scripts
55 have issues or not.
56
57 * parse.c: Use poll() rather than select() and some other cleanups.
58
59 * parse.c: Remove the waitpid() call in the read/write loop of our
60 generate_stage2(), as its very slow on amd64.
61
62 * parse.c: Remove some redundent variables and other cleanups.
63
64 * parse.c: Reset tmp_count between writing and reading.
65
66 * depend.c: Also add mtime for 'net' service if we need to add it.
67
6805 Sep 2005 Martin Schlemmer <azarah@gentoo.org>
69
70 * parse.c: Make sure field in parse_cache() is not used uninitialized.
71
72 * misc.h: Remove the unused COUNT_CHAR_* macro's.
73
74 * depend.c: Add missing debugging info.
75
7626 Jul 2005 Martin Schlemmer <azarah@gentoo.org>
77
78 * depend.c
79 * depend.h
80 * parse.c
81 * parse.h: Remove the "parallel" stuff, as we do not use it anymore.
82
8315 Apr 2005 Martin Schlemmer <azarah@gentoo.org>
84
85 * parse.c: Do not source rc.conf for every script - once is enough.
86
8714 Apr 2005 Martin Schlemmer <azarah@gentoo.org>
88
89 * depscan.c: Update error comments for stage name changes some time
90 back.
91
92 * parse.c,
93 * parse.h: Do not try to extract the depend() function from the
94 scripts, but rather source the whole file. This way we can detect
95 syntax errors, etc. Little bit slower, but not much.
96
9707 Apr 2005 Martin Schlemmer <azarah@gentoo.org>
98
99 * test-regex.c: Add two more tests.
100
101 * depscan.c
102 * misc.c
103 * misc.h: Add basic klibc support. I need to add a mkstemp
104 implementation to get it done properly.
105
10612 Mar 2005 Martin Schlemmer <azarah@gentoo.org>
107
108 * Makefile: Also remove the tests in the clean target.
109
11011 Mar 2005 Martin Schlemmer <azarah@gentoo.org>
111
112 * test-regex.c: Add a few strings and patterns. Enable tests to
113 specify if they should fail or pass.
114
11510 Mar 2005 Martin Schlemmer <azarah@gentoo.org>
116
117 * test-regex.c: New file
118 * Makefile: Add check target to compile and run tests
119 * simple-regex.c (__match_wildcard): Get recursion right so that we
120 do not match a wildcard _and_ inc data_p if there are still other
121 wildcards (?, *) that could match.
122
123 * Makefile
124 * depend.c
125 * simple-regex.c: Override the debug/warning CFLAGS. Kill a few
126 warnings.
127
12823 Feb 2005 Martin Schlemmer <azarah@gentoo.org>
129
130 * misc.c: Fix memory leak in mktree().
131
13218 Feb 2005 Martin Schlemmer <azarah@gentoo.org>
133
134 * Makefile: Add -fbounds-checking support when DEBUG=1.
135
136 * misc.h: Scrap STRING_LIST_FOR_EACH_SAFE() and recode from scratch
137 fixing invalid pointer operations.
138
139 * misc.c: Remove the last strlen() from strndup() that caused an
140 overrun.
141
14217 Feb 2005 Martin Schlemmer <azarah@gentoo.org>:
143
144 * misc.c: Fix overrun in strndup(), thanks to report from
145 Ned Ludd <solar@gentoo.org>.
146
147 * debug.h
148 * misc.h
149 * simple-regex.c: Print debug/errors to stderr, patch from
150 Ned Ludd <solar@gentoo.org>.
151
152 * debug.h: Replace invalid EXIT_FAILSTATUS with EXIT_FAILURE.
153
154 * parse.c: Modify parse_print_body() to be more ash friendly.
155 Suggestions from Ned Ludd <solar@gentoo.org>.
156
157 * debug.h: Remove the 'errno = ESPIPE' in DBG_MSG() for now, as it
158 seems to be fixed by the select() changes.
159
160 * parse.c: Disable write select() for now, as it is not needed.
161
162 * depscan.c: Only print EINFO msg if we actually update the cache.
163
164 * parse.c: Rename write_output() macro to PRINT_TO_BUFFER().
165
166 * parse.c
167 * parse.h: Rewrote large parts of generate_stage[12]() and their
168 machanics to use select() when writing to the pipes. This fixes a
169 buffering issue where too much data would cause the write to be
170 truncated, and the read pipe would then wait forever.
171
172 * misc.c: Fix gbasename() to compile under gcc-2.95.3.
173
174 * parse.c: Switch to stdio based io for reading pipes in
175 generate_stage2().
176
177 * misc.c
178 * misc.h: Add gbasename() that is similar to GNU's basename().
179
180 * parse.c: Use gbasename() instead of POSIX version.
181
182 * parse.c: Fix write_legacy_stage3() to quote the mtime in its output.
183
184 * misc.c
185 * parse.c: Change type of length from int to size_t to avoid warnings
186 when compiled for darwin.
187
188 * misc.c
189 misc.h: Add strndup() instead of relying on glibc's implementation
190 (should fix some issues on bsd and darwin).
191
192 * depend.c
193 * simple-regex.c: Do not define _GNU_SOURCE, but rather use our
194 strndup() from misc.h.
195
196 * parse.c: Do not define _GNU_SOURCE, but rather use our strndup() from
197 misc.h. Also change all usage of basename() to conform to POSIX, and
198 do not use the GNU variants.
199
20016 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
201
202 * depscan.c: Add uid check and quit if user is not root.
203
204 * depend.c
205 * depend.h: Change service_type_names declaration in depend.h to extern
206 and move the definition to depend.c to avoid warnings.
207
208 * README: New file.
209
210 * depscan.c: Add delete_var_dirs() to delete volatile directories in
211 svcdir. Change 'char *' declarations for create_directory() and
212 create_var_dirs() to 'const char*'.
213
214 * misc.h
215 * misc.c: Add rmtree() function. Fix ls_dir() not to include '.' and
216 '..' in its listing. Fix segfault in ls_dir() if the file list is
217 empty.
218
219 Add Header tags to all source files and Makefile.
220
221 * debug.h: perror() set errno to ESPIPE for some reason - restore errno
222 after calling perror().
223
224 * depscan.c: Add code to create svcdir and co if missing.
225
226 * misc.c: Add missing '\n' to DBG_MSG in mktree().
227
228 * misc.h: Add a comment about strcatpaths() allocating the memory needed.
229
230 Initial checkin. Still rough in some parts, but should be 100% similar
231 in output to depscan.sh and co.
232
233
234# vim:expandtab

Legend:
Removed from v.126  
changed lines
  Added in v.127

  ViewVC Help
Powered by ViewVC 1.1.20