freedthttp://offog.org/git/freedt.atomgitatom2017-01-24T18:22:37Zhttp://offog.org/git/freedt.git#1e421a55fb9bc767cebf2cc42fb6f2272c7c91772017-01-24T18:22:37Z2017-01-24T18:22:37ZREADME is in Markdown format already; rename it.README is in Markdown format already; rename it.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#95617e4eb27e2fc9c5e074f5e966ea4cf362117e2013-10-26T21:21:19Z2013-10-26T21:21:19ZTweak iolib.h comments, and make iolib.c order match.Tweak iolib.h comments, and make iolib.c order match.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#d233971ef4e96ebf14d10d34f34bac84771785322013-10-26T20:24:01Z2013-10-26T20:24:01ZRemove some unnecessary gotos.Remove some unnecessary gotos.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#7bfb5d80e8cf59c554b4a413b5f326b781c591832013-10-26T17:12:27Z2013-10-26T17:12:27ZCheck for overflow in bsetsize.Check for overflow in bsetsize.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#b56edbd7eb84b5f9731db4de81abe9347297d21a2013-10-26T17:06:53Z2013-10-26T17:06:53ZDon't call memchr/memcpy with a NULL first argument.Don't call memchr/memcpy with a NULL first argument.
In these cases the length was 0, but you're still not meant to do this.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#b77e33674d9046c82871b9caf557b66ec9677a2e2013-10-26T17:03:22Z2013-10-26T17:03:22ZUse size_t, ssize_t and pid_t rather than int as appropriate.Use size_t, ssize_t and pid_t rather than int as appropriate.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#5491a8cf5c8865a2fe610aaa0abf84a8feeb14342013-10-26T15:45:54Z2013-10-26T15:45:54ZUse stddef.h to provide NULL, rather than defining it.Use stddef.h to provide NULL, rather than defining it.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#efedf76e64eb549925ad6cc1cfddcc4b38bc55c92013-10-26T15:38:55Z2013-10-26T15:38:55ZFix a "while (length--)" in ratelimit.Fix a "while (length--)" in ratelimit.
Running this through scan-build produced a warning (that c would be used
uninitialised). I'm reasonably convinced that the warning is spurious,
since the length has to be > 0 to get into that bit of code anyway, but
this loop test was definitely confusing, and leaving length negative
wasn't the intended effect.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#76bdeab31fb68058bfb71f5634d82602814f9a072013-10-26T15:12:09Z2013-10-26T15:12:09ZRemove O_FSYNC check.Remove O_FSYNC check.
O_SYNC is now always used.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#fe3c1fb1fc8446602ee2fd17f1c49f69b78a496e2013-10-26T15:10:06Z2013-10-26T15:10:06ZReplace fdt_setenv/fdt_unsetenv with POSIX equivalents.Replace fdt_setenv/fdt_unsetenv with POSIX equivalents.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#e799fb5e395a149dccc9574333e58307a51e2a4a2013-10-26T15:06:11Z2013-10-26T15:06:11ZAdd a note about POSIX.Add a note about POSIX.
There's currently some pretty horrible code in freedt to support Solaris
8 (e.g. reimplementations of setenv). I can't test this any more, and I
don't need it on any modern machine, so I intend to get rid of it.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#554857580f669898737e3a665e468025153e71602013-10-26T15:02:29Z2013-10-26T15:02:29ZChange from the GPLv2+ to the OpenBSD license.Change from the GPLv2+ to the OpenBSD license.
This more or less matches the daemontools license (PD).
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#a142c07f5fa904461aa93f01cd786d6160ba02662013-10-26T12:48:38Z2013-10-26T12:48:38ZRemove autoupdate.sh.Remove autoupdate.sh.
autoreconf does this now.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#69a9218cfbdce76b724524b0f7aed2d9394e51312013-10-26T12:47:50Z2013-10-26T12:47:50ZUpdate version number, with a new scheme.Update version number, with a new scheme.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#ec4fb6802fefd39e53b1dcbfe99f30e18669eb742011-06-17T15:53:48Z2011-06-17T15:53:48ZRun test-iolib as an automake test.Run test-iolib as an automake test.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#26643fb2aa3ab6929c825cf90f4500f58e664ef92011-06-17T15:52:44Z2011-06-17T15:52:44ZDon't write 130k of text during the test.Don't write 130k of text during the test.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#5d4deea2f7629f3743732bdd982e8592d6fd4b3f2011-06-17T15:51:55Z2011-06-17T15:51:55ZUpdate test-iolib to work with the current iolib.Update test-iolib to work with the current iolib.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#55e798f557741eb3bceeceaca02dcd2a807d44eb2011-06-17T15:41:33Z2011-06-17T15:41:33ZAdd svstat.h to Makefile.am, to pass distcheck.Add svstat.h to Makefile.am, to pass distcheck.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#3617fe3aae6132d69e98777c4fb0d82ac455ac4e2011-06-17T15:36:59Z2011-06-17T15:36:59ZFix a couple of resource leaks found by cppcheck.Fix a couple of resource leaks found by cppcheck.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#30e6f17fa1d506b2e9f475a5a16b11918bb71e482009-09-06T14:58:57Z2009-09-06T14:58:57ZAdd an explicit test to silence a clang warning.Add an explicit test to silence a clang warning.
If prev is NULL, then we've walked off the end of the list without
finding the service we were after. This won't happen without memory
corruption, but it does no harm to check, and stops clang complaining.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#d8e6b9b4909476f2a3b2c510beecb46f853d80ba2009-09-06T14:28:02Z2009-09-06T14:28:02ZUse ats@offog.org everywhere.Use ats@offog.org everywhere.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#bc4b2346683d2f5b6175bc658490d749f614e7232009-09-06T14:24:06Z2009-09-06T14:24:06ZRemove a lot of redundancy and general mess in Makefile.am.Remove a lot of redundancy and general mess in Makefile.am.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#1eaf1f42b4963407bdc1e178eb6b5d9612dd3f6e2009-09-06T14:18:32Z2009-09-06T14:18:32ZRename configure.in to configure.ac.Rename configure.in to configure.ac.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#e66131309aeda0bcef2edb68422966c4fc4493c72009-09-06T14:17:01Z2009-09-06T14:17:01ZAdd noreturn attribute to some of the helper functions.Add noreturn attribute to some of the helper functions.
This avoids some false positives from clang.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#2d7790a0791128e4d3c9d0a6d1e565ef13a2c80f2009-09-06T14:15:21Z2009-09-06T14:15:21ZRemove no-dependencies, and add foreign.Remove no-dependencies, and add foreign.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#7ce776c9e5dd12e29ecb15f9118967b3bcf298e12009-09-06T14:12:45Z2009-09-06T14:12:45ZRename ChangeLog (which is really a NEWS file) to NEWS.Rename ChangeLog (which is really a NEWS file) to NEWS.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#6349b43c7302de789593065bd78c95fdcc732faa2009-09-06T14:12:30Z2009-09-06T14:12:30ZRemove NEWS.Remove NEWS.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#a375573a1d9e6de905fd9bb7409343c2ff08d4642009-09-06T14:11:30Z2009-09-06T14:11:30ZUpdate version.Update version.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#099726e6debb74c8687831bbf9a541f6309855c62009-09-06T14:06:31Z2009-09-06T14:06:31ZRemove INSTALL -- it's autogenerated.Remove INSTALL -- it's autogenerated.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#82082e8934aba9ffb94711531477060841d823732005-03-07T19:12:28Z2005-03-07T19:12:28ZUse id -g instead of C code in mkservice.Use id -g instead of C code in mkservice.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#af187aa94e4eae8b153cf1bb510f6979b3b2afdd2005-01-26T23:59:08Z2005-01-26T23:59:08ZFix two problems found by Ulf Härnhammer.Fix two problems found by Ulf Härnhammer.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#1e41798fe816c7d8e26a0ee593f6f36881ad60bf2005-01-26T22:16:54Z2005-01-26T22:16:54ZVersion 0.21.Version 0.21.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#517b8779ce43cc58f2268ab948bd6cfe9233139c2004-12-20T00:33:17Z2004-12-20T00:33:17Zformat_arg didn't work when there was more than one parameter.format_arg didn't work when there was more than one parameter.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#5b93bb1ec0d537ac088e4ec5dd7d32edc789d52e2004-12-20T00:32:52Z2004-12-20T00:32:52ZNew GNU version.New GNU version.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#4beb67b3cfbcc8e9bcdac0a0ecd100a408e43cf42004-12-20T00:32:25Z2004-12-20T00:32:25ZUpdated version.Updated version.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#eeb5a469bdd9b667ae337d74b8b5169d334566752004-11-02T07:58:12Z2004-11-02T07:58:12Zfreedt 0.19.freedt 0.19.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#3d6f1805e2b252af3fbad533af53d9d145f1b22e2004-11-02T07:58:03Z2004-11-02T07:58:03ZUse va_list rather than va_list *.Use va_list rather than va_list *.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#b8a019f5b635b5cb9f6dd9ecea2acb06c21d42682004-02-29T22:44:44Z2004-02-29T22:44:44ZFix typo.Fix typo.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#39b4b3ee65bf9bc07785cda293ca2503fc6331262003-05-27T18:16:40Z2003-05-27T18:16:40ZUse a config.h file. Tidy up header ordering a bit.Use a config.h file.
Tidy up header ordering a bit.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#f14f839da9c28b8705250e157491ea03861967f42003-05-27T18:13:47Z2003-05-27T18:13:47ZUpdate version number.Update version number.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#310a0aee5cafe962ce524b2b463577ecd0f768122003-05-25T21:59:38Z2003-05-25T21:59:38ZUpdated.Updated.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#a32343c263c5b8ead4bad1b959615745587e75512003-05-25T21:34:36Z2003-05-25T21:34:36ZAdd configure checks for RLIMIT_* and O_SYNC, for Solaris/FreeBSD portability. Add -b and -v flags to softlimit for extra RLIMIT_* options discovered.Add configure checks for RLIMIT_* and O_SYNC, for Solaris/FreeBSD portability.
Add -b and -v flags to softlimit for extra RLIMIT_* options discovered.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#d614af875fa06458d17ed36a6fc74a80290c761d2003-05-25T17:26:44Z2003-05-25T17:26:44ZInclude <stdlib.h>, since that's where Solaris defines getopt() and friends.Include <stdlib.h>, since that's where Solaris defines getopt() and friends.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#2d1cec693bc70538bd3bd89a5950b056446df0ef2003-05-25T17:22:57Z2003-05-25T17:22:57ZInclude <limits.h> to get NGROUPS_MAX on Solaris.Include <limits.h> to get NGROUPS_MAX on Solaris.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#d278151a7c7033946a82bd953166b7770edd7e442003-05-25T17:22:35Z2003-05-25T17:22:35ZImplement lock_fd, which uses fcntl instead of flock (since Solaris doesn't have flock).Implement lock_fd, which uses fcntl instead of flock (since Solaris doesn't
have flock).
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#9b0cc4ebe8576a668f4dbf34c1953b962bea4df72003-05-25T17:13:57Z2003-05-25T17:13:57ZImplement portable fdt_setenv and fdt_unsetenv.Implement portable fdt_setenv and fdt_unsetenv.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#1ad99167a0c3ab72308372b6a5eaac637aad2b3a2003-05-11T15:55:12Z2003-05-11T15:55:12ZUpdated.Updated.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#a06731e109e9e10236c786913f2d1db0b29ac7362003-05-11T15:54:27Z2003-05-11T15:54:27ZSimplify parsing code. Support multiple queries (never used in practice, as far as I can see, but other common identds support this). Improve error reporting.Simplify parsing code.
Support multiple queries (never used in practice, as far as I can see, but
other common identds support this).
Improve error reporting.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#41e9d564fc07a52375f44c7f4213165169e3e9d22003-05-11T14:06:47Z2003-05-11T14:06:47ZUpdated.Updated.
Adam Sampsonats@offog.orghttp://offog.org/git/freedt.git#b77cd560a61ccefc713900238b4616d665dace142003-05-11T14:05:34Z2003-05-11T14:05:34ZRewrite file-reading code. Fix bug where \0 wasn't being replaced with \n as required.Rewrite file-reading code.
Fix bug where \0 wasn't being replaced with \n as required.
Adam Sampsonats@offog.org