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 Priority:  5 - Normal
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Operating System:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

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

History

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.16-2753.
Corresponding source code