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

 
 

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

Submitter:  Kai Antweiler <snth>
Submitted:  Sat 15 Apr 2006 05:11:12 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  None Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-16 snth StatusNeed Info Fixed
    Open/ClosedOpen Closed
2006-04-15 snth StatusWorks For Me Need Info
2006-04-15 k776 StatusNone Works For Me

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code