connect revers path changes
All checks were successful
Source release / source-package (push) Successful in 41s
All checks were successful
Source release / source-package (push) Successful in 41s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user