mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The translation of Unix to Amiga path names now silently accepts
absolute Amiga path names passed to it and will use them without changing them. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14845 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: unistd_translatea2u.c,v 1.3 2005-02-03 16:56:17 obarthel Exp $
|
||||
* $Id: unistd_translatea2u.c,v 1.4 2005-02-28 13:32:11 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -55,6 +55,7 @@ __translate_amiga_to_unix_path_name(char const ** name_ptr,struct name_translati
|
||||
|
||||
name = (char *)(*name_ptr);
|
||||
|
||||
/* Check if the name would become too long to handle. */
|
||||
len = strlen(name);
|
||||
if(len >= (int)sizeof(nti->substitute))
|
||||
{
|
||||
@ -64,8 +65,6 @@ __translate_amiga_to_unix_path_name(char const ** name_ptr,struct name_translati
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* Check if the name would become too long to handle. */
|
||||
|
||||
/* Reduce any '//' embedded in the name if possible. */
|
||||
have_double_slash = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user