diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-13 15:01:02 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-13 15:01:02 +0200 |
commit | 9c1dff3fa9928dd66114f3899d8ede99fad2cd53 (patch) | |
tree | 0e438fdf89dda02555bcf83e34e2beddbacd90b6 /sys/src/cmd/cpp/macro.c | |
parent | 1473e5d437e12c7312a859bcdfc167284ca99a4e (diff) |
lock: reopen lockfile after changing mode to make lock effective
lock is acquired on open/create when file has DMEXCL set in mode,
so we need to reopen the file after setting the bit with wstat.
Diffstat (limited to 'sys/src/cmd/cpp/macro.c')
0 files changed, 0 insertions, 0 deletions