| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert (once again, and hopefully for the last time) to flock(2) locks. | Dag-Erling Smørgrav | 2009-06-06 | 1 | -8/+5 |
| | | | | | | | | | | The problem with fcntl(2) locks is that they are not inherited by child processes. This breaks pidfile(3), where the common idiom is to open and lock the PID file before daemonizing. Notes: svn path=/head/; revision=193591 | ||||
| * | Diff reduction against Varnish, including one important fix: use a shared | Dag-Erling Smørgrav | 2008-10-20 | 1 | -12/+12 |
| | | | | | | | | lock if the file is opened with O_RDONLY. Notes: svn path=/head/; revision=184094 | ||||
| * | Reimplement flopen(3) using fcntl(2) locks instead of flock(2) locks. | Dag-Erling Smørgrav | 2008-10-20 | 1 | -5/+7 |
| | | | | | Notes: svn path=/head/; revision=184093 | ||||
| * | Back out previous commit until I figure out why my regression test fails. | Dag-Erling Smørgrav | 2007-08-03 | 1 | -7/+4 |
| | | | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=171706 | ||||
| * | Use fcntl(2)-style locks instead of less-portable flock(2)-style locks. | Dag-Erling Smørgrav | 2007-08-03 | 1 | -4/+7 |
| | | | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=171705 | ||||
| * | Nit: avoid shadowing truncate(2) with a local variable. | Dag-Erling Smørgrav | 2007-05-23 | 1 | -3/+3 |
| | | | | | Notes: svn path=/head/; revision=169899 | ||||
| * | Fix stupid braino in previous commit. | Dag-Erling Smørgrav | 2007-05-23 | 1 | -1/+1 |
| | | | | | Notes: svn path=/head/; revision=169897 | ||||
| * | If (flags & O_TRUNC), don't truncate the file until we've successfully | Dag-Erling Smørgrav | 2007-05-23 | 1 | -1/+11 |
| | | | | | | | | | | locked it. MFC after: 3 weeks Notes: svn path=/head/; revision=169894 | ||||
| * | Well gag me with a spoon... I'm so used to working at high WARNS levels | Dag-Erling Smørgrav | 2007-05-10 | 1 | -0/+4 |
| | | | | | | | | that I make stupid fundamental mistakes like this when I don't. Notes: svn path=/head/; revision=169450 | ||||
| * | Remove superfluous unexpanded RCS tag. | Dag-Erling Smørgrav | 2007-05-10 | 1 | -2/+0 |
| | | | | | Notes: svn path=/head/; revision=169449 | ||||
| * | DTRT when O_NONBLOCK is specified. | Dag-Erling Smørgrav | 2007-05-10 | 1 | -4/+7 |
| | | | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=169447 | ||||
| * | I'm tired of seeing this done incorrectly and non-portably, so add a | Dag-Erling Smørgrav | 2007-05-10 | 1 | -0/+91 |
| flopen(3) function which reliably opens and locks a file. MFC after: 3 weeks Notes: svn path=/head/; revision=169446 | |||||
