* fhandler_tty.cc (fhandler_tty_slave::fchown): Initialize mode to 0.
This commit is contained in:
parent
1570248800
commit
5c6904b515
@ -1,3 +1,7 @@
|
||||
2010-11-18 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_tty.cc (fhandler_tty_slave::fchown): Initialize mode to 0.
|
||||
|
||||
2010-11-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* posix.sgml: Move llround and llroundf to implemented SUSv4 functions.
|
||||
|
@ -1306,7 +1306,7 @@ fhandler_tty_slave::fchown (__uid32_t uid, __gid32_t gid)
|
||||
{
|
||||
int ret = -1;
|
||||
bool to_close = false;
|
||||
mode_t mode;
|
||||
mode_t mode = 0;
|
||||
__uid32_t o_uid;
|
||||
__gid32_t o_gid;
|
||||
security_descriptor sd;
|
||||
|
Loading…
Reference in New Issue
Block a user