]> git.draconx.ca Git - rarpd-dx.git/blob - ChangeLog.iputils
Add description of -H option to the manual.
[rarpd-dx.git] / ChangeLog.iputils
1 2020-01-06  Sami Kerola  <kerolasa@iki.fi>
2
3         common: flush streams before closing them
4
5         On loaded systems slow tty can give false positive exit failure due pending
6         bytes.  Flush the streams that hopefully makes these problems less likely.
7
8         Reference: https://github.com/iputils/iputils/commit/4655ecc5105c383669ef529f21f3344f99e7372f#commitcomment-36628770
9
10 2019-10-31  Philipp Kammerer  <kammerer@b1-systems.de>
11
12         doc: Proofreading rarpd.xml
13
14         A few suggestions to make the manpage more easy to read
15
16 2019-03-25  Jan Tojnar  <jtojnar@gmail.com>
17
18         doc: Use namespace correctly
19
20         The files declared xmlns:db but did not use the db namespace at all.
21         They did not define the default namespace at all, which coincidentally
22         worked with Docbook 4 stylesheets, making them think the files were
23         written in Docbook 4.
24
25         I fixed the namespaces of the documents and switched to the correct
26         Docbook 5 stylesheets.
27
28 2019-03-09  Sami Kerola  <kerolasa@iki.fi>
29
30         documentation: fix various spelling typos
31
32         Foudn with codespell.
33
34         Reference: https://github.com/codespell-project/codespell
35
36 2019-02-02  Sami Kerola  <kerolasa@iki.fi>
37
38         clang scan-build: fix various build warning
39
40         arping: fix dereference of null pointer.
41         clockdiff: fix assigned value is garbage or undefined warnings.
42         ninfod: fix dead assignment and use of uninitialized argument value.
43         ping: fix dead assignment.
44         rarpd: fix uninitialized argument value.
45         rdisc: fix uninitialized argument value.
46         tracepath: fix dereference of null pointer.
47
48 2019-01-01  Sami Kerola  <kerolasa@iki.fi>
49
50         rarpd: use libc function to run in the background
51
52         ninfod: check writing a pid file was successful
53
54 2019-01-01  Sami Kerola  <kerolasa@iki.fi>
55
56         libcommon: check standard streams status at exit
57
58         Earlier commands happily successed when writing to standard out or error did
59         not work.  Following demonstrates old and new behavior of all commands in
60         this project.
61
62             $ ping -c 1 127.0.0.1 > /dev/full ; echo $?
63             0
64             $ ping -c 1 127.0.0.1 > /dev/full ; echo $?
65             ./builddir/ping: write error: No space left on device
66             1
67
68 2018-12-22  Sami Kerola  <kerolasa@iki.fi>
69
70         rarpd: use error() to report command errors
71
72 2018-12-22  Sami Kerola  <kerolasa@iki.fi>
73
74         common: move error() portability go-around to common library
75
76         This allows use of error() in other programs.  The static common library can
77         also be used for other utility functions in future.
78
79 2018-12-20  Sami Kerola  <kerolasa@iki.fi>
80
81         man: reindent xml files
82
83         Due to great amount of change in this update normal review is not possible.
84         I used following to ensure there are no unexpected changes.
85
86             # Generate old manual pages.
87             git checkout origin/master
88             make clean && make
89             mkdir a
90             for i in builddir/doc/*; do man $i > a/${i##*/}; done
91             # Generate new manual pages.
92             git checkout <this-branch>
93             make clean && make
94             mkdir b
95             for i in builddir/doc/*; do man $i > b/${i##*/}; done
96             # Compare.
97             diff -ruP a b
98
99 2018-12-20  Sami Kerola  <kerolasa@iki.fi>
100
101         man: update to docbook 5
102
103 2018-12-20  Sami Kerola  <kerolasa@iki.fi>
104
105         man: fix rarpd command name in synopsis
106
107         While going through this manual page I noticed --help output being
108         incomplete, so lets sort that out in same go.
109
110 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
111
112         warnings: fix multiple errno printing format specifier issues
113
114         All of these report same warning:
115         ISO C does not support the â€˜%m’ gnu_printf format [-Wformat=]
116
117 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
118
119         add version print out to remaining commands
120
121         For some reason version print out was not implemented in all commands.  This
122         fixes that.
123
124 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
125
126         ping, rarpd, rdisc: remove historical no-op SA_INTERRUPT
127
128         The sigaction option SA_INTERRUPT has been no-op for long time.
129
130         Reference: https://lwn.net/Articles/229673/
131
132 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
133
134         usage: unify usage outputs, and improve their helpfulness
135
136         Just listing options, like ping(8) did, does not help users.
137
138 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
139
140         various: do not use kernel data types in userspace
141
142         It is long standing recommendation not to mix kernel and user space headers.
143         See reference for details.
144
145         Reference: https://lwn.net/Articles/113349/
146
147 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
148
149         docs: fix docbook xml expectations warnings
150
151         This version of xslproc:
152
153         $ xsltproc --version
154         Using libxml 20907, libxslt 10132-GITv1.1.32-3-g32c88216 and libexslt 820
155         xsltproc was compiled against libxml 20906, libxslt 10132 and libexslt 820
156         libxslt 10132 was compiled against libxml 20906
157         libexslt 820 was compiled against libxml 20906
158
159         Printed following warning at each manual page creation.
160
161         [17/25] Generating arping.8 with a custom command.
162         Note: meta source : no *info/productname or alternative            arping
163         Note: meta source : see http://www.docbook.org/tdg5/en/html/produ  arping
164         Note: meta source : no refentry/refmeta/refmiscinfo@class=source   arping
165         Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi  arping
166         Note: meta version: no *info/productnumber or alternative          arping
167         Note: meta version: see http://www.docbook.org/tdg5/en/html/produ  arping
168         Note: meta version: no refentry/refmeta/refmiscinfo@class=version  arping
169         Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi  arping
170         Warn: meta source : using "iputils" for "source"                   arping
171
172 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
173
174         warnings: fix multiple unused parameter warnings
175
176         This fixes multiple instances of unnused parameter warnings, that look like:
177         ping.c:1025:36: warning: unused parameter 'len' [-Wunused-parameter]
178
179 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
180
181         warnings: fix multiple signed and unsigned integer expressions
182
183         This fixes many many instances of the following warnings.
184
185         warning: comparison between signed and unsigned integer expressions
186         [-Wsign-compare]
187
188         Unfortunately the fix includes lots of type casts.  Each of them was
189         considered from overflow point of view, and will hopefully not cause any
190         issues.
191
192 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
193
194         warnings: fix rarpd variable initialisation
195
196         Refer struct field names in initialiser, and trust compilers to be standard
197         compliant and fill rest of the data with zeros.  This fixes following
198         compiler warning:
199
200         rarpd.c:307:4: warning: missing initializer for field 'lladdr' of 'struct
201         rarp_map' [-Wmissing-field-initializers]
202
203 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
204
205         warnings: add marker to implicit fallthrough
206
207         This fixes an implicit fallthrough warning, that looks like:
208         rarpd.c:483:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
209
210 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
211
212         warnings: remove variable shadowing
213
214         This fixes multiple instances of variable shadowing warning, that look like:
215         warning: declaration of 'var' shadows a previous local [-Wshadow]
216
217 2017-08-05  David Heidelberg  <david@ixit.cz>
218
219         doc: convert from converting SGML to XML
220
221         This work is mostly inspired by systemd manpages procedure creation. [1]
222
223         With this commit, you can freely throw SGML tools and you should be fine
224         with xsltproc :)
225
226         Enjoy!
227
228         Also, please don't be shy fix bugs, it will need more polishing!
229
230         [1] https://github.com/systemd/systemd/tree/master/man
231
232         Fixes bug: https://github.com/iputils/iputils/issues/1
233         Fixes bug: https://github.com/iputils/iputils/issues/27
234
235 2014-04-18  David Heidelberger  <david.heidelberger@ixit.cz>
236
237         replace non-POSIX compilant caddr_t with char *
238
239         fix include paths, now compile with both glibc and musl
240
241 2012-01-09  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
242
243         rarpd: Check return value of chdir().
244
245 2007-10-12  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
246
247         [RARPD]: Fixed several signedness issues for char strings.
248
249 2007-04-04  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
250
251         Fix white space errors.
252
253 2006-12-20  Mike Frysinger  <vapier@gentoo.org>
254
255         [PATCH] Use socklen_t in all the right places.
256
257 2006-04-16  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
258
259         Initial import of iputils
260
261         Obtained from <ftp://ftp.inr.ac.ru/ip-routing/iputils-ss020927.tar.gz>.