Re: [E-devel] [e] PATCH: OpenBSD VS strdupa()

2012-12-15 Thread The Rasterman
On Sat, 15 Dec 2012 22:31:52 +0100 Maxime Villard said: > Just a patch to avoid using strdupa(), which doesn't exist > on BSD's. > > By the way, 'buf' - and 'trash_dir' now - should be PATH_MAX > instead, no ? hmm i just added the macro for it instead... so solved it differently... :/ --

[E-devel] [e] PATCH: OpenBSD VS strdupa()

2012-12-15 Thread Maxime Villard
Just a patch to avoid using strdupa(), which doesn't exist on BSD's. By the way, 'buf' - and 'trash_dir' now - should be PATH_MAX instead, no ? --- e_fm/e_fm_ipc.c Sat Dec 15 22:24:51 2012 +++ e_fm/e_fm_ipc.c Sat Dec 15 22:21:50 2012 @@ -2,7 +2,6 @@ #include "config.h" #endif - #ifndef _FILE_