1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Documented __strip_double_slash() and plugged in a memmove()

in place of the copying loop.

- Modified __translate_unix_to_amiga_path_name() and
  __translate_amiga_to_unix_path_name() to not to call strlen()
  on the results of __strip_double_slash().


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14951 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-15 12:32:59 +00:00
parent 13c857ba0a
commit a1ffc20864
5 changed files with 37 additions and 25 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: unistd_headers.h,v 1.7 2005-03-18 12:38:25 obarthel Exp $
* $Id: unistd_headers.h,v 1.8 2005-05-15 12:32:58 obarthel Exp $
*
* :ts=4
*
@ -90,7 +90,7 @@ extern BOOL NOCOMMON __unix_path_semantics;
/****************************************************************************/
extern int __set_current_path(const char * path_name);
extern void __strip_double_slash(char * file_name,int len);
extern int __strip_double_slash(char * file_name,int len);
/****************************************************************************/