bugGlobulation 2 - Bugs: bug #16350, directories without the extention...

 
 

bug #16350: directories without the extention .map aren't listed in the choose map screen

Submitted by:  Kai Antweiler <snth>
Submitted on:  Sat 15 Apr 2006 05:11:12 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 16 Apr 2006 08:25:16 PM UTC, comment #4:

Fixed!
Thanks Kieran.

readdir returns a struct which among others contains d_type, but this d_type is not POSIX standard. It's not set by all systems.

# man 3 readdir
Says something like that.

Kai Antweiler <snth>
Project Administrator
Sun 16 Apr 2006 01:43:16 AM UTC, comment #3:

directory name | output in glob2
|
CVS | CVS
test | test
test.map | test.map
|

So the display was exactly the same as the folder I created.

Mandriva Linux 2006
gcc version 4.0.1 ( for Mandriva Linux release 2006.0)
Filesystem: ????
glob2: cvs

Kieran <k776>
Project Administrator
Sat 15 Apr 2006 10:53:59 PM UTC, comment #2:

I have skimmed through the code before posting this bug and found no reason for it.
Maybe this is architecture specific.
I'm using:
Linux version 2.6.16-gentoo-r1
gcc version 3.4.6 (Gentoo 3.4.6, ssp-3.4.5-1.0, pie-8.7.9)
Filesystem: reiserfs
glob2: cvs and 0.8.19
most of the system optimized for 64bit amd64

Was your test.map listed as test.map or as test?

Kai Antweiler <snth>
Project Administrator
Sat 15 Apr 2006 08:24:55 PM UTC, comment #1:

I've just tested it. directory CVS worked, test worked and test.map worked. I dont see any problem.

Kieran <k776>
Project Administrator
Sat 15 Apr 2006 05:11:12 PM UTC, original submission:

If I create a directory in ./glob2/maps and run glob2, the choose map screen of custom game does not list this directory.
(unless the directory has the extention .map, but in this case the extension is show.)

test/ will not be listed

test.map/ will be listed as: test.map/

Kai Antweiler <snth>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 16 Apr 2006 08:25:16 PM UTCsnthStatusNeed Info=>Fixed
  Open/ClosedOpen=>Closed
Sat 15 Apr 2006 10:53:59 PM UTCsnthStatusWorks For Me=>Need Info
Sat 15 Apr 2006 08:24:55 PM UTCk776StatusNone=>Works For Me

Back to the top


Powered by Savane 3.1-cleanup1