This forum has been archived. All content is frozen. Please use KDE Discuss instead.

geoip.dat file case issues

Tags: None
(comma "," separated)
imported4-mrjoel
Registered Member
Posts
1
Karma
0

geoip.dat file case issues

Mon Sep 04, 2006 4:28 am
When searching for the "geoip.dat" file, it would be nice if ktorrent also tried to open "GeoIP.dat" as well, since that is the capitalization on the file when directly downloaded from MaxMind.
J
Registered Member
Posts
86
Karma
0

Mon Sep 04, 2006 8:01 am
Why not just rename "GeoIP.dat" to "geoip.dat"? Or if you're using wget, try the "-O filename" switch.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Mon Sep 04, 2006 2:22 pm
It can be easily renamed, but code can be just as easily changed to try capital letters too.

I'll change this, no worries.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Mon Sep 04, 2006 3:49 pm
Ok, it's changed. KTorrent will try to load geoip.dat and if it's not found it'll try with capital letters too - GeoIP.dat.

Changes are in SVN trunk so you are free to test it.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft