Subject: Re: patch for epiphany mkdir() (was Re: experiences with X11BASE as LOCALBASE under NetBSD)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmmv@NetBSD.org>
List: tech-pkg
Date: 02/07/2004 01:34:26
On Saturday 07 February 2004 01:23, you wrote:
> On Sat, 7 Feb 2004, Julio M. Merino Vidal wrote:
> > BTW, won't this patch affect the code below it?  (Maybe it assumes a
> > trailing slash is present when building a path).
>
> I am not sure. I also emailed epiphany developer to see about it.

Be careful because we had several problems wrt this in libgnome (we removed
a slash from some defines, but it was still needed to construct paths).
I fixed those by adding a wrapper around mkdir(2).

> Do you have anything in ls -la ~/.gnome2/epiphany/favicon_cache/ ?

dawn$ ls -la /home/jmmv/.gnome2/epiphany/favicon_cache/
total 6
drwxr-x---  2 jmmv  users   512 Feb  7 01:00 ./
drwxr-x---  5 jmmv  users   512 Feb  7 01:02 ../
-rw-r--r--  1 jmmv  users  3638 Feb  7 01:00 http:__www.linux.com_favicon.ico

Cheers

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/