Bug 3989 - MojoSetup slows down when using points in filenames
Status: RESOLVED FIXED
Alias: None
Product: MojoSetup
Classification: Unclassified
Component: Everything
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Ryan C. Gordon
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2009-02-26 16:33 EST by Reto Schneider
Modified: 2022-05-20 13:55:18 EDT
0 users

See Also:


Attachments
Patch for MojoSetup slowdown on filenames with points (1.09 KB, patch)
2009-02-26 16:34 EST, Reto Schneider

Description Reto Schneider 2009-02-26 16:33:28 EST
MojoSetup doesn't recognize the suffix of filenames when there are any point inside the filename (eg. glest-data_3.2.1.tar). MojoSetup tries every single archive format until it finds the correct one. This takes a lot of time.

I'll attach a patch that enables MojoSetup to search a little bit harder to find the correct suffix.
Comment 1 Reto Schneider 2009-02-26 16:34:58 EST
Created attachment 1983 [details]
Patch for MojoSetup slowdown on filenames with points
Comment 2 Ryan C. Gordon 2009-05-09 02:24:20 EDT
Should be fixed in hg changeset 671:ab9a0b4883fa.

--ryan.
Comment 3 Ryan C. Gordon 2022-05-20 13:55:18 EDT
This bug report has migrated to our GitHub issue tracker:

https://github.com/icculus/mojosetup/issues/53