summaryrefslogtreecommitdiff
path: root/usr.bin/shlock
AgeCommit message (Collapse)Author
2021-04-17appease gcc-9christos
2021-04-16PR/56112: Justin Parrott: Don't unlink a lock file without locking it, becausechristos
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
2015-04-10Fix casts which are inconsistent with *printf() formats and remove thetron
use of a non-standard type in the process.
2014-03-18Merge riastradh-drm2 to HEAD.riastradh
2013-07-20Use Mt for email addresses.wiz
2012-11-02cross reference flock(1)christos
2011-09-06Use pid_t directly. Apply static and __dead.joerg
2011-08-31NULL does not need a castplunky
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
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
2008-04-30Convert TNF licenses to new 2 clause variantmartin
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2006-10-07PR/30819: Peter Postma: src/usr.bin/shlock has no licenseelad
Thanks to Matt Fleming for contacting Erik E. Fair and getting his agreement to put a TNF license on this.
2006-09-23PR/30820: Peter Postma: shlock(1) manpage incorrectdaniel
shlock uses link(2) rather than rename(2) to make the final target, fix the manual page to reflect this.
2004-07-13* add [] to -pwiz
* sort options * call bad_usage() if unknown option is given From Kouichirou Hiratsuka in PR 26256.
2004-07-13Sort options; from Kouichirou Hiratsuka in PR 26256.wiz
2003-06-23Add NetBSD RCS Ids.agc
2002-10-02filesystem -> file system, writeable -> writable.wiz
2002-06-14Remove __STDC__ #ifdefs. De-__P. ANSIfy.wiz
2001-12-08Use .Pp instead of empty lines, mark up AUHTORS section.wiz
2001-12-01Whitespace cleanup.wiz
2001-06-11The -v option actually is called -d.martin
Fixes PR 13168.
2000-10-11More format string cleanup by sommerfeld.is
2000-09-04For commands and utilities, use EXIT STATUS rather than RETURN VALUES orkleink
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
1998-12-19portable printf args.christos
1998-01-09RCS Id Police.perry
1997-10-19fix .Nm usage, s/algorithmn/algorithm/, deprecate registerlukem
1997-08-06program to make lock files for shell scriptsfair