/[ascend]/trunk/base/generic/general/ospath.c
ViewVC logotype

Diff of /trunk/base/generic/general/ospath.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 550 by johnpye, Thu Apr 27 00:04:13 2006 UTC revision 551 by johnpye, Sat Apr 29 04:19:17 2006 UTC
# Line 186  void ospath_free(struct FilePath *fp){ Line 186  void ospath_free(struct FilePath *fp){
186      then performing a callback on each one to determine if the      then performing a callback on each one to determine if the
187      match is OK or not.      match is OK or not.
188  */  */
189  struct FilePath *ospath_new_from_posix(char *posixpath){  struct FilePath *ospath_new_from_posix(const char *posixpath){
190      struct FilePath *fp = MALLOC(sizeof(struct FilePath));      struct FilePath *fp = MALLOC(sizeof(struct FilePath));
191      STRNCPY(fp->path,posixpath,PATH_MAX);      STRNCPY(fp->path,posixpath,PATH_MAX);
192  #ifdef WINPATHS  #ifdef WINPATHS

Legend:
Removed from v.550  
changed lines
  Added in v.551

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22