diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-25 20:05:09 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-25 20:28:14 -0500 |
commit | e9836b6b2afa70f22d305509593b375543b20ba6 (patch) | |
tree | 9695c79202bb58c4014033f98a0021790f49817e /.gitignore | |
parent | 2343d5c3c034c2597a034f5a5de9373d7e076e60 (diff) | |
download | devtools32-e9836b6b2afa70f22d305509593b375543b20ba6.tar.xz |
Use common functions to handle file locking
* lib/common.sh: implement
- lock_open_write()
- lock_open_read()
- lock_close()
* archbuild.in, makechrootpkg.in, mkarchroot.in: use said functions
This has two benefits:
1. All programs using these methods gain the ability to inherit locks,
something that only mkarchroot could do before. This allows the
commands to be more compos-able.
2. It is more readable. File locking isn't obvious.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions