<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Richard Boulton wrote:
<blockquote cite="mid1096969808.30537.11.camel@scary.honest.gov"
type="cite">
<pre wrap="">On Tue, 2004-10-05 at 09:22 +0100, Sam Liddicott wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Does omega chdir to the database dir before opening all the files?
</pre>
</blockquote>
<pre wrap=""><!---->
No.
</pre>
<blockquote type="cite">
<pre wrap=""> Or is there a race condition as the symlink changes if a DB is being
opened?
</pre>
</blockquote>
<pre wrap=""><!---->
I think there is. Possibly this could be solved by using readlink(2) to
read the actual path pointed to by the symlink, and constructing the
database path based on the real path.
</pre>
</blockquote>
Repeatedly calling readlink as I now have a couple of levels of symlink
redirection.<br>
<br>
Sam<br>
<br>
</body>
</html>