WPrefs: replaced call to external program "chmod" by the equivalent system call
commit33855a7a12c8878eb7306e54cdb37e93d2fed4ae
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 8 Nov 2014 19:49:40 +0000 (8 20:49 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Nov 2014 22:42:18 +0000 (23 22:42 +0000)
treea7333a646577ab36af74dc93739d7d56aa8d7643
parent34f35ee5347c7797a210ce809741005d8bf0d666
WPrefs: replaced call to external program "chmod" by the equivalent system call

It is more efficient to use the dedicated function than to call an external
binary program to do the job, and it reduce the risk of problem in case the
path would end up with potentially problematic characters.

It should also close Coverity bug #50225 ("Use of untrusted string value")

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/MouseSettings.c