[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] mkdir: fix permissions on 64-bit platforms
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2012-02-23 2:23:02
Message-ID: 201202230323.02661.vda.linux () googlemail ! com
[Download RAW message or body]

On Friday 10 February 2012 08:55, Timo Teräs wrote:
> sizeof(long) != sizeof(mode_t), this causes the compare in
> bb_make_directory of (long)-1 != (mode_t)-1 to fail and mess up
> the permissions of final directory by doing chmod((mode_t) -1).


Applied, thanks!
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic