Home | History | Annotate | only in /src/usr.bin/shlock
History log of /src/usr.bin/shlock
RevisionDateAuthorComments
 1.4 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.3 14-Jun-2002  wiz branches: 1.3.42;
Remove __STDC__ #ifdefs. De-__P. ANSIfy.
 1.2 19-Oct-1997  lukem fix .Nm usage, s/algorithmn/algorithm/, deprecate register
 1.1 06-Aug-1997  fair branches: 1.1.1;
Initial revision
 1.1.1.1 06-Aug-1997  fair program to make lock files for shell scripts
 1.3.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.13 20-Jul-2013  wiz Use Mt for email addresses.
 1.12 02-Nov-2012  christos branches: 1.12.2;
cross reference flock(1)
 1.11 30-Apr-2008  martin branches: 1.11.4; 1.11.26;
Convert TNF licenses to new 2 clause variant
 1.10 07-Oct-2006  elad branches: 1.10.16;
PR/30819: Peter Postma: src/usr.bin/shlock has no license

Thanks to Matt Fleming for contacting Erik E. Fair and getting his
agreement to put a TNF license on this.
 1.9 23-Sep-2006  daniel PR/30820: Peter Postma: shlock(1) manpage incorrect

shlock uses link(2) rather than rename(2) to make the final target,
fix the manual page to reflect this.
 1.8 13-Jul-2004  wiz Sort options; from Kouichirou Hiratsuka in PR 26256.
 1.7 02-Oct-2002  wiz filesystem -> file system, writeable -> writable.
 1.6 08-Dec-2001  wiz Use .Pp instead of empty lines, mark up AUHTORS section.
 1.5 01-Dec-2001  wiz Whitespace cleanup.
 1.4 11-Jun-2001  martin The -v option actually is called -d.
Fixes PR 13168.
 1.3 04-Sep-2000  kleink For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
 1.2 19-Oct-1997  lukem fix .Nm usage, s/algorithmn/algorithm/, deprecate register
 1.1 06-Aug-1997  fair branches: 1.1.1;
Initial revision
 1.1.1.1 06-Aug-1997  fair program to make lock files for shell scripts
 1.10.16.1 18-May-2008  yamt sync with head.
 1.11.26.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.26.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11.4.1 16-Jan-2013  yamt sync with (a bit old) head
 1.12.2.1 23-Jul-2013  riastradh sync with HEAD
 1.16 17-Aug-2024  riastradh shlock(1): Nix trailing whitespace.

No functional change intended.
 1.15 17-Apr-2021  christos branches: 1.15.8;
appease gcc-9
 1.14 16-Apr-2021  christos PR/56112: Justin Parrott: Don't unlink a lock file without locking it, because
you can have races when multiple processes try to unlink it. Check the link
count to see if we have won the race.

While here:
- use snprintf
- use warn
- use size_t/ssize_t
- use loops instead of goto
- KNF
 1.13 10-Apr-2015  tron Fix casts which are inconsistent with *printf() formats and remove the
use of a non-standard type in the process.
 1.12 06-Sep-2011  joerg Use pid_t directly. Apply static and __dead.
 1.11 31-Aug-2011  plunky NULL does not need a cast
 1.10 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.9 07-Oct-2006  elad branches: 1.9.16;
PR/30819: Peter Postma: src/usr.bin/shlock has no license

Thanks to Matt Fleming for contacting Erik E. Fair and getting his
agreement to put a TNF license on this.
 1.8 13-Jul-2004  wiz * add [] to -p
* sort options
* call bad_usage() if unknown option is given

From Kouichirou Hiratsuka in PR 26256.
 1.7 23-Jun-2003  agc Add NetBSD RCS Ids.
 1.6 14-Jun-2002  wiz Remove __STDC__ #ifdefs. De-__P. ANSIfy.
 1.5 11-Oct-2000  is More format string cleanup by sommerfeld.
 1.4 19-Dec-1998  christos branches: 1.4.2; 1.4.10;
portable printf args.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 19-Oct-1997  lukem fix .Nm usage, s/algorithmn/algorithm/, deprecate register
 1.1 06-Aug-1997  fair branches: 1.1.1;
Initial revision
 1.1.1.1 06-Aug-1997  fair program to make lock files for shell scripts
 1.4.10.1 18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.4.2.1 19-Oct-2000  he Pull up revision 1.5 (requested by he):
Format string cleanup.
 1.9.16.1 18-May-2008  yamt sync with head.
 1.15.8.1 02-Aug-2025  perseant Sync with HEAD

RSS XML Feed