connect revers path changes
All checks were successful
Source release / source-package (push) Successful in 41s

This commit is contained in:
Mario Fetka
2026-05-20 10:58:38 +02:00
parent 4d7d2d86f6
commit 514fb3cbdc

View File

@@ -1152,6 +1152,12 @@ static int build_dir_name(NW_PATH *nwpath, /* gets complete path */
uint8 *p=searchpath;
uint8 *ppp=nwpath->path;
int completition=0;
XDPRINTF((2,0,
"BUILD_DIR ENTER volume=%d path='%s' fn='%s' dirhandle=%d",
nwpath ? nwpath->volume : -1,
(nwpath && nwpath->path) ? (char *)nwpath->path : "(null)",
(nwpath && nwpath->fn) ? (char *)nwpath->fn : "(null)",
dir_handle));
xstrcpy(searchpath, (char*)ppp); /* save path */
@@ -1242,6 +1248,13 @@ static int build_dir_name(NW_PATH *nwpath, /* gets complete path */
up_fn(ppp);
up_fn(nwpath->fn);
}
XDPRINTF((2,0,
"BUILD_DIR OPTIONS volume=%d options=0x%x IGNCASE=%d path='%s' fn='%s'",
nwpath->volume,
v->options,
!!(v->options & VOL_OPTION_IGNCASE),
nwpath->path,
nwpath->fn));
if (v->options & VOL_OPTION_IGNCASE) {
uint8 unixname[1024]; /* should be enough */
uint8 *pp=unixname+v->unixnamlen;
@@ -1314,6 +1327,12 @@ static int conn_get_kpl_path(NW_PATH *nwpath, struct stat *stbuff,
*/
{
int completition = build_path(nwpath, data, len, only_dir);
XDPRINTF((2,0,
"KPL ENTER dirhandle=%d len=%d only_dir=%d data0=0x%x",
dirhandle,
len,
only_dir,
data ? (unsigned int)data[0] : 0));
XDPRINTF((5, 0, "compl=0x%x, conn_get_kpl_path %s",
completition, conn_get_nwpath_name(nwpath)));
if (!completition) completition = build_dir_name(nwpath, stbuff, dirhandle);