1 1.1 elric 2008-07-12 Love Hrnquist strand <lha (a] kth.se> 2 1.1 elric 3 1.1 elric * rkpty.c: Always print output for status. 4 1.1 elric 5 1.1 elric 2008-04-27 Love Hrnquist strand <lha (a] it.su.se> 6 1.1 elric 7 1.1 elric * getaddrinfo-test.c: drop ) 8 1.1 elric 9 1.1 elric * Makefile.am: Add rkpty. 10 1.1 elric 11 1.1 elric * rkpty.c: More includes. 12 1.1 elric 13 1.1 elric * rkpty.c: Add timeout, add password command, add diffrent 14 1.1 elric verbosity levels. 15 1.1 elric 16 1.1 elric 2008-04-26 Love Hrnquist strand <lha (a] it.su.se> 17 1.1 elric 18 1.1 elric * rkpty.c: pty testing application 19 1.1 elric 20 1.1 elric 2008-04-07 Love Hrnquist strand <lha (a] it.su.se> 21 1.1 elric 22 1.1 elric * resolve.c: Use unsigned where appropriate. 23 1.1 elric 24 1.1 elric 2008-02-23 Love Hrnquist strand <lha (a] it.su.se> 25 1.1 elric 26 1.1 elric * Makefile.am: make AM_CPPFLAGS += 27 1.1 elric 28 1.1 elric 2008-02-22 Love Hrnquist strand <lha (a] it.su.se> 29 1.1 elric 30 1.1 elric * Makefile.am: Use AM_CPPFLAGS instead, not really right, but 31 1.1 elric definatly better then CPPFLAGS. Thanks to Mike Whitton for 32 1.1 elric pointing this out. 33 1.1 elric 34 1.1 elric 2008-01-12 Love Hrnquist strand <lha (a] it.su.se> 35 1.1 elric 36 1.1 elric * Makefile.am: add missing files. 37 1.1 elric 38 1.1 elric 2007-08-09 Love Hrnquist strand <lha (a] it.su.se> 39 1.1 elric 40 1.1 elric * strftime.c: rewrite str[pf]time for testing. 41 1.1 elric 42 1.1 elric * strptime.c: rewrite str[pf]time for testing. 43 1.1 elric 44 1.1 elric * Makefile.am: add TEST_STRPFTIME 45 1.1 elric 46 1.1 elric 2007-07-17 Love Hrnquist strand <lha (a] it.su.se> 47 1.1 elric 48 1.1 elric * ndbm_wrap.c (dbm_get): set dsize to 0 on failure. 49 1.1 elric 50 1.1 elric * Makefile.am: add ndbm_wrap.[ch] to EXTRA_DIST 51 1.1 elric 52 1.1 elric * ndbm_wrap.c (dbm_fetch): set dsize to 0 on failure. 53 1.1 elric 54 1.1 elric 2007-07-16 Love Hrnquist strand <lha (a] it.su.se> 55 1.1 elric 56 1.1 elric * socket_wrapper.c: Implement swrap_dup too. 57 1.1 elric 58 1.1 elric * socket_wrapper.c: Add dup(dummy stub) and dup2(real). 59 1.1 elric 60 1.1 elric * socket_wrapper.h: Add dup(dummy stub) and dup2(real). 61 1.1 elric 62 1.1 elric 2007-07-10 Love Hrnquist strand <lha (a] it.su.se> 63 1.1 elric 64 1.1 elric * Makefile.am: New library version. 65 1.1 elric 66 1.1 elric 2007-06-19 Love Hrnquist strand <lha (a] it.su.se> 67 1.1 elric 68 1.1 elric * roken_gethostby.c: set proxy_port to 0 to pacify BEAM. 69 1.1 elric 70 1.1 elric 2007-06-07 Love Hrnquist strand <lha (a] it.su.se> 71 1.1 elric 72 1.1 elric * use "roken.h" consitantly 73 1.1 elric 74 1.1 elric 2007-06-03 Love Hrnquist strand <lha (a] it.su.se> 75 1.1 elric 76 1.1 elric * test-readenv.c: Free environment. 77 1.1 elric 78 1.1 elric * environment.c (free_environment): free result of 79 1.1 elric read_environment(). 80 1.1 elric 81 1.1 elric * roken-common.h (free_environment): free result of 82 1.1 elric read_environment(). 83 1.1 elric 84 1.1 elric 2007-05-10 Love Hrnquist strand <lha (a] it.su.se> 85 1.1 elric 86 1.1 elric * fnmatch.c: Do recursive call to rk_fnmatch 87 1.1 elric 88 1.1 elric 2007-01-12 Love Hrnquist strand <lha (a] it.su.se> 89 1.1 elric 90 1.1 elric * resolve.c: Try harder to call res_ndestroy(). 91 1.1 elric 92 1.1 elric 2006-12-27 Love Hrnquist strand <lha (a] it.su.se> 93 1.1 elric 94 1.1 elric * Makefile.am: make sure built headers are copied to the 95 1.1 elric ${build_topdir}/include 96 1.1 elric 97 1.1 elric 2006-12-15 Love Hrnquist strand <lha (a] it.su.se> 98 1.1 elric 99 1.1 elric * unvis.c: Use internal version of rk_unvis 100 1.1 elric 101 1.1 elric * unvis.c: Always include rk_versions. 102 1.1 elric 103 1.1 elric * vis.c: Always include rk_versions. 104 1.1 elric 105 1.1 elric * vis.hin: Fix argument for unvis and strsvisx. 106 1.1 elric 107 1.1 elric * unvis.c: prefix unvis functions with rk_, and prototypes. 108 1.1 elric 109 1.1 elric 2006-12-13 Love Hrnquist strand <lha (a] it.su.se> 110 1.1 elric 111 1.1 elric * vis.c: Provide some prototypes for the rk_vis functions. 112 1.1 elric 113 1.1 elric 2006-12-11 Love Hrnquist strand <lha (a] it.su.se> 114 1.1 elric 115 1.1 elric * ifaddrs.hin: Prefix getifaddrs functions with rk_ and do symbol 116 1.1 elric renaming. 117 1.1 elric 118 1.1 elric * fnmatch.c: Prefix fnmatch functions with rk_ and do symbol 119 1.1 elric renaming. 120 1.1 elric 121 1.1 elric * vis.hin: Prefix strvis functions with rk_ and do symbol 122 1.1 elric renaming. 123 1.1 elric 124 1.1 elric * vis.c: prefix strvis functions with rk_ 125 1.1 elric 126 1.1 elric * Makefile.am: Install extra posix headers in <roken/...> to avoid 127 1.1 elric dup headers. 128 1.1 elric 129 1.1 elric 2006-11-09 Love Hrnquist strand <lha (a] it.su.se> 130 1.1 elric 131 1.1 elric * socket_wrapper.c (swrap_sendto): fail on to unknown si->type 132 1.1 elric 133 1.1 elric 2006-11-06 Love Hrnquist strand <lha (a] it.su.se> 134 1.1 elric 135 1.1 elric * socket_wrapper.c: A few fixes to have Heimdal pass the make 136 1.1 elric check under socket_wrapper. The first is a missing 'break' before 137 1.1 elric the (heimdal specific) IPv6 support. The second works around the 138 1.1 elric fact that sendto() *may* object to a destination being specified. 139 1.1 elric It appears to be that on Linux, this objects (with EISCONN) for 140 1.1 elric unix stream sockets, but not for TCP sockets. The alternate fix 141 1.1 elric would be to have the KDC use 'send()' in this case. Andrew Bartlett. 142 1.1 elric 143 1.1 elric 2006-10-20 Love Hrnquist strand <lha (a] it.su.se> 144 1.1 elric 145 1.1 elric * Makefile.am: split dist and nondist HEADERS 146 1.1 elric 147 1.1 elric 2006-10-19 Love Hrnquist strand <lha (a] it.su.se> 148 1.1 elric 149 1.1 elric * roken.h.in: Add timegm glue. 150 1.1 elric 151 1.1 elric * timegm.c: add timegm() 152 1.1 elric 153 1.1 elric * socket_wrapper.c: Include <roken.h>, gives os socklen_t on IRIX 154 1.1 elric 6.4. 155 1.1 elric 156 1.1 elric * socket_wrapper.c: Maybe include <sys/time.h> and/or maybe 157 1.1 elric include <time.h>. 158 1.1 elric 159 1.1 elric 2006-10-17 Love Hrnquist strand <lha (a] it.su.se> 160 1.1 elric 161 1.1 elric * roken.h.in: Revert prevois for now, the problem is that we have 162 1.1 elric to include symbols unconditionally, even for those that just needs 163 1.1 elric protos. 164 1.1 elric 165 1.1 elric * roken.h.in: Provide symbol renaming, let see what breaks. 166 1.1 elric 167 1.1 elric * socket_wrapper.c: Maybe include <sys/filio.h>. 168 1.1 elric 169 1.1 elric 2006-10-10 Love Hrnquist strand <lha (a] it.su.se> 170 1.1 elric 171 1.1 elric * socket_wrapper.c: more consitity check, remove dead code, add 172 1.1 elric socket length code, add missing break, make diffrent chars of type 173 1.1 elric type files for case-insensitiv filesystems 174 1.1 elric 175 1.1 elric * socket_wrapper.c: try even hard to not use socket wrapper for 176 1.1 elric socket_wrapper itself. 177 1.1 elric 178 1.1 elric * socket_wrapper.c: Force no socket wrapper for socket_wrapper 179 1.1 elric itself. 180 1.1 elric 181 1.1 elric 2006-10-09 Love Hrnquist strand <lha (a] it.su.se> 182 1.1 elric 183 1.1 elric * socket_wrapper.c: Maybe include <config.h>. 184 1.1 elric 185 1.1 elric * socket_wrapper.c: Protect AF_INET6 with #ifdef HAVE_IPV6. 186 1.1 elric 187 1.1 elric * socket_wrapper.c: Use a symbol for the v6 address. 188 1.1 elric 189 1.1 elric * socket_wrapper.c: Add IPv6 suppport. 190 1.1 elric 191 1.1 elric * socket_wrapper.[ch]: Include socket wrapper from samba4 (rev 192 1.1 elric 19179). 193 1.1 elric 194 1.1 elric 2006-10-07 Love Hrnquist strand <lha (a] it.su.se> 195 1.1 elric 196 1.1 elric * Makefile.am: Add build_HEADERZ to EXTRA_DIST 197 1.1 elric 198 1.1 elric * Makefile.am: Add man_MANS to EXTRA_DIST 199 1.1 elric 200 1.1 elric * Makefile.am: Add to all objects BUILD_ROKEN_LIB. 201 1.1 elric 202 1.1 elric 2006-09-16 Love Hrnquist strand <lha (a] it.su.se> 203 1.1 elric 204 1.1 elric * roken.h.in: Add samba socket wrapper fragment. 205 1.1 elric 206 1.1 elric * Makefile.am: Add samba socket wrapper fragment. 207 1.1 elric 208 1.1 elric 2006-09-05 Love Hrnquist strand <lha (a] it.su.se> 209 1.1 elric 210 1.1 elric * snprintf.c: reapply patch that went away in last commit 211 1.1 elric 212 1.1 elric * snprintf-test.c: unbreak from previous commit 213 1.1 elric 214 1.1 elric * snprintf.c: Add size_t formater (z modifer). 215 1.1 elric 216 1.1 elric * snprintf-test.c: add tests for size_t printf formater 217 1.1 elric 218 1.1 elric 2006-06-30 Love Hrnquist strand <lha (a] it.su.se> 219 1.1 elric 220 1.1 elric * rtbl.h: Add extern "C" for C++. 221 1.1 elric 222 1.1 elric * rtbl.c: Add rtbl_add_column_entryv functions, printf like 223 1.1 elric 224 1.1 elric * rtbl.h: Add rtbl_add_column_entryv functions, printf like 225 1.1 elric 226 1.1 elric 2006-06-22 Love Hrnquist strand <lha (a] it.su.se> 227 1.1 elric 228 1.1 elric * glob.hin: Add extern "C" for C++. From joerg at britannica dot 229 1.1 elric bec dot de 230 1.1 elric 231 1.1 elric * fnmatch.hin: Add extern "C" for C++. From joerg at britannica 232 1.1 elric dot bec dot de 233 1.1 elric 234 1.1 elric 2006-04-20 Love Hrnquist strand <lha (a] it.su.se> 235 1.1 elric 236 1.1 elric * fnmatch.hin (fnmatch): CPP rename to rk_fnmatch 237 1.1 elric 238 1.1 elric 2006-04-14 Love Hrnquist strand <lha (a] it.su.se> 239 1.1 elric 240 1.1 elric * resolve.c (dns_srv_order): change a if (ptr == NULL) continue 241 1.1 elric into a assert(ptr != NULL) since it could never happen, found by 242 1.1 elric the IBM code checker (beam). Thanks to Florian Krohm for 243 1.1 elric explaining it. 244 1.1 elric 245 1.1 elric 2006-04-02 Love Hrnquist strand <lha (a] it.su.se> 246 1.1 elric 247 1.1 elric * roken_gethostby.c (roken_gethostby): make addr_list one larger 248 1.1 elric to avoid a off-by-one error. Found by IBM checker. 249 1.1 elric 250 1.1 elric * resolve.c: Plug memory leak found by IBM checker (and try to 251 1.1 elric please it). 252 1.1 elric 253 1.1 elric 2006-02-06 Love Hrnquist strand <lha (a] it.su.se> 254 1.1 elric 255 1.1 elric * resolve.c: Spelling, from Alexey Dobriyan, via Jason McIntyre 256 1.1 elric 257 1.1 elric 2006-01-13 Love Hrnquist strand <lha (a] it.su.se> 258 1.1 elric 259 1.1 elric * getcap.c: Don't use db support unless its build into libc but we 260 1.1 elric dont check for that now, so just disable the code. This removes 261 1.1 elric the dependency on libdb for roken, and that is a good thing since 262 1.1 elric it causes problem with nss plugins that uses DB3 that also 263 1.1 elric provides the same symbol, but with a diffrent ABI. so when the 264 1.1 elric application calls getpwnamn() and it linked to roken, it craches 265 1.1 elric in the nss functions. 266 1.1 elric 267 1.1 elric 2006-01-09 Love Hrnquist strand <lha (a] it.su.se> 268 1.1 elric 269 1.1 elric * hex.c (hex_decode): support decoding odd number of characters, 270 1.1 elric in the odd len case, the first character ends up in the first byte 271 1.1 elric in the lower nibble. 272 1.1 elric 273 1.1 elric * hex-test.c: Check that we can decode single character hex chars. 274 1.1 elric 275 1.1 elric 2005-12-12 Love Hrnquist strand <lha (a] it.su.se> 276 1.1 elric 277 1.1 elric * getifaddrs.c: Try handle HP/UX 11.nn, its diffrent from Solaris 278 1.1 elric large SIOCGIFCONF. 279 1.1 elric 280 1.1 elric 2005-09-28 Love Hrnquist strand <lha (a] it.su.se> 281 1.1 elric 282 1.1 elric * roken-common.h: Move rk_UNCONST to roken.h.in since it might use 283 1.1 elric uintptr_t depending on avaibility. 284 1.1 elric 285 1.1 elric * roken.h.in: Include <stdint.h> if it exists. If avaiable, use 286 1.1 elric uintptr_t to define rk_UNCONST. 287 1.1 elric 288 1.1 elric 2005-09-22 Love Hrnquist strand <lha (a] it.su.se> 289 1.1 elric 290 1.1 elric * roken-common.h: Add rk_dumpdata. 291 1.1 elric 292 1.1 elric * dumpdata.c: Add rk_dumpdata() that write a chunk of data into a 293 1.1 elric file for later processing by some other tool (like asn1_print). 294 1.1 elric 295 1.1 elric 2005-09-13 Love Hrnquist strand <lha (a] it.su.se> 296 1.1 elric 297 1.1 elric * strptime.c: cast to unsigned char to make sure its not negative 298 1.1 elric when passing it to is* functions 299 1.1 elric 300 1.1 elric 2005-09-01 Love Hrnquist strand <lha (a] it.su.se> 301 1.1 elric 302 1.1 elric * socket.c: Add socket_set_ipv6only. 303 1.1 elric 304 1.1 elric * roken-common.h: Add socket_set_ipv6only, remove some argument 305 1.1 elric names. 306 1.1 elric 307 1.1 elric 2005-08-25 Love Hrnquist strand <lha (a] it.su.se> 308 1.1 elric 309 1.2 christos * strpool.c (rk_strpoolprintf): remove debug __printf__, plug memory 310 1.1 elric leak 311 1.1 elric 312 1.1 elric 2005-08-23 Love Hrnquist strand <lha (a] it.su.se> 313 1.1 elric 314 1.1 elric * setprogname.c (setprogname): const poision 315 1.1 elric 316 1.1 elric * print_version.c: Removed, moved to libvers. 317 1.1 elric 318 1.1 elric 2005-08-22 Love Hrnquist strand <lha (a] it.su.se> 319 1.1 elric 320 1.1 elric * resolve.c (dns_lookup_int): if we have res_ndestroy, prefeer 321 1.1 elric that before res_nclose 322 1.1 elric 323 1.1 elric 2005-08-12 Love Hrnquist strand <lha (a] it.su.se> 324 1.1 elric 325 1.1 elric * getaddrinfo-test.c: Rename optind to optidx to avoid shadowing. 326 1.1 elric 327 1.1 elric 2005-08-05 Love Hrnquist strand <lha (a] it.su.se> 328 1.1 elric 329 1.1 elric * gai_strerror.c: sprinkel more const 330 1.1 elric 331 1.1 elric * gai_strerror.c, roken.h.in: Make return value of gai_strerror 332 1.1 elric const to match SUSv3. Prompted by Stefan Metzmacher change to 333 1.1 elric Samba. 334 1.1 elric 335 1.1 elric 2005-07-19 Love Hrnquist strand <lha (a] it.su.se> 336 1.1 elric 337 1.1 elric * roken.h.in: Remove parameter names to avoid shadow warnings. 338 1.1 elric 339 1.1 elric 2005-07-13 Love Hrnquist strand <lha (a] it.su.se> 340 1.1 elric 341 1.1 elric * getifaddrs.c (nl_getlist): poll to get messages from kernel, and 342 1.1 elric retry if the message was lost 343 1.1 elric (free_nlmsglist): free all linked elements, not just the first one 344 1.1 elric 345 1.1 elric 2005-07-08 Love Hrnquist strand <lha (a] it.su.se> 346 1.1 elric 347 1.1 elric * snprintf-test.c: Check a very simple format string 348 1.1 elric 349 1.1 elric 2005-07-07 Love Hrnquist strand <lha (a] it.su.se> 350 1.1 elric 351 1.1 elric * roken.h.in: If we have <strings.h> include it, its needed for 352 1.1 elric strcasecmp() on those platforms that are SUS3/iso c99 strict (like 353 1.1 elric AIX) 354 1.1 elric 355 1.1 elric * roken-common.h: remove duplicate ; 356 1.1 elric 357 1.1 elric 2005-07-06 Love Hrnquist strand <lha (a] it.su.se> 358 1.1 elric 359 1.1 elric * roken-common.h: rk_strpoolprintf first variable identifier is 3 360 1.1 elric 361 1.1 elric 2005-06-30 Love Hrnquist strand <lha (a] it.su.se> 362 1.1 elric 363 1.1 elric * base64.h: remove variable names 364 1.1 elric 365 1.1 elric 2005-06-29 Love Hrnquist strand <lha (a] it.su.se> 366 1.1 elric 367 1.1 elric * roken-common.h: fix format attribute 368 1.1 elric 369 1.1 elric * Makefile.am (libroken_la_SOURCES): += strpool.c 370 1.1 elric 371 1.1 elric * roken-common.h: add strpool, a printf collector to make it 372 1.1 elric eaiser to collect strings into one string 373 1.1 elric 374 1.1 elric * strpool.c: add strpool, a printf collector to make it eaiser to 375 1.1 elric collect strings into one string 376 1.1 elric 377 1.1 elric 2005-06-23 Love Hrnquist strand <lha (a] it.su.se> 378 1.1 elric 379 1.1 elric * base64.c: Add const, from Andrew Abartlet <abartlet (a] samba.org> 380 1.1 elric 381 1.1 elric 2005-06-21 Love Hrnquist strand <lha (a] it.su.se> 382 1.1 elric 383 1.1 elric * strpftime-test.c: test for "%Y%m" 384 1.1 elric 385 1.1 elric * esetenv.c: unconst 386 1.1 elric 387 1.1 elric * strptime.c: Write a new parse_number function that is possible 388 1.1 elric to limit that amount of numbers used, with this strptime can 389 1.1 elric handle strptime("200505", "%Y%m", &tm); 390 1.1 elric 391 1.1 elric 2005-06-16 Love Hrnquist strand <lha (a] it.su.se> 392 1.1 elric 393 1.1 elric * getaddrinfo.c: avoid shadowing sin 394 1.1 elric 395 1.1 elric * resolve-test.c: rename optind to optidx to avoid shadowing 396 1.1 elric 397 1.1 elric * strptime.c: UNCONST return value from strptime 398 1.1 elric 399 1.1 elric * strftime.c: rk_UNCONST argument mktime 400 1.1 elric 401 1.1 elric * getnameinfo.c: avoid shadowing sin 402 1.1 elric 403 1.1 elric * socket.c: avoid shadowing sin 404 1.1 elric 405 1.1 elric * resolve.c (parse_record): fix casting to avoid losing const 406 1.1 elric 407 1.1 elric * roken.awk: since we got no feedback regarding people running 408 1.1 elric heimdal on the crays, remove the quoted # version 409 1.1 elric 410 1.1 elric * environment.c: rename index to idx to avoid shadowing 411 1.1 elric 412 1.1 elric 2005-05-29 Love Hrnquist strand <lha (a] it.su.se> 413 1.1 elric 414 1.1 elric * parse_reply-test.c: avoid signedness warnings 415 1.1 elric 416 1.1 elric * test-mem.c: avoid signedness warnings 417 1.1 elric 418 1.1 elric 2005-05-27 Love Hrnquist strand <lha (a] it.su.se> 419 1.1 elric 420 1.1 elric * hex.c: include "roken.h" to avoid undefined size_t/ssize_t 421 1.1 elric 422 1.1 elric 2005-05-24 Dave Love <fx (a] gnu.org> 423 1.1 elric 424 1.1 elric * Makefile.am (snprintf_test_SOURCES): Add snprintf-test.h. 425 1.1 elric 426 1.1 elric 2005-05-20 Love Hrnquist strand <lha (a] it.su.se> 427 1.1 elric 428 1.1 elric * environment.c (rk_read_env_file): move assignment to later to 429 1.1 elric make pre c99 compiler happy 430 1.1 elric 431 1.1 elric 2005-05-18 Love Hrnquist strand <lha (a] it.su.se> 432 1.1 elric 433 1.1 elric * strptime.c: use english spelling of March 434 1.1 elric 435 1.1 elric 2005-05-17 Johan Danielsson <joda (a] pdc.kth.se> 436 1.1 elric 437 1.1 elric * Makefile.am: only link with dblib if we need it 438 1.1 elric 439 1.1 elric * Makefile.am: add test_readenv 440 1.1 elric 441 1.1 elric * test-readenv.c: test for read_environment() 442 1.1 elric 443 1.1 elric * environment.c: eliminate duplicates 444 1.1 elric 445 1.1 elric 2005-05-13 Love Hrnquist strand <lha (a] it.su.se> 446 1.1 elric 447 1.1 elric * issuid.c (issuid): change the #ifdef order to avoid unreachable 448 1.1 elric code warning. 449 1.1 elric 450 1.1 elric 2005-05-10 Dave Love <fx (a] gnu.org> 451 1.1 elric 452 1.1 elric * roken.h.in: Get daemon declared on Solaris (it's in unistd.h but 453 1.1 elric masked by a feature test), just to avoid a warning, since it has 454 1.1 elric int args. Include err.h unconditionally, since it's always 455 1.1 elric supplied. 456 1.1 elric 457 1.1 elric 2005-05-04 Dave Love <fx (a] gnu.org> 458 1.1 elric 459 1.1 elric * snprintf-test.c: Include snprintf-test.h earlier. 460 1.1 elric 461 1.1 elric 2005-05-03 Dave Love <fx (a] gnu.org> 462 1.1 elric 463 1.1 elric * snprintf.c: Include snprintf-test.h earlier. 464 1.1 elric 465 1.1 elric * test-mem.c: Add member fd to map. 466 1.1 elric (rk_test_mem_alloc, rk_test_mem_free): Use it. 467 1.1 elric 468 1.1 elric 2005-04-30 Love Hrnquist strand <lha (a] it.su.se> 469 1.1 elric 470 1.1 elric * getifaddrs.c: add break on default: statements, from Douglas 471 1.1 elric E. Engert 472 1.1 elric 473 1.1 elric * snprintf.c (vsnprintf): don't write the NUL into the string if 474 1.1 elric the length was 0 475 1.1 elric 476 1.1 elric * snprintf-test.c: add check that snprintf doesn't write the NUL 477 1.1 elric into the last byte when its a zero length input string 478 1.1 elric 479 1.1 elric * parse_time-test.c: Include <err.h>. 480 1.1 elric 481 1.1 elric 2005-04-27 Love Hrnquist strand <lha (a] it.su.se> 482 1.1 elric 483 1.1 elric * parse_time-test.c: improve testing 484 1.1 elric 485 1.1 elric * roken-common.h: add rk_realloc 486 1.1 elric 487 1.1 elric * Makefile.am: add realloc 488 1.1 elric 489 1.1 elric * realloc.c: add rk_realloc, unbroken version of realloc 490 1.1 elric 491 1.1 elric 2005-04-26 Dave Love <fx (a] gnu.org> 492 1.1 elric 493 1.1 elric * getusershell.c: Include roken.h 494 1.1 elric 495 1.1 elric 2005-04-18 Love Hrnquist strand <lha (a] it.su.se> 496 1.1 elric 497 1.1 elric * unvis.c: cast to unsigned char to make sure its not negative 498 1.1 elric when passing it to is* functions 499 1.1 elric 500 1.1 elric * strptime.c: cast to unsigned char to make sure its not negative 501 1.1 elric when passing it to to* functions 502 1.1 elric 503 1.1 elric 2005-04-13 Love Hrnquist strand <lha (a] it.su.se> 504 1.1 elric 505 1.1 elric * simple_exec.c: don't close stderr, close all fd that is num 3 506 1.1 elric and larger 507 1.1 elric 508 1.1 elric * simple_exec.c (pipe_execv): use closefrom 509 1.1 elric 510 1.1 elric * add closefrom 511 1.1 elric 512 1.1 elric 2005-04-12 Love Hrnquist strand <lha (a] it.su.se> 513 1.1 elric 514 1.1 elric * add ROKEN_LIB_FUNCTION to all exported functions 515 1.1 elric 516 1.1 elric 2005-04-10 Love Hrnquist strand <lha (a] it.su.se> 517 1.1 elric 518 1.1 elric * resolve-test.c: print DS 519 1.1 elric 520 1.1 elric 2005-04-07 Love Hrnquist strand <lha (a] it.su.se> 521 1.1 elric 522 1.1 elric * parse_time-test.c: remove unused variable 523 1.1 elric 524 1.1 elric 2005-04-04 Love Hrnquist strand <lha (a] it.su.se> 525 1.1 elric 526 1.1 elric * strpftime-test.c: print size_t by casting to unsigned long 527 1.1 elric 528 1.1 elric * base64-test.c: print size_t by casting to unsigned long 529 1.1 elric 530 1.1 elric * hex-test.c: print size_t by casting to unsigned long 531 1.1 elric 532 1.1 elric * resolve-test.c: print size_t by casting to unsigned long 533 1.1 elric 534 1.1 elric 2005-04-01 Love Hrnquist strand <lha (a] it.su.se> 535 1.1 elric 536 1.1 elric * snprintf-test.c (try): reset va_list argument between reuse, 537 1.1 elric from Peter Kruty <xkruty (a] fi.muni.cz> 538 1.1 elric 539 1.1 elric 2005-03-30 Love Hrnquist strand <lha (a] it.su.se> 540 1.1 elric 541 1.1 elric * roken_gethostby.c (roken_gethostby): s/sin/addr/ to avoid 542 1.1 elric shadowing 543 1.1 elric 544 1.1 elric * resolve.c (dns_lookup_int): s/stat/state/ to avoid shadowing 545 1.1 elric 546 1.1 elric * parse_units.c: avoid shadowing div 547 1.1 elric 548 1.1 elric 2005-03-26 Love Hrnquist strand <lha (a] it.su.se> 549 1.1 elric 550 1.1 elric * snprintf.c: use defined(TEST_SNPRINTF) like on all other places 551 1.1 elric in the same file 552 1.1 elric 553 1.1 elric 2005-03-21 Love Hrnquist strand <lha (a] it.su.se> 554 1.1 elric 555 1.1 elric * hex.c: check for overflows 556 1.1 elric 557 1.1 elric 2005-03-18 Love Hrnquist strand <lha (a] it.su.se> 558 1.1 elric 559 1.1 elric * vis.c: use RCSID instead of __RCSID 560 1.1 elric 561 1.1 elric 2005-03-06 Love Hrnquist strand <lha (a] it.su.se> 562 1.1 elric 563 1.1 elric * Makefile.am: check_PROGRAMS += hex-test 564 1.1 elric 565 1.1 elric * hex-test.c: hex encoding/decoding test 566 1.1 elric 567 1.1 elric * hex.c: fix decodeing, it processed to much data and thus 568 1.1 elric returned the wrong length 569 1.1 elric 570 1.1 elric 2005-03-04 Love Hrnquist strand <lha (a] it.su.se> 571 1.1 elric 572 1.1 elric * Makefile.am: add hex.[ch] 573 1.1 elric 574 1.1 elric * hex.c: add hex encoder/decoder 575 1.1 elric 576 1.1 elric 2005-03-02 Love Hrnquist strand <lha (a] it.su.se> 577 1.1 elric 578 1.1 elric * daemon.c fnmatch.c fnmatch.hin getcap.c getopt.c getusershell.c 579 1.1 elric glob.c glob.hin iruserok.c unvis.c vis.hin: 580 1.1 elric 581 1.1 elric In 1997, the University of California, Berkeley issued a statement 582 1.1 elric retroactively relicensing all code held under their copyright from 583 1.1 elric a 4-clause 'traditional' BSD license to a new 3-clause 'revised' 584 1.1 elric BSD license, which removed the advertising clause. 585 1.1 elric 586 1.1 elric From NetBSD, via Joel Baker, and Alistair G. Crooks 587 1.1 elric 588 1.1 elric * getaddrinfo-test.c: remove stray ( in output 589 1.1 elric 590 1.1 elric * vis.c: Update new revision from NetBSD (copyright update) 591 1.1 elric 592 1.1 elric 2005-02-24 Love Hrnquist strand <lha (a] it.su.se> 593 1.1 elric 594 1.1 elric * Makefile.am: bump version to 17:0:1 595 1.1 elric 596 1.1 elric 2005-01-19 Dave Love <d.love (a] dl.ac.uk> 597 1.1 elric 598 1.1 elric * getusershell.c: Include ctype.h, cast argument to isspace to 599 1.1 elric unsigned char. 600 1.1 elric 601 1.1 elric 2004-10-31 Love Hrnquist strand <lha (a] it.su.se> 602 1.1 elric 603 1.1 elric * parse_time.3, parse_units.c: Change the behavior of the 604 1.1 elric parse_unit code to return the number of bytes needed to print the 605 1.1 elric whole string (minus the trailing '\0'), just like snprintf. Idea 606 1.1 elric from bugreport from Gabriel Kihlman <gk (a] stacken.kth.se>. 607 1.1 elric 608 1.1 elric * parse_time-test.c Makefile.am test-mem.c test-mem.h: test parse_time 609 1.1 elric 610 1.1 elric 2004-10-16 Love Hrnquist strand <lha (a] it.su.se> 611 1.1 elric 612 1.1 elric * resolve.c: put dns_type_to_string and dns_string_to_type in the 613 1.1 elric abi 614 1.1 elric 615 1.1 elric * resolve.c: add ds_record 616 1.1 elric 617 1.1 elric * resolve.h: add ds_record 618 1.1 elric 619 1.1 elric 2004-10-06 Love Hrnquist strand <lha (a] it.su.se> 620 1.1 elric 621 1.1 elric * ndbm_wrap.c: undefine open so this works on solaris with large 622 1.1 elric file support From netbsd's pkgsrc via Gavan Fantom 623 1.1 elric 624 1.1 elric 2004-09-13 Love Hrnquist strand <lha (a] it.su.se> 625 1.1 elric 626 1.1 elric * resolve-test.c: add --version/--help 627 1.1 elric 628 1.1 elric 2004-09-12 Love Hrnquist strand <lha (a] it.su.se> 629 1.1 elric 630 1.1 elric * Makefile.am: make resolve-test a noinst program 631 1.1 elric 632 1.1 elric 2004-09-11 Love Hrnquist strand <lha (a] it.su.se> 633 1.1 elric 634 1.1 elric * resolve-test.c: test program for libroken resolve from resolve.c 635 1.1 elric 636 1.1 elric * Makefile.am: add resolve-test 637 1.1 elric 638 1.1 elric * resolve.h: add constant for max DNS protocol packet size 639 1.1 elric 640 1.1 elric * resolve.c (dns_lookup_int): grow the answer buffer to the size 641 1.1 elric the server send to us if the answer buffer was too small (limited 642 1.1 elric to the dns protocol max packet size) 643 1.1 elric 644 1.1 elric 2004-08-26 Johan Danielsson <joda (a] pdc.kth.se> 645 1.1 elric 646 1.1 elric * err.hin: no need to declare __progname here 647 1.1 elric 648 1.1 elric * Makefile.am: always clean generated headers 649 1.1 elric 650 1.1 elric 2004-06-26 Love Hrnquist strand <lha (a] it.su.se> 651 1.1 elric 652 1.1 elric * rtbl.3: use .In for header, remove trailing space 653 1.1 elric 654 1.1 elric 2004-06-23 Johan Danielsson <joda (a] pdc.kth.se> 655 1.1 elric 656 1.1 elric * rtbl.h: add protos and macros 657 1.1 elric 658 1.1 elric * rtbl.c: implement a bunch of stuff: 659 1.1 elric - column separator (instead of global column prefix) 660 1.1 elric - per column suffix 661 1.1 elric - indexing columns by id-number instead of column header 662 1.1 elric - optional header supression (via settable flags) 663 1.1 elric - ability to end a row 664 1.1 elric - don't extend last column to full width 665 1.1 elric 666 1.1 elric 2004-06-20 Love Hrnquist strand <lha (a] it.su.se> 667 1.1 elric 668 1.1 elric * resolve.[ch]: add and use and bind9 version of rr type 669 1.1 elric (rk_ns_t_XXX) instead of the old bind4 version (T_XXX) 670 1.1 elric 671 1.1 elric 2004-05-25 Love Hrnquist strand <lha (a] it.su.se> 672 1.1 elric 673 1.1 elric * resolve.c (stot): add AAAA 674 1.1 elric 675 1.1 elric 2004-02-17 Love Hrnquist strand <lha (a] it.su.se> 676 1.1 elric 677 1.1 elric * getarg.c (add_string): catch error from realloc 678 1.1 elric 679 1.1 elric 2004-02-12 Love Hrnquist strand <lha (a] it.su.se> 680 1.1 elric 681 1.1 elric * roken-common.h: add simple_execve_timed 682 1.1 elric 683 1.1 elric * roken-common.h: add timed simple_exec 684 1.1 elric 685 1.1 elric * simple_exec.c: add timed simple_exec 686 1.1 elric 687 1.1 elric 2004-01-05 Love Hrnquist strand <lha (a] it.su.se> 688 1.1 elric 689 1.1 elric * gai_strerror.c: correct ifdef for EAI_ADDRFAMILY 690 1.1 elric 691 1.1 elric 2003-12-14 Love Hrnquist strand <lha (a] it.su.se> 692 1.1 elric 693 1.1 elric * resolve.c: parse dns header, add support for SSHFP 694 1.1 elric 695 1.1 elric * resolve.h: add cpp rewrite for sshfp_record 696 1.1 elric 697 1.1 elric * resolve.h: add SSHFP, clean up the the dns_header 698 1.1 elric 699 1.1 elric 2003-12-14 Love Hrnquist strand <lha (a] it.su.se> 700 1.1 elric 701 1.1 elric * resolve.h: remove HEADER (only used for crays) 702 1.1 elric 703 1.1 elric * resolve.c: number-of fields no longer stored in network order 704 1.1 elric 705 1.1 elric 2003-12-13 Love Hrnquist strand <lha (a] it.su.se> 706 1.1 elric 707 1.1 elric * resolve.c: remove depency on c99 types in resolv.h 708 1.1 elric 709 1.1 elric * resolve.h: remove depency on c99 types 710 1.1 elric 711 1.1 elric 2003-12-06 Love Hrnquist strand <lha (a] it.su.se> 712 1.1 elric 713 1.1 elric * resolv.h: add more T_ types and inline the dns headers, all this 714 1.1 elric for bind9 resolvers 715 1.1 elric 716 1.1 elric 2003-12-02 Love Hrnquist strand <lha (a] it.su.se> 717 1.1 elric 718 1.1 elric * gai_strerror.c: EAI_ADDRFAMILY and EAI_NODATA is deprecated 719 1.1 elric 720 1.1 elric * roken-common.h: use EAI_NONAME instead of EAI_ADDRFAMILY to 721 1.1 elric check for if we need EAI_ macros 722 1.1 elric 723 1.1 elric 2003-10-04 Love Hrnquist strand <lha (a] it.su.se> 724 1.1 elric 725 1.1 elric * strptime.c: let t and n match zero or more whitespaces 726 1.1 elric 727 1.1 elric 2003-08-29 Love Hrnquist strand <lha (a] it.su.se> 728 1.1 elric 729 1.1 elric * ndbm_wrap.c: patch for working with DB4 on heimdal-discuss 730 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 731 1.1 elric 732 1.1 elric 2003-08-27 Johan Danielsson <joda (a] pdc.kth.se> 733 1.1 elric 734 1.1 elric * Makefile.am: don't include discovered files in EXTRA_SOURCES; 735 1.1 elric don't depend on all header files, just the built ones 736 1.1 elric 737 1.1 elric 2003-08-15 Johan Danielsson <joda (a] pdc.kth.se> 738 1.1 elric 739 1.1 elric * emalloc.3: manpage 740 1.1 elric 741 1.1 elric 2003-07-11 Love <lha (a] stacken.kth.se> 742 1.1 elric 743 1.1 elric * resolve.c: AIX have broken res_nsearch() in 5.1 (5.0 also ?) so 744 1.1 elric just don't use res_nsearch on AIX 745 1.1 elric 746 1.1 elric 2003-06-29 Johan Danielsson <joda (a] pdc.kth.se> 747 1.1 elric 748 1.1 elric * snprintf.c: * don't ever print sign for unsigned conversions * 749 1.1 elric don't break when right justifying a number past the end of the 750 1.1 elric buffer * handle zero precision and the value zero more correctly 751 1.1 elric 752 1.1 elric 2003-06-14 Love <lha (a] stacken.kth.se> 753 1.1 elric 754 1.1 elric * glob.hin: prefix glob symbols with rk_ 755 1.1 elric 756 1.1 elric 2003-04-22 Love <lha (a] stacken.kth.se> 757 1.1 elric 758 1.1 elric * resolve.c: copy NUL too, from janj (a] wenf.org via openbsd 759 1.1 elric 760 1.1 elric 2003-04-16 Love <lha (a] stacken.kth.se> 761 1.1 elric 762 1.1 elric * parse_units.h: remove typedef for units to avoid problems with 763 1.1 elric shadowing 764 1.1 elric 765 1.1 elric * resolve.c: use strlcpy, from openbsd 766 1.1 elric 767 1.1 elric * getcap.c: use strlcpy, from openbsd 768 1.1 elric 769 1.1 elric * getarg.3: Change .Fd #include <header.h> to .In header.h 770 1.1 elric from Thomas Klausner <wiz (a] netbsd.org> 771 1.1 elric 772 1.1 elric 2003-04-15 Love <lha (a] stacken.kth.se> 773 1.1 elric 774 1.1 elric * socket.c (socket_set_tos): if setsockopt failed with EINVAL 775 1.1 elric failed, just ignore it, sock was probably a just a non AF_INET 776 1.1 elric socket 777 1.1 elric 778 1.1 elric 2003-04-14 Love <lha (a] stacken.kth.se> 779 1.1 elric 780 1.1 elric * strncasecmp.c: cast argument to toupper to unsigned char, from 781 1.1 elric Christian Biere <christianbiere (a] gmx.de> via NetBSD 782 1.1 elric 783 1.1 elric * strlwr.c: cast argument to tolower to unsigned char, from 784 1.1 elric Christian Biere <christianbiere (a] gmx.de> via NetBSD 785 1.1 elric 786 1.1 elric * strcasecmp.c: cast argument to toupper to unsigned char, from 787 1.1 elric Christian Biere <christianbiere (a] gmx.de> via NetBSD 788 1.1 elric 789 1.1 elric 2003-03-19 Love <lha (a] stacken.kth.se> 790 1.1 elric 791 1.1 elric * getarg.3: spelling, from <jmc (a] prioris.mini.pw.edu.pl> 792 1.1 elric 793 1.1 elric 2003-03-07 Love <lha (a] stacken.kth.se> 794 1.1 elric 795 1.1 elric * parse_bytes.c: use struct units instead of units 796 1.1 elric 797 1.1 elric * parse_time.c: use struct units instead of units 798 1.1 elric 799 1.1 elric 2003-03-04 Love <lha (a] stacken.kth.se> 800 1.1 elric 801 1.1 elric * roken.awk: use full prototype for main 802 1.1 elric 803 1.1 elric 2002-10-15 Johan Danielsson <joda (a] pdc.kth.se> 804 1.1 elric 805 1.1 elric * resolve.c: check length of txt records 806 1.1 elric 807 1.1 elric 2002-09-10 Johan Danielsson <joda (a] pdc.kth.se> 808 1.1 elric 809 1.1 elric * roken.awk: include config.h before stdio.h (breaks with 810 1.1 elric _FILE_OFFSET_BITS on solaris otherwise) 811 1.1 elric 812 1.1 elric 2002-09-09 Johan Danielsson <joda (a] pdc.kth.se> 813 1.1 elric 814 1.1 elric * resolve.c: fix res_nsearch call, but don't use it for now, AIX5 815 1.1 elric has a broken version that trashes memory 816 1.1 elric 817 1.1 elric * roken-common.h: fix typo in previous 818 1.1 elric 819 1.1 elric * roken-common.h: change IRIX == 4 to IRIX4 820 1.1 elric 821 1.1 elric 2002-09-04 Assar Westerlund <assar (a] kth.se> 822 1.1 elric 823 1.1 elric * getifaddrs.c: remove some warnings from the linux-portion 824 1.1 elric 825 1.1 elric * getnameinfo_verified.c (getnameinfo_verified): handle the case 826 1.1 elric of forward but no backward DNS information, and also describe the 827 1.1 elric desired behaviour. from Love <lha (a] stacken.kth.se> 828 1.1 elric 829 1.1 elric 2002-09-04 Johan Danielsson <joda (a] pdc.kth.se> 830 1.1 elric 831 1.1 elric * rtbl.c (rtbl_destroy): free whole table 832 1.1 elric 833 1.1 elric * resolve.c: use res_nsearch if we have it (from Larry Greenfield) 834 1.1 elric 835 1.1 elric 2002-09-03 Assar Westerlund <assar (a] kth.se> 836 1.1 elric 837 1.1 elric * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki 838 1.1 elric YOSHIFUJI of the Usagi project 839 1.1 elric 840 1.1 elric * parse_reply-test.c: make this build and return 77 if there is no 841 1.1 elric mmap 842 1.1 elric 843 1.1 elric * Makefile.am (parse_reply-test): add 844 1.1 elric * parse_reply-test.c: add a test case for parse_reply reading past 845 1.1 elric the given buffer 846 1.1 elric * resolve.c (parse_reply): update the arguments to more reasonable 847 1.1 elric types. allow parse_reply-test to call it 848 1.1 elric 849 1.1 elric 2002-08-28 Johan Danielsson <joda (a] pdc.kth.se> 850 1.1 elric 851 1.1 elric * resolve.c (dns_srv_order): do alignment tricks with the random() 852 1.1 elric state (from NetBSD) 853 1.1 elric 854 1.1 elric 2002-08-27 Assar Westerlund <assar (a] kth.se> 855 1.1 elric 856 1.1 elric * resolve.c (parse_reply): verify the lengths (both external and 857 1.1 elric internal) are consistent and not too long 858 1.1 elric (dns_lookup_int): be conservative in the length sent in to to 859 1.1 elric parse_reply 860 1.1 elric 861 1.1 elric 2002-08-26 Assar Westerlund <assar (a] kth.se> 862 1.1 elric 863 1.1 elric * roken.h.in: add prototypes for str, unvis functions 864 1.1 elric * resolve.h: add fallback definition for T_AAAA 865 1.1 elric 866 1.1 elric 2002-08-22 Johan Danielsson <joda (a] pdc.kth.se> 867 1.1 elric 868 1.1 elric * roken.h.in: we may need a prototype for strndup 869 1.1 elric 870 1.1 elric 2002-08-20 Johan Danielsson <joda (a] pdc.kth.se> 871 1.1 elric 872 1.1 elric * roken.h.in: typedef ssize_t here 873 1.1 elric 874 1.1 elric * getarg.c: don't put Ns before comma 875 1.1 elric 876 1.1 elric * resolve.c: _res might not be available 877 1.1 elric 878 1.1 elric * localtime_r.c: include stdio.h and roken.h 879 1.1 elric 880 1.1 elric * strftime.c: only use altzone if we have it 881 1.1 elric 882 1.1 elric * roken-common.h: AI_NUMERICHOST needs special handling 883 1.1 elric 884 1.1 elric * strlcat.c: add some consistency checks 885 1.1 elric 886 1.1 elric * strlcpy.c: make the logic simpler, and handle dst_sz == 0 887 1.1 elric 888 1.1 elric 2002-08-19 Johan Danielsson <joda (a] pdc.kth.se> 889 1.1 elric 890 1.1 elric * resolve.h: prefix these functions to avoid conflicts with other 891 1.1 elric packages 892 1.1 elric 893 1.1 elric 2002-08-14 Johan Danielsson <joda (a] pdc.kth.se> 894 1.1 elric 895 1.1 elric * strsep_copy.c: don't write to buf if len == 0 896 1.1 elric 897 1.1 elric 2002-05-31 Assar Westerlund <assar (a] pdc.kth.se> 898 1.1 elric 899 1.1 elric * Makefile.am: *_LDADD: add LDADD, so that libroken is used 900 1.1 elric 901 1.1 elric 2002-05-17 Johan Danielsson <joda (a] pdc.kth.se> 902 1.1 elric 903 1.1 elric * xdbm.h: remove old dbm part 904 1.1 elric 905 1.1 elric 2002-04-30 Johan Danielsson <joda (a] pdc.kth.se> 906 1.1 elric 907 1.1 elric * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries 908 1.1 elric 909 1.1 elric 2002-04-18 Johan Danielsson <joda (a] pdc.kth.se> 910 1.1 elric 911 1.1 elric * roken.h.in: move mini_inetd protos to after addrinfo definition 912 1.1 elric 913 1.1 elric * snprintf.c (append_number): make rep const 914 1.1 elric 915 1.1 elric * getarg.h: rename optind and optarg to avoid some gcc warnings 916 1.1 elric 917 1.1 elric * getarg.c: rename optind and optarg to avoid some gcc warnings 918 1.1 elric 919 1.1 elric 2002-02-18 Johan Danielsson <joda (a] pdc.kth.se> 920 1.1 elric 921 1.1 elric * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead 922 1.1 elric of a port number 923 1.1 elric 924 1.1 elric 2001-11-30 Assar Westerlund <assar (a] sics.se> 925 1.1 elric 926 1.1 elric * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are 927 1.1 elric used on Solaris 8 to retrieve addresses larger than `struct 928 1.1 elric sockaddr'. From Magnus Ahltorp <ahltorp (a] nada.kth.se> (with some 929 1.1 elric modifications by me) 930 1.1 elric 931 1.1 elric 2001-10-27 Assar Westerlund <assar (a] sics.se> 932 1.1 elric 933 1.1 elric * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6 934 1.1 elric 935 1.1 elric 2001-10-22 Assar Westerlund <assar (a] sics.se> 936 1.1 elric 937 1.1 elric * localtime_r.c: add 938 1.1 elric 939 1.1 elric 2001-10-02 Johan Danielsson <joda (a] pdc.kth.se> 940 1.1 elric 941 1.1 elric * resolve.c (dns_srv_order): don't try to return a value 942 1.1 elric 943 1.1 elric 2001-09-24 Johan Danielsson <joda (a] pdc.kth.se> 944 1.1 elric 945 1.1 elric * snprintf.c: va_{start,end} fixes; from Thomas Klausner 946 1.1 elric 947 1.1 elric 2001-09-20 Assar Westerlund <assar (a] sics.se> 948 1.1 elric 949 1.1 elric * resolve.c (dns_srv_order): make sure of not reading after the 950 1.1 elric array 951 1.1 elric 952 1.1 elric 2001-09-17 Assar Westerlund <assar (a] sics.se> 953 1.1 elric 954 1.1 elric * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5 955 1.1 elric * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to 956 1.1 elric avoid collision with resolv.h on aix 957 1.1 elric 958 1.1 elric 2001-09-04 Assar Westerlund <assar (a] sics.se> 959 1.1 elric 960 1.1 elric * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c, 961 1.1 elric parse_units.h: use int instead of size_t as return values to be 962 1.1 elric compatible with snprintf 963 1.1 elric 964 1.1 elric * strftime.c (strftime): check for return values from snprintf() < 965 1.1 elric 0 966 1.1 elric 967 1.1 elric 2001-09-03 Johan Danielsson <joda (a] pdc.kth.se> 968 1.1 elric 969 1.1 elric * socket.c: restrict is a keyword 970 1.1 elric 971 1.1 elric 2001-09-03 Assar Westerlund <assar (a] sics.se> 972 1.1 elric 973 1.1 elric * write_pid.c: handle atexit or on_exit 974 1.1 elric 975 1.1 elric * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help 976 1.1 elric solaris make 977 1.1 elric 978 1.1 elric 2001-08-30 Johan Danielsson <joda (a] pdc.kth.se> 979 1.1 elric 980 1.1 elric * Makefile.am: use LDADD directly 981 1.1 elric 982 1.1 elric 2001-08-28 Assar Westerlund <assar (a] sics.se> 983 1.1 elric 984 1.1 elric * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5 985 1.1 elric 986 1.1 elric * issuid.c (issuid): call issetugid if it exists 987 1.1 elric 988 1.1 elric 2001-08-24 Assar Westerlund <assar (a] sics.se> 989 1.1 elric 990 1.1 elric * Makefile.am: make it play better with recent automake 991 1.1 elric 992 1.1 elric 2001-08-21 Assar Westerlund <assar (a] sics.se> 993 1.1 elric 994 1.1 elric * glob.c: provide a fallback for ARG_MAX. from <tol (a] stacken.kth.se> 995 1.1 elric 996 1.1 elric * roken.h.in: remove all winsock.h 997 1.1 elric for now, it does more harm than good under cygwin and if it should be 998 1.1 elric used, the correct conditional needs to be found 999 1.1 elric from <tol (a] stacken.kth.se> 1000 1.1 elric 1001 1.1 elric 2001-08-17 Johan Danielsson <joda (a] pdc.kth.se> 1002 1.1 elric 1003 1.1 elric * getaddrinfo.c: include a definition of in6addr_loopback if it 1004 1.1 elric doesn't exist 1005 1.1 elric 1006 1.1 elric 2001-08-10 Assar Westerlund <assar (a] sics.se> 1007 1.1 elric 1008 1.1 elric * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5 1009 1.1 elric 1010 1.1 elric 2001-08-08 Assar Westerlund <assar (a] sics.se> 1011 1.1 elric 1012 1.1 elric * hstrerror.c: move h_errno to its own file (h_errno.c) 1013 1.1 elric 1014 1.1 elric 2001-08-04 Assar Westerlund <assar (a] sics.se> 1015 1.1 elric 1016 1.1 elric * Makefile.am: add getarg.3 1017 1.1 elric 1018 1.1 elric 2001-08-01 Assar Westerlund <assar (a] sics.se> 1019 1.1 elric 1020 1.1 elric * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC. be more 1021 1.1 elric resilient to bind/listen failing. 1022 1.1 elric 1023 1.1 elric 2001-07-31 Assar Westerlund <assar (a] sics.se> 1024 1.1 elric 1025 1.1 elric * getifaddrs.c (getifaddrs2): remove unused variables 1026 1.1 elric 1027 1.1 elric 2001-07-31 Assar Westerlund <assar (a] sics.se> 1028 1.1 elric 1029 1.1 elric * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5 1030 1.1 elric 1031 1.1 elric 2001-07-23 Assar Westerlund <assar (a] sics.se> 1032 1.1 elric 1033 1.1 elric * getarg.c (arg_match_long): fix parsing of arg_counter optional 1034 1.1 elric argument 1035 1.1 elric 1036 1.1 elric 2001-07-19 Assar Westerlund <assar (a] sics.se> 1037 1.1 elric 1038 1.1 elric * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5 1039 1.1 elric 1040 1.1 elric 2001-07-17 Assar Westerlund <assar (a] sics.se> 1041 1.1 elric 1042 1.1 elric * snprintf-test.h: add a file with renaming of the snprintf 1043 1.1 elric functions, to be used for running the tests 1044 1.1 elric 1045 1.1 elric 2001-07-11 Assar Westerlund <assar (a] sics.se> 1046 1.1 elric 1047 1.1 elric * snprintf-test.c: add more %X tests, and long and conditional 1048 1.1 elric long long tests 1049 1.1 elric * snprintf.c: add support for printing long long (if available) 1050 1.1 elric 1051 1.1 elric 2001-07-10 Assar Westerlund <assar (a] sics.se> 1052 1.1 elric 1053 1.1 elric * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn 1054 1.1 elric * hostent_find_fqdn.c (hostent_find_fqdn): const-ize 1055 1.1 elric 1056 1.1 elric 2001-07-09 Assar Westerlund <assar (a] sics.se> 1057 1.1 elric 1058 1.1 elric * roken-common.h (hostent_find_fqdn): add 1059 1.1 elric * hostent_find_fqdn.c: separate out hostent_find_fqdn 1060 1.1 elric 1061 1.1 elric * warnerr.c: move out getprogname, setprogname 1062 1.1 elric 1063 1.1 elric 2001-07-03 Assar Westerlund <assar (a] sics.se> 1064 1.1 elric 1065 1.1 elric * warnerr.c (setprogname): add const cast 1066 1.1 elric * vis.c (SVIS): add some (unsigned char) before calling isfoo* 1067 1.1 elric * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4 1068 1.1 elric 1069 1.1 elric * Makefile.am: add snprintf_test 1070 1.1 elric * snprintf.c: rewrite so that it does not stop as soon as there 1071 1.1 elric are no more characters to print, we need to figure out how long 1072 1.1 elric the string would have to be. this also fixes snprintf(NULL, 0 1073 1.1 elric 1074 1.1 elric 2001-06-21 Assar Westerlund <assar (a] sics.se> 1075 1.1 elric 1076 1.1 elric * simple_exec.c (pipe_execv): remove unused variable 1077 1.1 elric 1078 1.1 elric 2001-06-20 Johan Danielsson <joda (a] pdc.kth.se> 1079 1.1 elric 1080 1.1 elric * getdtablesize.c: fix typo in obviously never used sysctl case 1081 1.1 elric 1082 1.1 elric * simple_exec.c: rename check_status to wait_for_process, and 1083 1.1 elric export it; function pipe_execv similar to popen, but with more 1084 1.1 elric control over input and output 1085 1.1 elric 1086 1.1 elric * roken-common.h: prototypes for wait_for_process and pipe_execv 1087 1.1 elric 1088 1.1 elric 2001-06-17 Assar Westerlund <assar (a] sics.se> 1089 1.1 elric 1090 1.1 elric * roken-common.h: move emalloc et al to roken.h.in 1091 1.1 elric * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional 1092 1.1 elric * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not 1093 1.1 elric be set reliably 1094 1.1 elric * ecalloc.c: add for symmetry 1095 1.1 elric 1096 1.1 elric 2001-06-09 Johan Danielsson <joda (a] pdc.kth.se> 1097 1.1 elric 1098 1.1 elric * resolve.c: dns_srv_order to order srv records 1099 1.1 elric 1100 1.1 elric 2001-06-08 Johan Danielsson <joda (a] pdc.kth.se> 1101 1.1 elric 1102 1.1 elric * getarg.c: Grog tries to figure out if to use mdoc.old instead of 1103 1.1 elric mdoc by looking at some macros that were only present in the old 1104 1.1 elric version, and by looking at the number of .Oo's present. In 1105 1.1 elric mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if 1106 1.1 elric the number of .Oo's is bigger than the number of .Oc's, it figures 1107 1.1 elric it must be mdoc.old. This doesn't however account for called Oc's, 1108 1.1 elric and thus grog thinks that valid pages are mdoc.old when they 1109 1.1 elric infact are mdoc. So let's make sure that Oc's are not called by 1110 1.1 elric other macros. 1111 1.1 elric 1112 1.1 elric 2001-05-29 Assar Westerlund <assar (a] sics.se> 1113 1.1 elric 1114 1.1 elric * base64-test.c (main): initialize numerr 1115 1.1 elric 1116 1.1 elric 2001-05-28 Johan Danielsson <joda (a] pdc.kth.se> 1117 1.1 elric 1118 1.1 elric * base64.c: clean up the decode mess somewhat 1119 1.1 elric 1120 1.1 elric * base64-test.c: base64 tests 1121 1.1 elric 1122 1.1 elric 2001-05-18 Johan Danielsson <joda (a] pdc.kth.se> 1123 1.1 elric 1124 1.1 elric * roken.h.in: just use standard C types with bswap* 1125 1.1 elric 1126 1.1 elric * bswap.c: just use standard C types 1127 1.1 elric 1128 1.1 elric 2001-05-17 Assar Westerlund <assar (a] sics.se> 1129 1.1 elric 1130 1.1 elric * roken.h.in: include all the headers that AC_GROK_TYPES tries for 1131 1.1 elric finding u_int17_t et al 1132 1.1 elric 1133 1.1 elric * Makefile.am: bump version to 12:0:3 1134 1.1 elric * roken.h.in: re-add set_progname and get_progname for backwards 1135 1.1 elric compatability 1136 1.1 elric * warnerr.c: re-add set_progname and get_progname for backwards 1137 1.1 elric compatability 1138 1.1 elric 1139 1.1 elric 2001-05-12 Assar Westerlund <assar (a] sics.se> 1140 1.1 elric 1141 1.1 elric * glob.c: add limits.h, from <shadow (a] dementia.org> 1142 1.1 elric 1143 1.1 elric 2001-05-11 Johan Danielsson <joda (a] pdc.kth.se> 1144 1.1 elric 1145 1.1 elric * Makefile.am: bswap.c 1146 1.1 elric 1147 1.1 elric * bswap.c: bswap{16,32} 1148 1.1 elric 1149 1.1 elric 2001-05-08 Assar Westerlund <assar (a] sics.se> 1150 1.1 elric 1151 1.1 elric * freeaddrinfo.c (freeaddrinfo): also free every `struct 1152 1.1 elric addrinfo'. from <tmartin (a] mirapoint.com> 1153 1.1 elric 1154 1.1 elric 2001-04-25 Assar Westerlund <assar (a] sics.se> 1155 1.1 elric 1156 1.1 elric * getarg.h (free_getarg_strings): add prototype 1157 1.1 elric * getarg.c (free_getarg_strings): add function 1158 1.1 elric 1159 1.1 elric 2001-04-21 Johan Danielsson <joda (a] pdc.kth.se> 1160 1.1 elric 1161 1.1 elric * getarg.c: pack short flag options togther, to shorten the usage 1162 1.1 elric string 1163 1.1 elric 1164 1.1 elric 2001-04-17 Johan Danielsson <joda (a] pdc.kth.se> 1165 1.1 elric 1166 1.1 elric * getifaddrs.c (getifaddrs2): close socket when done 1167 1.1 elric 1168 1.1 elric 2001-03-26 Johan Danielsson <joda (a] pdc.kth.se> 1169 1.1 elric 1170 1.1 elric * roken.awk: END has to be last with Sun's awk 1171 1.1 elric 1172 1.1 elric 2001-03-26 Assar Westerlund <assar (a] sics.se> 1173 1.1 elric 1174 1.1 elric * parse_units.c (parse_something): do not check the return value 1175 1.1 elric from strtod, it might return != 0.0 when the string has no digits. 1176 1.1 elric just testing if it consumed any characters is enough and more 1177 1.1 elric resilient 1178 1.1 elric * glob.c: add GLOB_LIMIT (from NetBSD) 1179 1.1 elric 1180 1.1 elric 2001-02-20 Assar Westerlund <assar (a] sics.se> 1181 1.1 elric 1182 1.1 elric * warnerr.c (warnerr): do not use __progname 1183 1.1 elric * roken.h.in (setprogname, getprogname): add prototypes 1184 1.1 elric * warnerr.c (setprogname, getprogname): rename to. change all 1185 1.1 elric callers 1186 1.1 elric 1187 1.1 elric 2001-02-12 Assar Westerlund <assar (a] sics.se> 1188 1.1 elric 1189 1.1 elric * getnameinfo_verified.c (getnameinfo_verified): do the first 1190 1.1 elric getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3 1191 1.1 elric reports on not finding the service 1192 1.1 elric (ENI_NOSERVNAME). reported by Ake Sandgren <ake (a] cs.umu.se> 1193 1.1 elric 1194 1.1 elric 2001-02-09 Assar Westerlund <assar (a] sics.se> 1195 1.1 elric 1196 1.1 elric * getnameinfo.c (doit): call inet_ntop with correct af, noted by 1197 1.1 elric Ake Sandgren <ake (a] cs.umu.se> 1198 1.1 elric 1199 1.1 elric 2001-02-08 Assar Westerlund <assar (a] sics.se> 1200 1.1 elric 1201 1.1 elric * getnameinfo_verified.c (getnameinfo_verified): always capture 1202 1.1 elric the service from getnameinfo so it can be sent back to getaddrinfo 1203 1.1 elric and set socktype to avoid getaddrinfo not returning any addresses 1204 1.1 elric 1205 1.1 elric 2001-01-30 Assar Westerlund <assar (a] sics.se> 1206 1.1 elric 1207 1.1 elric * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2 1208 1.1 elric * print_version.c (print_version): add 2001 1209 1.1 elric 1210 1.1 elric 2001-01-29 Assar Westerlund <assar (a] sics.se> 1211 1.1 elric 1212 1.1 elric * getifaddrs.c (getifaddrs2): copy the entire sockaddr 1213 1.1 elric 1214 1.1 elric * roken-common.h (_PATH_BSHELL): add 1215 1.1 elric 1216 1.1 elric 2001-01-27 Assar Westerlund <assar (a] sics.se> 1217 1.1 elric 1218 1.1 elric * roken.h.in: move __attribute__ to roken-common.h 1219 1.1 elric 1220 1.1 elric * esetenv.c (esetenv): cast to handle a setenv that takes a `char 1221 1.1 elric * which is the case on Unicos 1222 1.1 elric 1223 1.1 elric 2000-12-29 Assar Westerlund <assar (a] sics.se> 1224 1.1 elric 1225 1.1 elric * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h -> 1226 1.1 elric ifaddrs.hin 1227 1.1 elric 1228 1.1 elric 2000-12-25 Assar Westerlund <assar (a] sics.se> 1229 1.1 elric 1230 1.1 elric * getarg.c (print_arg): add a case for arg_strings 1231 1.1 elric 1232 1.1 elric 2000-12-15 Johan Danielsson <joda (a] pdc.kth.se> 1233 1.1 elric 1234 1.1 elric * snprintf.c (append_string): handle NULL strings by printing 1235 1.1 elric `(null)' 1236 1.1 elric 1237 1.1 elric 2000-12-12 Johan Danielsson <joda (a] pdc.kth.se> 1238 1.1 elric 1239 1.1 elric * roken-common.h: add c++ externs 1240 1.1 elric 1241 1.1 elric * roken.h.in: fix last commit differently 1242 1.1 elric 1243 1.1 elric 2000-12-11 Assar Westerlund <assar (a] sics.se> 1244 1.1 elric 1245 1.1 elric * err.hin (warnerr): remove, it's not part of the err.h interface 1246 1.1 elric * roken-common.h (warnerr): moved here from err.hin 1247 1.1 elric * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2 1248 1.1 elric * vis.c: s/u_int32_t/unsigned/ for systems that do not define 1249 1.1 elric u_int32_t 1250 1.1 elric 1251 1.1 elric 2000-12-10 Johan Danielsson <joda (a] pdc.kth.se> 1252 1.1 elric 1253 1.1 elric * Makefile.am: rename some headers to avoid conflict with possible 1254 1.1 elric system headers 1255 1.1 elric 1256 1.1 elric 2000-12-06 Johan Danielsson <joda (a] pdc.kth.se> 1257 1.1 elric 1258 1.1 elric * vis.c: make sure _DIAGASSERT is defined 1259 1.1 elric 1260 1.1 elric * unvis.c: make sure _DIAGASSERT is defined 1261 1.1 elric 1262 1.1 elric * Makefile.am: unvis.c, and vis.h 1263 1.1 elric 1264 1.1 elric * vis.h: vis.h from NetBSD 1265 1.1 elric 1266 1.1 elric * unvis.c: unvis from NetBSD 1267 1.1 elric 1268 1.1 elric * roken.h.in: cleanup previous 1269 1.1 elric 1270 1.1 elric * roken-common.h: make `extern "C"' into a macro, this make emacs 1271 1.1 elric much happier 1272 1.1 elric 1273 1.1 elric * vis.c: strvis implementation from NetBSD 1274 1.1 elric 1275 1.1 elric * roken.h.in: add prototypes for strvis* 1276 1.1 elric 1277 1.1 elric 2000-12-05 Johan Danielsson <joda (a] pdc.kth.se> 1278 1.1 elric 1279 1.1 elric * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr 1280 1.1 elric macro 1281 1.1 elric 1282 1.1 elric * getifaddrs.c: free some memory 1283 1.1 elric 1284 1.1 elric 2000-12-04 Johan Danielsson <joda (a] pdc.kth.se> 1285 1.1 elric 1286 1.1 elric * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc 1287 1.1 elric 1288 1.1 elric * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc 1289 1.1 elric 1290 1.1 elric 2000-10-08 Assar Westerlund <assar (a] sics.se> 1291 1.1 elric 1292 1.1 elric * mini_inetd.c (mini_inetd): check that fds are not too large to 1293 1.1 elric select on 1294 1.1 elric 1295 1.1 elric 2000-09-24 Assar Westerlund <assar (a] sics.se> 1296 1.1 elric 1297 1.1 elric * esetenv.c: new file/function 1298 1.1 elric 1299 1.1 elric 2000-08-16 Assar Westerlund <assar (a] sics.se> 1300 1.1 elric 1301 1.1 elric * Makefile.am: bump version to 10:0:1 1302 1.1 elric 1303 1.1 elric 2000-08-10 Assar Westerlund <assar (a] sics.se> 1304 1.1 elric 1305 1.1 elric * mini_inetd.c (accept_it): type-correctness on parameters to 1306 1.1 elric accept 1307 1.1 elric 1308 1.1 elric 2000-08-07 Johan Danielsson <joda (a] pdc.kth.se> 1309 1.1 elric 1310 1.1 elric * roken.h.in: add proto compat for getsockname 1311 1.1 elric 1312 1.1 elric 2000-08-04 Johan Danielsson <joda (a] pdc.kth.se> 1313 1.1 elric 1314 1.1 elric * write_pid.c: conditionalise pidfile 1315 1.1 elric 1316 1.1 elric * write_pid.c: add pidfile function 1317 1.1 elric 1318 1.1 elric 2000-07-25 Johan Danielsson <joda (a] pdc.kth.se> 1319 1.1 elric 1320 1.1 elric * Makefile.am: bump version to 9:0:0 1321 1.1 elric 1322 1.1 elric * warnerr.c: add get_progname 1323 1.1 elric 1324 1.1 elric 2000-07-24 Assar Westerlund <assar (a] sics.se> 1325 1.1 elric 1326 1.1 elric * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try 1327 1.1 elric reverse resolving to see if there's a fuller name there. don't 1328 1.1 elric use just-freed memory 1329 1.1 elric 1330 1.1 elric 2000-07-22 Assar Westerlund <assar (a] sics.se> 1331 1.1 elric 1332 1.1 elric * xdbm.h: do not define ndbm functions in terms of dbm functions 1333 1.1 elric if we're using db 1334 1.1 elric 1335 1.1 elric 2000-07-20 Assar Westerlund <assar (a] sics.se> 1336 1.1 elric 1337 1.1 elric * rtbl.c (rtbl_format): avoid printing an empty row at the end 1338 1.1 elric 1339 1.1 elric 2000-07-19 Johan Danielsson <joda (a] pdc.kth.se> 1340 1.1 elric 1341 1.1 elric * Makefile.am: make this compatible with `make dist' 1342 1.1 elric 1343 1.1 elric * Makefile.am: revert version number for now 1344 1.1 elric 1345 1.1 elric 2000-07-18 Johan Danielsson <joda (a] pdc.kth.se> 1346 1.1 elric 1347 1.1 elric * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL 1348 1.1 elric 1349 1.1 elric 2000-07-17 Johan Danielsson <joda (a] pdc.kth.se> 1350 1.1 elric 1351 1.1 elric * Makefile.am: set ACLOCAL_AMFLAGS 1352 1.1 elric 1353 1.1 elric 2000-07-15 Johan Danielsson <joda (a] pdc.kth.se> 1354 1.1 elric 1355 1.1 elric * getaddrinfo_hostspec.c: add new function that takes socktype 1356 1.1 elric hint as parameter 1357 1.1 elric 1358 1.1 elric 2000-07-09 Assar Westerlund <assar (a] sics.se> 1359 1.1 elric 1360 1.1 elric * rtbl.c (rtbl_add_column): initialize `col' completely 1361 1.1 elric 1362 1.1 elric * configure.in: bring headers and functions more in-line with 1363 1.1 elric what's actually being used 1364 1.1 elric 1365 1.1 elric 2000-07-08 Johan Danielsson <joda (a] pdc.kth.se> 1366 1.1 elric 1367 1.1 elric * roken.h.in: declare ether_addr and sockaddr_dl for AIX 1368 1.1 elric 1369 1.1 elric * rtbl.{c,h}: simple table functions 1370 1.1 elric 1371 1.1 elric 2000-07-08 Assar Westerlund <assar (a] sics.se> 1372 1.1 elric 1373 1.1 elric * configure.in (AM_INIT_AUTOMAKE): bump version to 10 1374 1.1 elric * configure.in (AC_BROKEN): add strsep_copy 1375 1.1 elric * Makefile.am (ACLOCAL): fetch files from cf 1376 1.1 elric 1377 1.1 elric 2000-07-01 Assar Westerlund <assar (a] sics.se> 1378 1.1 elric 1379 1.1 elric * roken-common.h (pid_file_*): fix protos 1380 1.1 elric 1381 1.1 elric 2000-06-28 Assar Westerlund <assar (a] sics.se> 1382 1.1 elric 1383 1.1 elric * getnameinfo_verified.c (getnameinfo_verified): free memory 1384 1.1 elric returned from getaddrinfo 1385 1.1 elric 1386 1.1 elric 2000-06-27 Assar Westerlund <assar (a] sics.se> 1387 1.1 elric 1388 1.1 elric * resolve.c: export string_to_type and type_to_string 1389 1.1 elric * resolve.c: add key,sig,cert update test-program 1390 1.1 elric * resolve.h: add key,sig,cert 1391 1.1 elric 1392 1.1 elric 2000-06-21 Assar Westerlund <assar (a] sics.se> 1393 1.1 elric 1394 1.1 elric * resolve.h: add T_SIG, T_KEY 1395 1.1 elric * resolve.c: add SIG and KEY 1396 1.1 elric * Makefile.am (libroken_la_SOURCES): add environment.c and 1397 1.1 elric write_pid.c 1398 1.1 elric 1399 1.1 elric * write_pid.c: new file for writing a pid file. 1400 1.1 elric 1401 1.1 elric * environment.c: new file with functionality for reading 1402 1.1 elric /etc/environment. From Ake Sandgren <ake (a] cs.umu.se> 1403 1.1 elric 1404 1.1 elric 2000-06-12 Johan Danielsson <joda (a] pdc.kth.se> 1405 1.1 elric 1406 1.1 elric * strsep_copy.c: strsep, but with const stringp so returns string 1407 1.1 elric in separate buffer 1408 1.1 elric 1409 1.1 elric 2000-05-23 Assar Westerlund <assar (a] sics.se> 1410 1.1 elric 1411 1.1 elric * vsyslog.c (vsyslog): calculate length of new format string 1412 1.1 elric correctly 1413 1.1 elric 1414 1.1 elric 2000-05-22 Johan Danielsson <joda (a] pdc.kth.se> 1415 1.1 elric 1416 1.1 elric * getusershell.c: implment the AIX version use 1417 1.1 elric /etc/security/login.cfg 1418 1.1 elric 1419 1.1 elric 2000-05-21 Assar Westerlund <assar (a] sics.se> 1420 1.1 elric 1421 1.1 elric * vsyslog.c (vsyslog): actually handle `%m' 1422 1.1 elric 1423 1.1 elric 2000-05-15 Assar Westerlund <assar (a] sics.se> 1424 1.1 elric 1425 1.1 elric * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3 1426 1.1 elric 1427 1.1 elric * roken-common.h: moved __attribute__ to roken.h.in 1428 1.1 elric 1429 1.1 elric 2000-04-14 Assar Westerlund <assar (a] sics.se> 1430 1.1 elric 1431 1.1 elric * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the 1432 1.1 elric correct length from `hostspec'. based on a patch from Love 1433 1.1 elric <lha (a] s3.kth.se> 1434 1.1 elric 1435 1.1 elric 2000-04-09 Assar Westerlund <assar (a] sics.se> 1436 1.1 elric 1437 1.1 elric * xdbm.h: only include one of db.h and the dbm-series 1438 1.1 elric 1439 1.1 elric 2000-04-05 Assar Westerlund <assar (a] sics.se> 1440 1.1 elric 1441 1.1 elric * resolve.c (_resolve_debug): explicitly set to zero. this moves 1442 1.1 elric the variable from bss to data and the dynamic linker on MacOS 1443 1.1 elric X/Darwin seems unhappy with stuff in the bss segment. 1444 1.1 elric 1445 1.1 elric 2000-04-03 Assar Westerlund <assar (a] sics.se> 1446 1.1 elric 1447 1.1 elric * Makefile.am: set version to 8:0:3 1448 1.1 elric 1449 1.1 elric 2000-03-11 Assar Westerlund <assar (a] sics.se> 1450 1.1 elric 1451 1.1 elric * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable 1452 1.1 elric expression that also works on Crays 1453 1.1 elric 1454 1.1 elric 2000-03-09 Assar Westerlund <assar (a] sics.se> 1455 1.1 elric 1456 1.1 elric * getarg.c (arg_match_short): backup optind when there's a missing 1457 1.1 elric argument so that the error can point at the flag and not the 1458 1.1 elric non-existant argument 1459 1.1 elric 1460 1.1 elric 2000-03-03 Assar Westerlund <assar (a] sics.se> 1461 1.1 elric 1462 1.1 elric * Makefile.in (SOURCES): add timeval.c 1463 1.1 elric * Makefile.am (libroken_la_SOURCES): add timeval.c 1464 1.1 elric * timeval.c: new file 1465 1.1 elric 1466 1.1 elric 2000-02-19 Assar Westerlund <assar (a] sics.se> 1467 1.1 elric 1468 1.1 elric * Makefile.am: set version to 7:1:2 1469 1.1 elric 1470 1.1 elric 2000-02-16 Assar Westerlund <assar (a] sics.se> 1471 1.1 elric 1472 1.1 elric * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually 1473 1.1 elric transmitted as ints 1474 1.1 elric (according to the integer protomotion rules) in variable arguments 1475 1.1 elric lists. Therefore, we should not call va_arg with short but rather 1476 1.1 elric with int. See <http://www.debian.org/Bugs/db/57/57919.html> for 1477 1.1 elric original bug report 1478 1.1 elric 1479 1.1 elric 2000-02-13 Assar Westerlund <assar (a] sics.se> 1480 1.1 elric 1481 1.1 elric * Makefile.am: bump version to 7:0:2 1482 1.1 elric 1483 1.1 elric * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS 1484 1.1 elric * getarg.c (mandoc_template): better man-stuff for negative 1485 1.1 elric options 1486 1.1 elric 1487 1.1 elric 2000-02-07 Assar Westerlund <assar (a] sics.se> 1488 1.1 elric 1489 1.1 elric * Makefile.am: set version to 6:0:1 1490 1.1 elric 1491 1.1 elric 2000-02-06 Assar Westerlund <assar (a] sics.se> 1492 1.1 elric 1493 1.1 elric * xdbm.h: hopefully catch a few more declarations by including 1494 1.1 elric <ndbm.h> even if <db.h> was found 1495 1.1 elric 1496 1.1 elric 2000-01-26 Assar Westerlund <assar (a] sics.se> 1497 1.1 elric 1498 1.1 elric * mini_inetd.c (mini_inetd): separate number of allocated sockets 1499 1.1 elric and number of actual ones 1500 1.1 elric * mini_inetd.c (mini_inetd): count sockets properly. and fail if 1501 1.1 elric we cannot bind any 1502 1.1 elric * mini_inetd.c (mini_inetd): make failing to create a socket 1503 1.1 elric non-fatal 1504 1.1 elric 1505 1.1 elric 2000-01-09 Assar Westerlund <assar (a] sics.se> 1506 1.1 elric 1507 1.1 elric * Makefile.am(libroken_la_SOURCES): add strcollect.c 1508 1.1 elric * Makefile.in: add strcollect.[co] 1509 1.1 elric * simple_exec.c: use vstrcollect 1510 1.1 elric * roken-common.h (_PATH_DEV): add 1511 1.1 elric (strcollect, vstrcollect): add prototypes 1512 1.1 elric * strcollect.c: new file. functions for collapsing an `va_list' 1513 1.1 elric into an `char **' 1514 1.1 elric 1515 1.1 elric 2000-01-06 Assar Westerlund <assar (a] sics.se> 1516 1.1 elric 1517 1.1 elric * Makefile.am: bump version to 5:0:0 1518 1.1 elric 1519 1.1 elric 1999-12-30 Assar Westerlund <assar (a] sics.se> 1520 1.1 elric 1521 1.1 elric * Makefile.am (strpftime_test_SOURCES): correct source file name 1522 1.1 elric 1523 1.1 elric * roken.h.in (sockaddr_storage): change padding so that we have 1524 1.1 elric one char[] of pad and then an unsigned long[] (for alignment and 1525 1.1 elric padding). this works much better in practice. 1526 1.1 elric 1527 1.1 elric 1999-12-22 Assar Westerlund <assar (a] sics.se> 1528 1.1 elric 1529 1.1 elric * roken.h.in (sockaddr_storage): drop leading underscore on 1530 1.1 elric `public' fields. this was the consensus on the ipng mailing list 1531 1.1 elric 1532 1.1 elric 1999-12-21 Assar Westerlund <assar (a] sics.se> 1533 1.1 elric 1534 1.1 elric * Makefile.am (strpftime-test): define sources to avoid having 1535 1.1 elric '.o' 1536 1.1 elric * Makefile.am (print_version.h): use $(EXEEXT) 1537 1.1 elric * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin 1538 1.1 elric et al 1539 1.1 elric 1540 1.1 elric 1999-12-20 Assar Westerlund <assar (a] sics.se> 1541 1.1 elric 1542 1.1 elric * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0 1543 1.1 elric 1544 1.1 elric * getaddrinfo.c (get_nodes): use getipnodebyname instead of 1545 1.1 elric gethostbyname(2) 1546 1.1 elric 1547 1.1 elric 1999-12-16 Assar Westerlund <assar (a] sics.se> 1548 1.1 elric 1549 1.1 elric * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0 1550 1.1 elric 1551 1.1 elric * roken.h.in (struct sockaddr_storage): redefine with the example 1552 1.1 elric code from rfc2553 1553 1.1 elric 1554 1.1 elric * getaddrinfo.c (get_null): set loopback with correct endianess 1555 1.1 elric for v4. dunno about v6. 1556 1.1 elric 1557 1.1 elric 1999-12-13 Assar Westerlund <assar (a] sics.se> 1558 1.1 elric 1559 1.1 elric * roken.h.in: add prototypes for str[pf]time 1560 1.1 elric 1561 1.1 elric * signal.c: macosx = rhapsody ~= nextstep also can't handle 1562 1.1 elric various definitions of the same symbol. 1563 1.1 elric 1564 1.1 elric 1999-12-12 Assar Westerlund <assar (a] sics.se> 1565 1.1 elric 1566 1.1 elric * Makefile.am: bump version to 4:1:0 1567 1.1 elric 1568 1.1 elric 1999-12-06 Assar Westerlund <assar (a] sics.se> 1569 1.1 elric 1570 1.1 elric * Makefile.am: bump version to 4:0:0 1571 1.1 elric 1572 1.1 elric 1999-12-05 Assar Westerlund <assar (a] sics.se> 1573 1.1 elric 1574 1.1 elric * Makefile.in: replace inaddr2str with getnameinfo_verified 1575 1.1 elric 1576 1.1 elric * roken-common.h (INADDR_LOOPBACK): add fallback definition 1577 1.1 elric 1578 1.1 elric * roken-common.h: move getnameinfo_verified to roken.h.in 1579 1.1 elric * roken.h.in (inaddr2str): remove 1580 1.1 elric * Makefile.am (libroken_la_SOURCES); removed inaddr2str 1581 1.1 elric * roken-common.h (getnameinfo_verified): add prototype 1582 1.1 elric * getnameinfo_verified.c: new file 1583 1.1 elric 1584 1.1 elric 1999-12-04 Assar Westerlund <assar (a] sics.se> 1585 1.1 elric 1586 1.1 elric * roken-common.h: add constants for getaddrinfo, getnameinfo 1587 1.1 elric * roken.h.in (socklen_t): make independent of sockaddr_storage 1588 1.1 elric (AI_*, NI_*, EAI_*): move to roken-common.h 1589 1.1 elric 1590 1.1 elric 1999-12-03 Assar Westerlund <assar (a] sics.se> 1591 1.1 elric 1592 1.1 elric * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo' 1593 1.1 elric * getaddrinfo.c (const_v*): no sizeof(sizeof()) 1594 1.1 elric * getaddrinfo.c (add_hostent): search for the canonical name among 1595 1.1 elric all aliases 1596 1.1 elric (getaddrinfo): handle AI_NUMERICHOST correctly 1597 1.1 elric * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo, 1598 1.1 elric getaddrinfo, getnameinfo, gai_strerror 1599 1.1 elric (getaddrinfo_test): add 1600 1.1 elric * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo, 1601 1.1 elric getnameinfo, gai_strerror 1602 1.1 elric (getaddrinfo_test): add 1603 1.1 elric * roken.h.in: arpa/inet.h: include 1604 1.1 elric (socklen_t): add 1605 1.1 elric (struct addrinfo): add 1606 1.1 elric (EAI_*): add 1607 1.1 elric (NI_*): add 1608 1.1 elric (AI_*): add 1609 1.1 elric (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add 1610 1.1 elric * getnameinfo.c: new file 1611 1.1 elric * getaddrinfo-test.c: new file 1612 1.1 elric * gai_strerror.c: new file 1613 1.1 elric * getaddrinfo.c: new file 1614 1.1 elric * freeaddrinfo.c: new file 1615 1.1 elric 1616 1.1 elric 1999-11-25 Assar Westerlund <assar (a] sics.se> 1617 1.1 elric 1618 1.1 elric * getopt.c (getopt): return -1 instead of EOF. From 1619 1.1 elric <art (a] stacken.kth.se> 1620 1.1 elric 1621 1.1 elric 1999-11-13 Assar Westerlund <assar (a] sics.se> 1622 1.1 elric 1623 1.1 elric * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less 1624 1.1 elric world 1625 1.1 elric 1626 1.1 elric * getcap.c: make sure to use db only if we have both the library 1627 1.1 elric and the header file 1628 1.1 elric 1629 1.1 elric 1999-11-12 Assar Westerlund <assar (a] sics.se> 1630 1.1 elric 1631 1.1 elric * getarg.h: add arg_counter 1632 1.1 elric * getarg.c: add a new type of argument: `arg_counter' re-organize 1633 1.1 elric the code somewhat 1634 1.1 elric 1635 1.1 elric * Makefile.am: add strptime and strpftime-test 1636 1.1 elric 1637 1.1 elric * snprintf.c (xyzprintf): try to do the right thing with an % at 1638 1.1 elric the end of the format string 1639 1.1 elric 1640 1.1 elric * strptime.c (strptime): implement '%U', '%V', '%W' 1641 1.1 elric * strftime.c (strftime): implement '%U', '%V', '%W', '%z' 1642 1.1 elric 1643 1.1 elric * strftime.c (strftime): correct %E and %O handling. do something 1644 1.1 elric reasonable with "...%" 1645 1.1 elric 1646 1.1 elric * strftime.c: replace the BSD implementation by one of our own 1647 1.1 elric coding 1648 1.1 elric 1649 1.1 elric * strptime.c : new file 1650 1.1 elric * strpftime-test.c: new file 1651 1.1 elric 1652 1.1 elric 1999-11-07 Assar Westerlund <assar (a] sics.se> 1653 1.1 elric 1654 1.1 elric * parse_bytes-test.c: new file 1655 1.1 elric 1656 1.1 elric * Makefile.am: add parse_bytes-test 1657 1.1 elric 1658 1.1 elric * parse_units.c (parse_something): try to handle the case of no 1659 1.1 elric value specified a little bit better 1660 1.1 elric 1661 1.1 elric 1999-11-04 Assar Westerlund <assar (a] sics.se> 1662 1.1 elric 1663 1.1 elric * Makefile.am: bump version to 3:2:0 1664 1.1 elric 1665 1.1 elric 1999-10-30 Assar Westerlund <assar (a] sics.se> 1666 1.1 elric 1667 1.1 elric * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work 1668 1.1 elric around a gcc-bug that manifests itself on Linux-PPC. From Tom 1669 1.1 elric Rini <trini (a] kernel.crashing.org> 1670 1.1 elric 1671 1.1 elric 1999-10-28 Assar Westerlund <assar (a] sics.se> 1672 1.1 elric 1673 1.1 elric * Makefile.am: bump version to 3:1:0 1674 1.1 elric 1675 1.1 elric * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid 1676 1.1 elric having to have that definition. this is the easy way out instead 1677 1.1 elric of getting the definition here where it's needed. flame me. 1678 1.1 elric 1679 1.1 elric Fri Oct 22 15:39:31 1999 Bjoern Groenvall <bg (a] sics.se> 1680 1.1 elric 1681 1.1 elric * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even 1682 1.1 elric though it should), use getspnam(). 1683 1.1 elric 1684 1.1 elric 1999-10-20 Assar Westerlund <assar (a] sics.se> 1685 1.1 elric 1686 1.1 elric * Makefile.am: set version to 3:0:0 1687 1.1 elric 1688 1.1 elric 1999-10-18 Johan Danielsson <joda (a] pdc.kth.se> 1689 1.1 elric 1690 1.1 elric * getarg.3: document arg_collect 1691 1.1 elric 1692 1.1 elric * getarg.c: change the way arg_collect works; it's still quite 1693 1.1 elric horrible though 1694 1.1 elric 1695 1.1 elric * getarg.h: change type of the collect function 1696 1.1 elric 1697 1.1 elric 1999-10-17 Assar Westerlund <assar (a] sics.se> 1698 1.1 elric 1699 1.1 elric * xdbm.h: undo last commit 1700 1.1 elric 1701 1.1 elric * xdbm.h: reorder db includes 1702 1.1 elric 1703 1.1 elric 1999-10-10 Assar Westerlund <assar (a] sics.se> 1704 1.1 elric 1705 1.1 elric * socket.c: const-ize and comment 1706 1.1 elric 1707 1.1 elric * net_write.c: const-ize 1708 1.1 elric 1709 1.1 elric * base64.c: const-ize 1710 1.1 elric 1711 1.1 elric 1999-10-06 Assar Westerlund <assar (a] sics.se> 1712 1.1 elric 1713 1.1 elric * getarg.c (getarg): also set optind when returning error 1714 1.1 elric 1715 1.1 elric 1999-09-26 Assar Westerlund <assar (a] sics.se> 1716 1.1 elric 1717 1.1 elric * Makefile.am: add parse_bytes.[ch] 1718 1.1 elric 1719 1.1 elric 1999-09-24 Johan Danielsson <joda (a] pdc.kth.se> 1720 1.1 elric 1721 1.1 elric * getarg.3: getarg manpage 1722 1.1 elric 1723 1.1 elric * getarg.{c,h}: add a callback type to do more complicated processing 1724 1.1 elric 1725 1.1 elric * getarg.{c,h}: add floating point support 1726 1.1 elric 1727 1.1 elric 1999-09-16 Assar Westerlund <assar (a] sics.se> 1728 1.1 elric 1729 1.1 elric * strlcat.c (strlcat): call strlcpy 1730 1.1 elric 1731 1.1 elric * strlcpy.c: update name and prototype 1732 1.1 elric 1733 1.1 elric * strlcat.c: update name and prototype 1734 1.1 elric 1735 1.1 elric * roken.h.in: rename strc{py,at}_truncate to strlc{py,at} 1736 1.1 elric 1737 1.1 elric * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at} 1738 1.1 elric 1739 1.1 elric * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at} 1740 1.1 elric 1741 1.1 elric * strcpy_truncate.c (strcpy_truncate): change return value to be 1742 1.1 elric the length of `src' 1743 1.1 elric 1744 1.1 elric 1999-08-16 Assar Westerlund <assar (a] sics.se> 1745 1.1 elric 1746 1.1 elric * getcap.c: try to make this work on systems with DB 1747 1.1 elric 1748 1.1 elric 1999-08-16 Johan Danielsson <joda (a] pdc.kth.se> 1749 1.1 elric 1750 1.1 elric * getcap.c: protect from db-less systems 1751 1.1 elric 1752 1.1 elric 1999-08-09 Johan Danielsson <joda (a] pdc.kth.se> 1753 1.1 elric 1754 1.1 elric * simple_exec.c: add simple_exec{ve,le} 1755 1.1 elric 1756 1.1 elric * getcap.c: getcap from NetBSD 1757 1.1 elric 1758 1.1 elric 1999-08-06 Assar Westerlund <assar (a] sics.se> 1759 1.1 elric 1760 1.1 elric * roken.h.in (sockaddr_storage): cater for those that have 1761 1.1 elric v6-support also 1762 1.1 elric 1763 1.1 elric 1999-08-05 Assar Westerlund <assar (a] sics.se> 1764 1.1 elric 1765 1.1 elric * inet_ntop.c (inet_ntop_v4): remember to call ntohl 1766 1.1 elric 1767 1.1 elric 1999-08-04 Assar Westerlund <assar (a] sics.se> 1768 1.1 elric 1769 1.1 elric * roken-common.h: add shutdown constants 1770 1.1 elric 1771 1.1 elric * mini_inetd.c (listen_v4, listen_v6): handle the case of the 1772 1.1 elric protocol not being supported 1773 1.1 elric 1774 1.1 elric 1999-08-01 Assar Westerlund <assar (a] sics.se> 1775 1.1 elric 1776 1.1 elric * mini_inetd.c (socket_set_reuseaddr): remove duplicate 1777 1.1 elric 1778 1.1 elric 1999-07-29 Assar Westerlund <assar (a] sics.se> 1779 1.1 elric 1780 1.1 elric * mini_inetd.c (mini_inetd): fix my stupid bugs 1781 1.1 elric 1782 1.1 elric 1999-07-28 Assar Westerlund <assar (a] sics.se> 1783 1.1 elric 1784 1.1 elric * roken-common.h: add socket* functions 1785 1.1 elric 1786 1.1 elric * Makefile.am (libroken_la_SOURCES): add socket.c 1787 1.1 elric 1788 1.1 elric * socket.c: new file, originally from appl/ftp/common 1789 1.1 elric 1790 1.1 elric * Makefile.am: set version to 2:0:2 1791 1.1 elric 1792 1.1 elric * roken.h.in (inet_pton): add prototype 1793 1.1 elric 1794 1.1 elric * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton 1795 1.1 elric 1796 1.1 elric * inet_pton.c: new file 1797 1.1 elric 1798 1.1 elric * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we 1799 1.1 elric have it 1800 1.1 elric 1801 1.1 elric 1999-07-27 Assar Westerlund <assar (a] sics.se> 1802 1.1 elric 1803 1.1 elric * mini_inetd.c: support IPv6 1804 1.1 elric 1805 1.1 elric 1999-07-26 Assar Westerlund <assar (a] sics.se> 1806 1.1 elric 1807 1.1 elric * Makefile.am: set version to 1:0:1 1808 1.1 elric 1809 1.1 elric * roken.h.in (inet_ntop): add prototype 1810 1.1 elric 1811 1.1 elric * roken-common.h: (INET{,6}_ADDRSTRLEN): add 1812 1.1 elric 1813 1.1 elric * inet_ntop.c: new file 1814 1.1 elric 1815 1.1 elric * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c 1816 1.1 elric 1817 1.1 elric * Makefile.am: move some files from libroken_la_SOURCES to 1818 1.1 elric EXTRA_libroken_la_SOURCES 1819 1.1 elric 1820 1.1 elric * snprintf.c: some signed vs unsigned casts 1821 1.1 elric 1822 1.1 elric 1999-07-24 Assar Westerlund <assar (a] sics.se> 1823 1.1 elric 1824 1.1 elric * roken.h.in (struct sockaddr_storage): define it needed 1825 1.1 elric 1826 1.1 elric 1999-07-19 Assar Westerlund <assar (a] sics.se> 1827 1.1 elric 1828 1.1 elric * Makefile.am (libroken_la_SOURCES): add copyhostent.c, 1829 1.1 elric freehostent.c, getipnodebyname.c, getipnodebyaddr.c 1830 1.1 elric 1831 1.1 elric * roken.h.in: <netdb.h>: include 1832 1.1 elric (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add 1833 1.1 elric prototypes 1834 1.1 elric 1835 1.1 elric * roken-common.h: new constants for getipnodeby* 1836 1.1 elric 1837 1.1 elric * Makefile.in (SOURCES): add freehostent, copyhostent, 1838 1.1 elric getipnodebyname, getipnodebyaddr 1839 1.1 elric 1840 1.1 elric * freehostent.c: new file 1841 1.1 elric 1842 1.1 elric * copyhostent.c: new file 1843 1.1 elric 1844 1.1 elric * getipnodebyaddr.c: new file 1845 1.1 elric 1846 1.1 elric * getipnodebyname.c: new file 1847 1.1 elric 1848 1.1 elric 1999-07-13 Assar Westerlund <assar (a] sics.se> 1849 1.1 elric 1850 1.1 elric * roken.h.in (k_getpwnam): update prototype 1851 1.1 elric 1852 1.1 elric * k_getpwnam.c (k_getpwnam): const-ize 1853 1.1 elric 1854 1.1 elric * get_default_username.c (get_default_username): a better way of 1855 1.1 elric guessing when the user has su:ed 1856 1.1 elric 1857 1.1 elric 1999-07-08 Johan Danielsson <joda (a] pdc.kth.se> 1858 1.1 elric 1859 1.1 elric * roken.awk: use puts, as suggested by Jeffrey Hutzelman 1860 1.1 elric <jhutz+@cmu.edu> 1861 1.1 elric 1862 1.1 elric 1999-07-06 Assar Westerlund <assar (a] sics.se> 1863 1.1 elric 1864 1.1 elric * readv.c (readv): typo 1865 1.1 elric 1866 1.1 elric 1999-07-03 Assar Westerlund <assar (a] sics.se> 1867 1.1 elric 1868 1.1 elric * writev.c (writev): error check malloc properly 1869 1.1 elric 1870 1.1 elric * sendmsg.c (sendmsg): error check malloc properly 1871 1.1 elric 1872 1.1 elric * resolve.c (parse_reply): error check malloc properly 1873 1.1 elric 1874 1.1 elric * recvmsg.c (recvmsg): error check malloc properly 1875 1.1 elric 1876 1.1 elric * readv.c (readv): error check malloc properly 1877 1.1 elric 1878 1.1 elric 1999-06-23 Assar Westerlund <assar (a] sics.se> 1879 1.1 elric 1880 1.1 elric * parse_units.c (acc_units): move the special case of 0 -> 1 to 1881 1.1 elric parse_something to avoid having it happen at the end of the string 1882 1.1 elric 1883 1.1 elric 1999-06-15 Assar Westerlund <assar (a] sics.se> 1884 1.1 elric 1885 1.1 elric * Makefile.in: add get_default_username 1886 1.1 elric 1887 1.1 elric * get_default_username.c: new file 1888 1.1 elric 1889 1.1 elric * roken.h.in (get_default_username): add prototype 1890 1.1 elric 1891 1.1 elric * Makefile.am: add get_default_username 1892 1.1 elric 1893 1.1 elric 1999-05-08 Assar Westerlund <assar (a] sics.se> 1894 1.1 elric 1895 1.1 elric * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1 1896 1.1 elric 1897 1.1 elric * strnlen.c (strnlen): update prototype 1898 1.1 elric 1899 1.1 elric * Makefile.am: strndup.c: add 1900 1.1 elric 1901 1.1 elric * Makefile.in: strndup.c: add 1902 1.1 elric 1903 1.1 elric * roken.h.in (strndup): add 1904 1.1 elric (strnlen): update prototype 1905 1.1 elric 1906 1.1 elric * strndup.c: new file 1907 1.1 elric 1908 1.1 elric Fri Apr 16 17:59:30 1999 Assar Westerlund <assar (a] sics.se> 1909 1.1 elric 1910 1.1 elric * roken.h.in: include strsep prototype if needed 1911 1.1 elric 1912 1.1 elric Thu Apr 15 14:04:03 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1913 1.1 elric 1914 1.1 elric * Makefile.am: make make-print-version.o depend on version.h 1915 1.1 elric 1916 1.1 elric Wed Apr 7 14:11:00 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1917 1.1 elric 1918 1.1 elric * Makefile.am: make it compile w/o krb4 1919 1.1 elric 1920 1.1 elric Sat Mar 27 17:33:03 1999 Johan Danielsson <joda (a] blubb.pdc.kth.se> 1921 1.1 elric 1922 1.1 elric * snprintf.c (vasnprintf): correct check if realloc returns NULL 1923 1.1 elric 1924 1.1 elric Sat Mar 27 12:37:55 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1925 1.1 elric 1926 1.1 elric * Makefile.am: link print_version with -ldes to avoid unresolved 1927 1.1 elric references if -lkrb is shared 1928 1.1 elric 1929 1.1 elric Sat Mar 20 03:42:30 1999 Assar Westerlund <assar (a] sics.se> 1930 1.1 elric 1931 1.1 elric * roken-common.h (eread, ewrite): add 1932 1.1 elric 1933 1.1 elric * simple_exec.c: add <roken.h> 1934 1.1 elric 1935 1.1 elric Fri Mar 19 21:29:58 1999 Assar Westerlund <assar (a] sics.se> 1936 1.1 elric 1937 1.1 elric * Makefile.in: add eread, ewrite 1938 1.1 elric 1939 1.1 elric * eread.c, ewrite.c: new files 1940 1.1 elric 1941 1.1 elric * Makefile.am (libroken_la_SOURCES): add eread and ewrite 1942 1.1 elric 1943 1.1 elric Fri Mar 19 14:52:57 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1944 1.1 elric 1945 1.1 elric * Makefile.am: add version-info 1946 1.1 elric 1947 1.1 elric Thu Mar 18 12:53:32 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1948 1.1 elric 1949 1.1 elric * Makefile.am: remove include_dir hack 1950 1.1 elric 1951 1.1 elric * Makefile.am: parse_units.h 1952 1.1 elric 1953 1.1 elric * Makefile.am: include Makefile.am.common 1954 1.1 elric 1955 1.1 elric Sat Mar 13 23:31:35 1999 Assar Westerlund <assar (a] sics.se> 1956 1.1 elric 1957 1.1 elric * Makefile.in (SOURCES): add glob.c 1958 1.1 elric 1959 1.1 elric Thu Mar 11 15:02:21 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1960 1.1 elric 1961 1.1 elric * iruserok.c: move innetgr() to separate file 1962 1.1 elric 1963 1.1 elric * innetgr.c: move innetgr() to separate file 1964 1.1 elric 1965 1.1 elric * hstrerror.c (hstrerror): add const to return type 1966 1.1 elric 1967 1.1 elric * erealloc.c: fix types in format string 1968 1.1 elric 1969 1.1 elric * emalloc.c: fix types in format string 1970 1.1 elric 1971 1.1 elric Wed Mar 10 16:36:55 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1972 1.1 elric 1973 1.1 elric * resolve.c: ugly fix for crays 1974 1.1 elric 1975 1.1 elric Mon Mar 8 11:52:20 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1976 1.1 elric 1977 1.1 elric * roken.h.in: protos for {un,}setenv 1978 1.1 elric 1979 1.1 elric 1999-02-16 Assar Westerlund <assar (a] sics.se> 1980 1.1 elric 1981 1.1 elric * Makefile.in (SOURCES): add fnmatch 1982 1.1 elric 1983 1.1 elric * roken-common.h (abs): add 1984 1.1 elric 1985 1.1 elric Sat Feb 13 17:12:53 1999 Assar Westerlund <assar (a] sics.se> 1986 1.1 elric 1987 1.1 elric * emalloc.c, erealloc.c, estrup.c: new files 1988 1.1 elric 1989 1.1 elric * roken.h.in (mkstemp, gethostname): also includes prototypes if 1990 1.1 elric they are needed. 1991 1.1 elric 1992 1.1 elric 1998-12-23 Assar Westerlund <assar (a] sics.se> 1993 1.1 elric 1994 1.1 elric * roken.h.in: mkstemp: add prototype 1995 1.1 elric 1996 1.1 elric 1998-12-20 Assar Westerlund <assar (a] sics.se> 1997 1.1 elric 1998 1.1 elric * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness 1999 1.1 elric 2000 1.1 elric * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO 2001 1.1 elric 2002 1.1 elric * roken-common.h: __attribute__: check for autoconf'd 2003 1.1 elric HAVE___ATTRIBUTE__ instead of GNUC 2004 1.1 elric 2005 1.1 elric Sun Dec 6 19:53:21 1998 Assar Westerlund <assar (a] sics.se> 2006 1.1 elric 2007 1.1 elric * parse_units.c (parse_something): func is called with val == 0 if 2008 1.1 elric no unit was given 2009 1.1 elric (acc_flags, acc_units): update to new standard 2010 1.1 elric 2011 1.1 elric Fri Nov 27 03:09:42 1998 Assar Westerlund <assar (a] sics.se> 2012 1.1 elric 2013 1.1 elric * resolve.c (stot): constify 2014 1.1 elric (type_to_string): always declare 2015 1.1 elric (dns_lookup_int): correct debug output 2016 1.1 elric 2017 1.1 elric Thu Nov 26 23:43:55 1998 Assar Westerlund <assar (a] sics.se> 2018 1.1 elric 2019 1.1 elric * resolve.c (dns_lookup_int): send rr_class to res_search 2020 1.1 elric 2021 1.1 elric Thu Nov 26 17:09:47 1998 Johan Danielsson <joda (a] hella.pdc.kth.se> 2022 1.1 elric 2023 1.1 elric * resolve.c: some cleanup 2024 1.1 elric 2025 1.1 elric * resolve.h: add T_NAPTR 2026 1.1 elric 2027 1.1 elric Sun Nov 22 10:23:07 1998 Assar Westerlund <assar (a] sics.se> 2028 1.1 elric 2029 1.1 elric * Makefile.in (WFLAGS): set 2030 1.1 elric 2031 1.1 elric * k_getpwnam.c (k_getpwnam): check for `struct spwd' 2032 1.1 elric 2033 1.1 elric * k_getpwuid.c (k_getpwuid): check for `struct spwd' 2034 1.1 elric 2035 1.1 elric Tue Sep 8 05:18:31 1998 Assar Westerlund <assar (a] sics.se> 2036 1.1 elric 2037 1.1 elric * recvmsg.c (recvmsg): patch from bpreece (a] unity.ncsu.edu 2038 1.1 elric 2039 1.1 elric Fri Sep 4 16:29:27 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2040 1.1 elric 2041 1.1 elric * vsyslog.c: asprintf -> vasprintf 2042 1.1 elric 2043 1.1 elric Tue Aug 18 22:25:52 1998 Assar Westerlund <assar (a] sics.se> 2044 1.1 elric 2045 1.1 elric * getarg.h (arg_printusage): new signature 2046 1.1 elric 2047 1.1 elric * getarg.c (arg_printusage): new parameter `progname'. NULL means 2048 1.1 elric __progname. 2049 1.1 elric 2050 1.1 elric Sun Aug 9 14:53:44 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2051 1.1 elric 2052 1.1 elric * Makefile.am: net_{read,write}.c 2053 1.1 elric 2054 1.1 elric Fri Jul 24 21:56:02 1998 Assar Westerlund <assar (a] sics.se> 2055 1.1 elric 2056 1.1 elric * simple_exec.c (simple_execvp): loop around waitpid when errno == 2057 1.1 elric EINTR 2058 1.1 elric 2059 1.1 elric Thu Jul 23 20:24:35 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2060 1.1 elric 2061 1.1 elric * Makefile.am: net_{read,write}.c 2062 1.1 elric 2063 1.1 elric Wed Jul 22 21:38:35 1998 Assar Westerlund <assar (a] sics.se> 2064 1.1 elric 2065 1.1 elric * simple_exec.c (simple_execlp): initialize `argv' 2066 1.1 elric 2067 1.1 elric Mon Jul 13 23:01:22 1998 Assar Westerlund <assar (a] sics.se> 2068 1.1 elric 2069 1.1 elric * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list, 2070 1.1 elric use a copy instead 2071 1.1 elric 2072 1.1 elric Fri Jul 10 01:20:08 1998 Assar Westerlund <assar (a] sics.se> 2073 1.1 elric 2074 1.1 elric * roken.h.in (net_write, net_read): add prototypes 2075 1.1 elric 2076 1.1 elric * Makefile.in: net_{read,write}.c: add 2077 1.1 elric 2078 1.1 elric * net_{read,write}.c: new files 2079 1.1 elric 2080 1.1 elric Tue Jun 30 17:29:09 1998 Assar Westerlund <assar (a] sics.se> 2081 1.1 elric 2082 1.1 elric * roken.h.in (issuid): add 2083 1.1 elric 2084 1.1 elric * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of 2085 1.1 elric fields 2086 1.1 elric 2087 1.1 elric Sun May 31 03:24:34 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2088 1.1 elric 2089 1.1 elric * getarg.c (mandoc_template): Put short and long options in 2090 1.1 elric SYNOPSIS within the same [ ] pair. 2091 1.1 elric 2092 1.1 elric Sat May 30 00:13:01 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2093 1.1 elric 2094 1.1 elric * getarg.c (arg_printusage): try to keep options shorter than 2095 1.1 elric column width 2096 1.1 elric 2097 1.1 elric * get_window_size.c (get_window_size): check COLUMNS and LINES 2098 1.1 elric 2099 1.1 elric Fri May 29 00:05:04 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2100 1.1 elric 2101 1.1 elric * getarg.c (mandoc_template): Put short and long options in 2102 1.1 elric DESCRIPTION on the same line. 2103 1.1 elric 2104 1.1 elric * getarg.c (arg_match_long): make sure you only get an exact match 2105 1.1 elric if the strings are the same length 2106 1.1 elric 2107 1.1 elric Thu May 14 02:23:40 1998 Assar Westerlund <assar (a] sics.se> 2108 1.1 elric 2109 1.1 elric * roken.awk: stupid cray awk wants \# 2110 1.1 elric 2111 1.1 elric Fri May 1 01:29:36 1998 Assar Westerlund <assar (a] sics.se> 2112 1.1 elric 2113 1.1 elric * print_version.c (print_version): according to ISO/ANSI C the 2114 1.1 elric elements of `arg' are not constant and therefore not settable at 2115 1.1 elric compile-time. Set the at run-time instead. 2116 1.1 elric 2117 1.1 elric Sun Apr 19 10:00:06 1998 Assar Westerlund <assar (a] sics.se> 2118 1.1 elric 2119 1.1 elric * roken.h.in: include paths.h 2120 1.1 elric 2121 1.1 elric Sun Apr 5 12:30:49 1998 Assar Westerlund <assar (a] sics.se> 2122 1.1 elric 2123 1.1 elric * Makefile.in (SOURCES): add roken_gethostby.c to make solaris 2124 1.1 elric make happy 2125 1.1 elric 2126 1.1 elric Thu Mar 19 20:41:25 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2127 1.1 elric 2128 1.1 elric * simple_exec.c: Simple fork+exec system() replacement. 2129 1.1 elric 2130 1.1 elric Fri Mar 6 00:21:53 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2131 1.1 elric 2132 1.1 elric * roken_gethostby.c: Make `roken_gethostby_setup' take URL-like 2133 1.1 elric specification instead of split up versions. Makes it easier for 2134 1.1 elric calling applications. 2135 1.1 elric 2136 1.1 elric * roken_gethostby.c: Another miracle of the 20th century: 2137 1.1 elric gethostby* over HTTP. 2138 1.1 elric 2139 1.1 elric Sat Feb 21 15:18:36 1998 assar westerlund <assar (a] sics.se> 2140 1.1 elric 2141 1.1 elric * parse_time.c (unparse_time_approx): new function that calls 2142 1.1 elric `unparse_units_approx' 2143 1.1 elric 2144 1.1 elric * parse_units.c (unparse_units_approx): new function that will 2145 1.1 elric only print the first unit. 2146 1.1 elric 2147 1.1 elric * Makefile.in: include parse_{time,units} 2148 1.1 elric 2149 1.1 elric Thu Feb 12 03:30:08 1998 Assar Westerlund <assar (a] sics.se> 2150 1.1 elric 2151 1.1 elric * parse_time.c (print_time_table): don't return a void value. 2152 1.1 elric 2153 1.1 elric Tue Feb 3 11:06:24 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2154 1.1 elric 2155 1.1 elric * getarg.c (mandoc_template): Change date format to full month 2156 1.1 elric name, and day of month without leading zero. 2157 1.1 elric 2158 1.1 elric Thu Jan 22 21:23:23 1998 Johan Danielsson <joda (a] emma.pdc.kth.se> 2159 1.1 elric 2160 1.1 elric * getarg.c: Fix long form of negative flags. 2161 1.1 elric 2162 1.1 elric Mon Dec 29 23:31:10 1997 Johan Danielsson <joda (a] emma.pdc.kth.se> 2163 1.1 elric 2164 1.1 elric * roken.h.in: Include <err.h>, to get linux __progname. 2165 1.1 elric 2166 1.1 elric Sun Dec 21 09:45:18 1997 Assar Westerlund <assar (a] sics.se> 2167 1.1 elric 2168 1.1 elric * parse_time.c (print_time_table): new function 2169 1.1 elric 2170 1.1 elric * parse_units.c (print_flags_table, print_units_table): new 2171 1.1 elric functions. 2172 1.1 elric 2173 1.1 elric Thu Dec 4 02:51:46 1997 Assar Westerlund <assar (a] sics.se> 2174 1.1 elric 2175 1.1 elric * iruserok.c: moved here. 2176 1.1 elric 2177 1.1 elric * snprintf.c (sn_append_char): don't write any terminating zero. 2178 1.1 elric (as_reserve): don't loop. better heuristic for how much space to 2179 1.1 elric realloc. 2180 1.1 elric (vasnprintf): simplify initializing to one. 2181 1.1 elric 2182 1.1 elric Sun Nov 30 14:56:59 1997 Johan Danielsson <joda (a] emma.pdc.kth.se> 2183 1.1 elric 2184 1.1 elric * getarg.c: Add mandoc help back-end to getarg. 2185 1.1 elric 2186 1.1 elric Wed Nov 12 01:09:17 1997 Johan Danielsson <joda (a] emma.pdc.kth.se> 2187 1.1 elric 2188 1.1 elric * verr.c, verrx.c: Fix warnings by moving exit from. 2189 1.1 elric 2190 1.1 elric Tue Nov 11 21:12:09 1997 Johan Danielsson <joda (a] emma.pdc.kth.se> 2191 1.1 elric 2192 1.1 elric * parse_units.c: Change the list of separating characters (between 2193 1.1 elric units) to comma, space, and tab, removing digits. Having digits in 2194 1.1 elric this list makes a flag like `T42 generate a parse error. This 2195 1.1 elric change makes `17m3s' an invalid time-spec (you need a space). 2196 1.1 elric 2197 1.1 elric Tue Nov 11 02:38:44 1997 Assar Westerlund <assar (a] sics.se> 2198 1.1 elric 2199 1.1 elric * roken.h: add <sys/socket.h> 2200 1.1 elric 2201 1.1 elric Sun Nov 9 04:48:46 1997 Johan Danielsson <joda (a] emma.pdc.kth.se> 2202 1.1 elric 2203 1.1 elric * fnmatch.c: Add fnmatch from NetBSD 2204 1.1 elric 2205 1.1 elric Sun Nov 9 02:00:08 1997 Assar Westerlund <assar (a] sics.se> 2206 1.1 elric 2207 1.1 elric * parse_units.c (parse_something): ignore white-space and ',' 2208 1.1 elric 2209 1.1 elric Mon Nov 3 22:38:32 1997 Assar Westerlund <assar (a] sics.se> 2210 1.1 elric 2211 1.1 elric * roken.h: fclose prototype 2212 1.1 elric 2213 1.1 elric * roken.h: add prototype for vsyslog 2214 1.1 elric 2215 1.1 elric * Makefile.in: add some more source files to make soriasis make 2216 1.1 elric happy 2217 1.1 elric 2218 1.1 elric Sat Nov 1 00:19:21 1997 Assar Westerlund <assar (a] sics.se> 2219 1.1 elric 2220 1.1 elric * roken.h: include <sys/uio.h> and <errno.h>. 2221 1.1 elric prototypes for readv and writev 2222 1.1 elric 2223 1.1 elric * readv.c, writev.c: new files 2224 1.1 elric 2225 1.1 elric Wed Oct 29 02:21:38 1997 Assar Westerlund <assar (a] sics.se> 2226 1.1 elric 2227 1.1 elric * roken.h: Add ugly macros for openlog, gethostbyname, 2228 1.1 elric gethostbyaddr, and getservbyname for the benefit of Crays. Add 2229 1.1 elric default definition of MAXPATHLEN 2230