Bug fix: licdio adapter reacted inconsistently on symbolic links to drives

This commit is contained in:
Thomas Schmitt 2011-11-18 15:54:53 +00:00
parent 733ad91e42
commit bc2cc91344
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.11.16.094436" #define Cdrskin_timestamP "2011.11.18.155410"

View File

@ -457,7 +457,7 @@ int sg_give_next_adr(burn_drive_enumerator_t *idx,
ret = burn_drive_resolve_link(adr, path, &recursion_count, 2); ret = burn_drive_resolve_link(adr, path, &recursion_count, 2);
if(ret > 0 && (ssize_t) strlen(path) < adr_size) if(ret > 0 && (ssize_t) strlen(path) < adr_size)
strcpy(path, adr); strcpy(adr, path);
ret = (ret >= 0); ret = (ret >= 0);
ex: ex:
BURN_FREE_MEM(path); BURN_FREE_MEM(path);