Changeset b2efbe3


Ignore:
Timestamp:
03/04/14 10:28:34 (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
93c73fb
Parents:
cdd74e2
Message:

Dont add '/' to fuse path when the cwd is only '/', breaks some IPC stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbifs/main.c

    rb6a6398 rb2efbe3  
    100100        } else { 
    101101                getwd(rPath); 
    102                 strcat(rPath, opath); 
     102                // If the cwd is just '/' then don't add anything to string 
     103                if ( strcmp(rPath, "/") == 0 ) { 
     104                        strcpy(rPath, opath); 
     105                } else { 
     106                        strcat(rPath, opath); 
     107                } 
    103108 
    104109                // Debugging 
Note: See TracChangeset for help on using the changeset viewer.