diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-10 14:11:15 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-10 14:11:15 +0000 |
commit | 7f4774ae47f6628888c2da9409229189fba57844 (patch) | |
tree | c1e262736046e81b3df014ae36b194c098cf7778 /pp_sys.c | |
parent | 884baa66f4892b29ff648df5ff336287a8c8c7c0 (diff) | |
download | perl-7f4774ae47f6628888c2da9409229189fba57844.tar.gz |
Use Mode_t.
p4raw-id: //depot/cfgperl@3949
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -230,7 +230,7 @@ static char zero_but_true[ZBTLEN + 1] = "0 but true"; || defined(HAS_SETREGID) || defined(HAS_SETRESGID)) /* The Hard Way. */ STATIC int -S_emulate_eaccess(pTHX_ const char* path, int mode) +S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) { Uid_t ruid = getuid(); Uid_t euid = geteuid(); @@ -295,7 +295,7 @@ S_emulate_eaccess(pTHX_ const char* path, int mode) #if !defined(PERL_EFF_ACCESS_R_OK) STATIC int -S_emulate_eaccess(pTHX_ const char* path, int mode) +S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) { Perl_croak(aTHX_ "switching effective uid is not implemented"); /*NOTREACHED*/ |