Show
Ignore:
Timestamp:
10/03/08 12:54:00 (3 months ago)
Author:
mwhitworth
Message:

Remove strcpy, replace calls to strcpy with strncpy, misc formatting fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/keobject/fs/vfs/load.c

    r1060 r1079  
    312312 
    313313        /* The child processes have the same current directory as the parent */  
    314         strcpy(process->sCwd,current->sCwd); 
     314        strncpy(process->sCwd, current->sCwd, PATH_MAX); 
    315315 
    316316        process->cwd=current->cwd;