Branch: Tag:

2000-02-03

2000-02-03 02:47:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

may now work if NTMOUNT is not /

Rev: NT/tools/lib.pike:1.9

74:    string mnt=getenv("NTMOUNT");    if(mnt && strlen(mnt)) tmp=replace(tmp,mnt,"");    cmd=({getenv("NTDRIVE")+replace(tmp,"/","\\")})+cmd; +  + #if 1 +  /* Experimental */ +  if(mnt && strlen(mnt)>1) +  { +  for(int e=1;e<sizeof(cmd);e++) +  cmd[e]=replace(cmd[e],mnt,getenv("NTDRIVE")); +  } + #endif +     if(!f->connect(getenv("NTHOST"),(int)getenv("NTPORT")))    {    werror("Failed to connect "+strerror(errno())+".\n");