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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
|
Changelog for skalibs.
In 2.10.0.1
-----------
- Bugfixes.
In 2.10.0.0
-----------
- New openc_* functions.
- New function: ipc_bind_reuse_lock(), taking a lock before
unconditionally deleting the socket.
- ipc_bind_reuse() rewritten to use ipc_bind_reuse_lock(),
so it does the right thing instead of clobbering sockets.
- Complete revamping of the pathexec functions, see exec.h.
- Revamping of the locking functions.
- Use of standard O_NONBLOCK and O_CLOEXEC instead of adhoc
DJBUNIX_FLAG_NB and DJBUNIX_FLAG_COE.
- Better header separation; webipc.h removed (stuff moved to
socket.h)
- New function: mkptemp2(), creating a fifo with a templated
name (like mkptemp) but with options for O_NONBLOCK and O_CLOEXEC.
- New sysdep to test for chroot().
In 2.9.3.0
----------
- New stralloc_readyplus_tuned() function.
- Bugfixes.
In 2.9.2.1
----------
- Bugfixes.
In 2.9.2.0
----------
- Bugfixes.
- New bigkv_* set of functions in libdatastruct.
In 2.9.1.0
----------
- Bugfixes.
- Better support for GNU Hurd.
- Added path_canonicalize().
In 2.9.0.0
----------
- Bugfixes.
- Better support of out-of-path toolchains (among other things,
that means better autotools emulation).
- Build more friendly to recent glibc.
- Refactoring and optimization of scanning and formatting functions.
- Refactoring of stopwatch/wallclock functions. The --enable-clock
and --enable-monotonic configure switches have been removed.
tain_now() can now be set at run time to use a wall clock (default,
or via tain_now_set_wallclock()) or a stopwatch (via
tain_now_set_stopwatch()), instead of it being fixed at build time.
- Easy cross-compilation: no need to provide a whole sysdeps
directory anymore. Only a few sysdeps have to be provided manually,
via a --with-sysdep-K=V option to configure. Currently, that means
one: --with-sysdep-devurandom=yes|no
In 2.8.1.0
----------
- Added skalibs_regcomp(), accepting empty regexes on BSDs.
In 2.8.0.1
----------
- Bugfixes.
- Better reporting in utc_from_tai() and localtm_from_*()
In 2.8.0.0
----------
- Bugfixes.
- avltreeb removed. (It used VLAs inside of structures, which is
GNU C, not C99.) The AVLTREEN_DECLARE_AND_INIT() macro should be
used instead.
- New functions: env_dump(), mk?temp(), autosurf(), autosurf_name()
- mkdir_unique() removed. (Duplicate functionality with mkdtemp.)
- ancilautoclose and nbwaitall sysdeps removed.
- New header: skalibs/posixishard.h
- Static libraries are now PIC by default.
In 2.7.0.0
----------
- Bugfixes.
- New functions: ipc_timed_sendv(), unlink_void(), genset_deepfree(),
gensetdyn_deepfree(), skagetln_loose(), skagetlnsep_loose()
- dir_close() now returns void and leaves errno unchanged
- absolutepath(), sarealpath_tmp(), avl*_deletnode(), mininetstring, prot functions removed
- djbunix.h doesn't include env.h anymore
In 2.6.4.0
----------
- Bugfixes.
- New functions: execvep_loose(), byte_zzero(), openb_read(), sig0_scan()
- New function family: skalibs/genqdyn.h
In 2.6.3.1
----------
- Bugfixes.
In 2.6.3.0
----------
- New dir_fd function wrapping dirfd() (Solaris doesn't have dirfd())
- memmem implementation for platforms that don't provide it.
- memmem wrappers: byte_search, siovec_search.
- New functions: atomic_symlink, skagetlnmaxsep, child_spawn3
- New header: skalibs/posixplz.h, some header reorganization.
- New family of functions: textmessage and textclient
- skalibs/environ.h and skalibs/getpeereid.h are now obsolescent.
- Bugfixes.
In 2.6.2.0
----------
- New functions: access_at() (MacOS and Solaris don't support faccessat),
skaclient_timed_aflush().
- stralloc.h and tai.h are suitable for inclusion in C++ headers.
- New sysdep: SKALIBS_HASODIRECTORY. (MacOS doesn't support O_DIRECTORY.)
In 2.6.1.0
----------
- New function: lock_unx().
In 2.6.0.2
----------
- Bugfixes.
- Optimized packing/unpacking routines.
In 2.6.0.1
----------
- Better CPPFLAGS/CFLAGS/LDFLAGS management.
- openwritenclose() and openwritevnclose() now use mkstemp.
In 2.6.0.0
----------
- Bugfixes.
- New unixmessage_receiver_hasmsginbuf() function to address an issue
in unixmessage_handle().
- fd_close() now returns void. This mandates a major version bump.
- new skalibs_setgroups(), setgroups_with_egid() and setgroups_and_gid()
functions to work around supplementary group mismanagement in... can you
guess what operating system? (You get 3 tries. One for each BSD.)
In 2.5.1.1
----------
- Bugfixes.
In 2.5.1.0
----------
- Bugfixes.
- More workarounds for OpenBSD (who else).
- More workarounds for sysdeps detection by broken toolchains.
- Added the xpathexec_* family of functions (in djbunix.h).
In 2.5.0.0
----------
- Added this NEWS file. :)
- Dropped support for old versions of OpenBSD (at least 4.9 isn't working
anymore). Newer versions are still supported: 5.7 and up are working.
- --enable-replace-libc flag dropped. All supported systems now have a
compliant-enough libc for skalibs' purposes.
- Major types overhaul to be more POSIXly correct. 64-bit operations are
now supported on 64-bit archs where int is 32-bit. Use of POSIX types
wherever important, e.g. where pointers are used: datastruct.h indices,
for instance, are uint32_t. stralloc et al. lengths are size_t.
- Related API changes: skalibs/ushort.h, skalibs/uint.h and skalibs/ulong.h
have disappeared - replaced with skalibs/types.h that also includes basic
fmtscan support for common POSIX types. The uint16, uint32 and uint64
integer types have disappeared - replaced with stdint.h types. uint64_t is
defined by skalibs/uint64.h when stdint.h omits it.
- Lots of minor bugfixes and cleanups related to the types system.
- Better support for getrandom() and arc4random().
|