• Chip Davis's avatar
    shell32: Don't use Carbon on Mac OS to find the Trash. · efac5d06
    Chip Davis authored
    Due to a weird interaction between Wine and (what I believe to be)
    os_log/os_signpost, we can't use FSPathMakeRef() (nor any other function
    that calls that) from a Wine process. We also can't use the
    NSSearchPathForDirectoriesInDomains() function. Setting aside the fact
    that it's Objective-C (something we can work around, given that NS and
    CF types are toll-free bridged), a) support for getting the Trash folder
    was only added in 10.8 (when FSFindFolder() was deprecated), and b) it
    doesn't even support volume-specific Trash folders.
    
    For now, just hardcode the paths to the Trash folder.
    Signed-off-by: 's avatarChip Davis <cdavis@codeweavers.com>
    Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    efac5d06
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...