<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 2012-04-11 18:19, Stephan Bergmann wrote:
<blockquote cite="mid:4F85AEF4.7040407@redhat.com" type="cite">My
understanding is that we use "classic" paths (not starting with
"\\?") whenever they are short enough, anyway. So the problem
cannot be solved with an #if, but (short of abandoning berkeleydb)
needs to be worked around by making sure the LO installation is in
a location with a short path (so that the paths of any files
within the installation that are handed to berkeleydb are also
short).
<br>
<br>
<br>
</blockquote>
<br>
"git grep db_create" says there 5 places within LO where we hand a
path to berkelydb. <br>
Perhaps in that place we can convert to a 8.3 using the Win32 API <span
style="color: rgb(0, 0, 0); font-family: Verdana, Arial,
Helvetica; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(246, 246, 246); font-size: small; display:
inline !important; float: none; ">GetShortPathName.<br>
Or we could unconditionally convert to a very long path (using
"\\?") ?<br>
<br>
-- Noel<br>
<br>
<br>
</span>
<br><br><br><hr><font size="-2" color=808080>Disclaimer: <a href="http://www.peralex.com/disclaimer.html">http://www.peralex.com/disclaimer.html</a><br><br>
</body>
</html>