MaxTyutyunnikov / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

insmod will not load a file of more than 10 characters (including the dot) #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

insmod 1234567.890
insmod 123456789012

produce errors 

BUT

insmod 123456.789
insmod 12345678901
insmod 12345.67890
all work

It seems filenames with 3 character extensions can only be 6.3 but you can have 
5.5 or 11.0 ??

What is the expected output? What do you see instead?

Can this strange behaviour be fixed?

What version of the product are you using? On what operating system?
0.4.5c

Please provide any additional information below.

Original issue reported on code.google.com by Steve6375 on 1 May 2013 at 7:11

GoogleCodeExporter commented 9 years ago
The max name length is 11.
so 1234567.890 Will work..

Original comment by chenall.cn on 2 May 2013 at 1:43

GoogleCodeExporter commented 9 years ago
OK - I found the problem!!!!

I was typing 
insmod /123 <tab)

the command line was

insmod /1234567.890<space>

this gives - filename too long error

if I remove the <space> at the end then

insmod /1234567.890

works.

So parser is not removing whitespace after filename!
This is a bug!

Is there any chance to have longer filenames? I use .g4b file extension so this 
means I only have 7 characters for the batch file name.
Thanks

Original comment by Steve6375 on 2 May 2013 at 8:46

GoogleCodeExporter commented 9 years ago
Thanks,that is a bug...

Original comment by chenall.cn on 12 May 2013 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by chenall.cn on 12 May 2013 at 3:29