fixing last bug for jolite file names. now we can use so long file name we like.

I was force fixing this bug for getting dejavu font to be install on livecd
I was hopping some else have fixing this long standing bug. 

svn path=/trunk/; revision=22946
This commit is contained in:
Magnus Olsen 2006-07-08 20:45:33 +00:00
parent 512a5f6cd8
commit 998ca67436

View file

@ -1077,12 +1077,19 @@ static void get_file_specifications(PDIR_RECORD d)
{
if (d != &root)
{
get_file_specifications(d->parent);
append_string_to_source(d->name);
get_file_specifications(d->parent);
if (d->joliet_name == NULL)
append_string_to_source(d->name);
else
append_string_to_source(d->joliet_name);
if (((d->flags & DIRECTORY_FLAG) == 0 || joliet) && d->extension[0] != 0)
{
*end_source++ = '.';
append_string_to_source(d->extension);
if (d->joliet_name == NULL)
{
*end_source++ = '.';
append_string_to_source(d->extension);
}
}
if (d->flags & DIRECTORY_FLAG)
*end_source++ = DIR_SEPARATOR_CHAR;