Home | History | Annotate | only in /src/usr.bin/flock
History log of /src/usr.bin/flock
RevisionDateAuthorComments
 1.1 01-Nov-2012  christos branches: 1.1.2; 1.1.4; 1.1.6;
Add an flock program inspired by the linux one with the same name.
 1.1.6.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.6.1 01-Nov-2012  yamt file Makefile was added on branch yamt-pagecache on 2013-01-16 05:34:05 +0000
 1.1.4.2 28-Nov-2012  riz Pull up following revision(s) (requested by christos in ticket #719):
distrib/sets/lists/base/mi: revision 1.1011
usr.bin/flock/Makefile: revision 1.1
usr.bin/flock/flock.1: revision 1.1
distrib/sets/lists/man/mi: revision 1.1404
usr.bin/flock/flock.c: revision 1.1
distrib/sets/lists/comp/mi: revision 1.1786
usr.bin/Makefile: revision 1.211
add flock(1)
Add an flock program inspired by the linux one with the same name.
 1.1.4.1 01-Nov-2012  riz file Makefile was added on branch netbsd-6 on 2012-11-28 21:34:36 +0000
 1.1.2.2 01-Nov-2012  christos Add an flock program inspired by the linux one with the same name.
 1.1.2.1 01-Nov-2012  christos file Makefile was added on branch tls-maxphys on 2012-11-01 23:30:20 +0000
 1.13 04-Oct-2019  uwe Undo the confusion. Use separate synopsis lines for -c command with
single argument (sh -c) and command [args ...] forms.
 1.12 04-Oct-2019  uwe The command is not optional.
 1.11 04-Oct-2019  uwe Tweak formatting.
 1.10 18-Aug-2014  christos branches: 1.10.16;
mention that -x is the default.
 1.9 21-Sep-2013  khorben branches: 1.9.4;
flock(1) really appeared first in NetBSD 6.1
 1.8 03-Nov-2012  wiz branches: 1.8.2; 1.8.4; 1.8.6;
Separate SEE ALSO entries with comma.
 1.7 02-Nov-2012  christos cross reference shlock(1)
 1.6 02-Nov-2012  christos we don't truncate seconds anymore.
 1.5 02-Nov-2012  wiz Use longer -c description.
 1.4 02-Nov-2012  wiz Sort options and their descriptions. Sync usage with man page.
 1.3 02-Nov-2012  christos treat a command without -c like an argument vector
default to exclusive lock
 1.2 01-Nov-2012  christos fix usage
 1.1 01-Nov-2012  christos Add an flock program inspired by the linux one with the same name.
 1.8.6.3 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.8.6.2 16-Jan-2013  yamt sync with (a bit old) head
 1.8.6.1 03-Nov-2012  yamt file flock.1 was added on branch yamt-pagecache on 2013-01-16 05:34:05 +0000
 1.8.4.4 03-Nov-2014  msaitoh Pull up following revision(s) (requested by manu in ticket #1143):
usr.bin/flock/flock.c: revision 1.10
usr.bin/flock/flock.c: revision 1.11
usr.bin/flock/flock.1: revision 1.10
usr.bin/flock/flock.c: revision 1.8
PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
XXX: still flock -s 0 fails with EINVAL, why?
make this behave like linux.
remove XXX, fix error message
mention that -x is the default.
 1.8.4.3 21-Sep-2013  riz Pull up following revision(s) (requested by khorben in ticket #951):
usr.bin/flock/flock.1: revision 1.9
flock(1) really appeared first in NetBSD 6.1
 1.8.4.2 28-Nov-2012  riz branches: 1.8.4.2.2;
Pull up following revision(s) (requested by christos in ticket #719):
distrib/sets/lists/base/mi: revision 1.1011
usr.bin/flock/Makefile: revision 1.1
usr.bin/flock/flock.1: revision 1.1
distrib/sets/lists/man/mi: revision 1.1404
usr.bin/flock/flock.c: revision 1.1
distrib/sets/lists/comp/mi: revision 1.1786
usr.bin/Makefile: revision 1.211
add flock(1)
Add an flock program inspired by the linux one with the same name.
 1.8.4.1 03-Nov-2012  riz file flock.1 was added on branch netbsd-6 on 2012-11-28 21:34:36 +0000
 1.8.4.2.2.1 21-Sep-2013  riz Pull up following revision(s) (requested by khorben in ticket #951):
usr.bin/flock/flock.1: revision 1.9
flock(1) really appeared first in NetBSD 6.1
 1.8.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.2.2 03-Nov-2012  wiz Separate SEE ALSO entries with comma.
 1.8.2.1 03-Nov-2012  wiz file flock.1 was added on branch tls-maxphys on 2012-11-03 00:50:05 +0000
 1.9.4.1 30-Aug-2014  martin Pull up following revision(s) (requested by manu in ticket #68):
usr.bin/flock/flock.c: revision 1.9 - 1.11
usr.bin/flock/flock.1: revision 1.10
Annotate functions using format strings.
Improve Linux compatibility, by making exclusive lock the default.
Also check for file descriptor value being sane.
 1.10.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.12 04-Oct-2019  mrg fix a bug gcc 8 picked up: use ~LOCK_NB to look for LOCK_UN,
like the rest of the code does.

from uwe@.
 1.11 18-Aug-2014  christos branches: 1.11.16;
remove XXX, fix error message
 1.10 18-Aug-2014  christos make this behave like linux; make -x the default
 1.9 07-Jan-2014  joerg branches: 1.9.4;
Annotate functions using format strings.
 1.8 29-Oct-2013  christos PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
XXX: still flock -s 0 fails with EINVAL, why?
 1.7 07-Feb-2013  tron Don't crash if "flock" is used to lock a file descriptor e.g. via
"flock --nb 8".
 1.6 02-Nov-2012  christos branches: 1.6.2; 1.6.4; 1.6.6;
- better usage messages
- verbose can be local
- add static
 1.5 02-Nov-2012  christos - use modern timer functions to handler fractional wait
- add a function to print the full command line
- use sigaction so signals interrupt us
 1.4 02-Nov-2012  wiz Use longer -c description.
 1.3 02-Nov-2012  wiz Sort options and their descriptions. Sync usage with man page.
 1.2 02-Nov-2012  christos treat a command without -c like an argument vector
default to exclusive lock
 1.1 01-Nov-2012  christos Add an flock program inspired by the linux one with the same name.
 1.6.6.3 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.6.6.2 16-Jan-2013  yamt sync with (a bit old) head
 1.6.6.1 02-Nov-2012  yamt file flock.c was added on branch yamt-pagecache on 2013-01-16 05:34:05 +0000
 1.6.4.4 03-Nov-2014  msaitoh Pull up following revision(s) (requested by manu in ticket #1143):
usr.bin/flock/flock.c: revision 1.10
usr.bin/flock/flock.c: revision 1.11
usr.bin/flock/flock.1: revision 1.10
usr.bin/flock/flock.c: revision 1.8
PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
XXX: still flock -s 0 fails with EINVAL, why?
make this behave like linux.
remove XXX, fix error message
mention that -x is the default.
 1.6.4.3 10-Feb-2013  riz Pull up following revision(s) (requested by tron in ticket #807):
usr.bin/flock/flock.c: revision 1.7
Don't crash if "flock" is used to lock a file descriptor e.g. via
"flock --nb 8".
 1.6.4.2 28-Nov-2012  riz Pull up following revision(s) (requested by christos in ticket #719):
distrib/sets/lists/base/mi: revision 1.1011
usr.bin/flock/Makefile: revision 1.1
usr.bin/flock/flock.1: revision 1.1
distrib/sets/lists/man/mi: revision 1.1404
usr.bin/flock/flock.c: revision 1.1
distrib/sets/lists/comp/mi: revision 1.1786
usr.bin/Makefile: revision 1.211
add flock(1)
Add an flock program inspired by the linux one with the same name.
 1.6.4.1 02-Nov-2012  riz file flock.c was added on branch netbsd-6 on 2012-11-28 21:34:36 +0000
 1.6.2.4 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.2.3 25-Feb-2013  tls resync with head
 1.6.2.2 02-Nov-2012  christos - better usage messages
- verbose can be local
- add static
 1.6.2.1 02-Nov-2012  christos file flock.c was added on branch tls-maxphys on 2012-11-02 17:03:17 +0000
 1.9.4.1 30-Aug-2014  martin Pull up following revision(s) (requested by manu in ticket #68):
usr.bin/flock/flock.c: revision 1.9 - 1.11
usr.bin/flock/flock.1: revision 1.10
Annotate functions using format strings.
Improve Linux compatibility, by making exclusive lock the default.
Also check for file descriptor value being sane.
 1.11.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed