diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 7 | ||||
-rw-r--r-- | source3/lib/util.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 7dc585223a..1410b776ab 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -200,6 +200,13 @@ int sys_rename(char *from, char *to) #endif /* KANJI */ } +/******************************************************************* +for chmod +********************************************************************/ +int sys_chmod(char *fname,int mode) +{ + return(chmod(dos_to_unix(fname,False),mode)); +} /******************************************************************* chown isn't used much but OS/2 doesn't have it diff --git a/source3/lib/util.c b/source3/lib/util.c index 6a4861981d..657e9cb1a0 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3127,7 +3127,7 @@ void BlockSignals(BOOL block) if (block) sigblock(block_mask); else - sigunblock(block_mask); + sigsetmask(0); #endif } |