sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 0cca0c209bef5b749c440aba7d5e940ee083e019
parent 26723ba0dc8a1a94fc7031d7a0973d35cc0b4519
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Sat, 11 Jun 2011 00:31:44 +0100

whoops, chmod =
Diffstat:
Mchmod.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chmod.c b/chmod.c @@ -51,6 +51,9 @@ chmodr(const char *path) case '-': st.st_mode &= ~mode; break; + case '=': + st.st_mode = mode; + break; } if(chmod(path, st.st_mode) == -1) eprintf("chmod %s:", path);