More tweaks to try & get Haiku Trash working

h/t Jérôme for all the hand-holding for Luc & me
This commit is contained in:
Bill Kendrick 2024-06-07 00:50:29 -07:00
parent 61f4c24d0f
commit 8ba9fb85e1
2 changed files with 4 additions and 2 deletions

View file

@ -52,7 +52,9 @@
#include <storage/Path.h>
#include <support/TypeConstants.h>
status_t haiku_trash(const char *f)
static const char *kAttrOriginalPath = "_trk/original_path";
extern "C" status_t haiku_trash(const char *f)
{
status_t err;
attr_info ai;

View file

@ -331,7 +331,7 @@ typedef struct safer_dirent
char d_name[FILENAME_MAX];
} safer_dirent;
extern "C" status_t haiku_trash(const char *f);
extern status_t haiku_trash(const char *f);
#define dirent safer_dirent