Bug 3865 - layout and map name, problem with case sensitive on linux.
Status: RESOLVED WORKSFORME
Alias: None
Product: Tremulous
Classification: Unclassified
Component: Admin system
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: BigGamer95
QA Contact: Tremulous Bugs
URL:
Depends on:
Blocks:
 
Reported: 2008-11-20 14:26 EST by BigGamer95
Modified: 2010-09-06 22:37:36 EDT
1 user (show)

See Also:


Attachments
bug fix (2.76 KB, patch)
2008-11-20 19:16 EST, BigGamer95

Description BigGamer95 2008-11-20 14:26:33 EST
layouts' name and maps' name are case sensitive on linux, and case insensitive on windows
there are lot of probleme with the case sensitive.
example :
(on linux)
on atcs :
!layoutsave XXX ==> XXX.dat  ...  !layoutsave xxx ==> xxx.dat
you haves 2 layouts : xxx and XXX
!listlayout ==> 1 layout : xxx (where is the other? nowhere for listlayout)
but with restart you can use xxx or XXX, it's 2 differents layout

now !map ATcs,  !listlayout ==> no layout found
these problems are only on linux

this patch make the layout/map name case insensitive, so it solve the problem.
only lower case, no more problem, layout system is exactly the same on linux and on windows with this patch.

http://www.invasion.c4.fr/up/BigGamer95_map_layout_lowercase.patch
Comment 1 BigGamer95 2008-11-20 14:28:46 EST
(bug fixed with the patch http://www.invasion.c4.fr/up/BigGamer95_map_layout_lowercase.patch )
Comment 2 Ben Millwood 2008-11-20 17:56:09 EST
Bugs are only marked as fixed when the patch (or some alternative) is committed :)
Comment 3 BigGamer95 2008-11-20 19:16:27 EST
Created attachment 1928 [details]
bug fix

bug fix
Comment 4 BigGamer95 2008-11-20 19:31:23 EST
(In reply to comment #2)
> Bugs are only marked as fixed when the patch (or some alternative) is committed
> :)
> 

ok thx benmachine ^^
(i add the patch as attachment, it's a better place that a comment i think)
Comment 5 M. Kristall 2009-05-04 02:57:10 EDT
(In reply to comment #0)
> maps' name are case sensitive on linux, and case insensitive
> on windows

I just verified that the zipfs stuff is properly case insensitive. Does this bug only affect real files (since from my tests, it does not affect files in a pk3)? Either way, this looks more like an ioquake3 bug than a Tremulous bug...
Comment 6 M. Kristall 2010-09-06 22:37:36 EDT
Nearly three times the time between the previous two comments have elapsed since the previous comment with no response.