mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-22 13:24:28 +02:00
Fix truename("C:") where the current directory is different from the root:
then it should not append a backslash. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1471 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
8cce4e7d84
commit
39a9574824
@ -470,7 +470,7 @@ COUNT truename(const char FAR * src, char * dest, COUNT mode)
|
||||
}
|
||||
|
||||
/* append the path specified in src */
|
||||
addSep = ADD; /* add separator */
|
||||
addSep = *src ? ADD : DONT_ADD; /* add separator */
|
||||
|
||||
while(*src)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user