You could create a function called say openf which opens and locks a file, then simply go through the code and replace all the relevant open calls with openf calls.
In reply to Re: Auto flock
by space_monk
in thread Auto flock
by AlfaProject
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |