Files in .wmf files have no timestamps

Bug #1568457 reported by Klaus Halfmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Low
Unassigned

Bug Description

When expanding some .wmf file I found that the .zip file systems has
no timestamps but (look like) Unix 0 seconds:

 ls -l maps/all_types.wmf
drwxr-xr-x 6 klaus staff 204 31 Dez 1979 binary
-rw-r--r-- 1 klaus staff 209 31 Dez 1979 elemental
-rw-r--r-- 1 klaus staff 211 31 Dez 1979 minimap.png
-rw-r--r-- 1 klaus staff 96 31 Dez 1979 objective
-rw-r--r-- 1 klaus staff 165 31 Dez 1979 player_names
-rw-r--r-- 1 klaus staff 113 31 Dez 1979 player_position
-rw-r--r-- 1 klaus staff 137 31 Dez 1979 port_spaces
drwxr-xr-x 2 klaus staff 68 31 Dez 1979 scripting
-rw-r--r-- 1 klaus staff 273 31 Dez 1979 version

Expected: all files and folder get the timestamp when they where last touched

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

@Admins: Im just starting to create some testsuite.
So expect me to create more such minor Bugs.

Perhaps you should setup a milestone RC20 now, as this does not need an immeditate fix?

Changed in widelands:
importance: Undecided → Low
Revision history for this message
kaputtnik (franku) wrote :

I couldn't confirm this on arch-linux. Newly created maps have actual timestamps. I tested:

1. Saving a map with widelands (option zip files on)
2. Unzip the previous saved map by an external program
3. Saving a map with widelands (option zip files off)

All created files have the actual timestamp.

Revision history for this message
GunChleoc (gunchleoc) wrote :

You can work on this without a milestone ;)

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

OK, I use OSX, with libraries from MacPorts, but AFIK we use src/third_party/minizip/ so that should be OS-Independent.

Revision history for this message
kaputtnik (franku) wrote :

I couldn't confirm this also under Win7 32bit with option "Compress data files..." unmarked.
Klaus, have all map files this timestamp on your maschine?

Having a milestone for build 20 would be fine, but i think we should add this milestone tag if there is a feature freeze for build19.

Revision history for this message
Tino (tino79) wrote :

I can confirm this on Windows 10:
If I open a savegame.wgf or a saved map map.wmf 7-Zip shows no timestamp for "Last access","Changed on" and "Created on" for every file in the archive.

Of cource if you uncompress one of the archives or choose not to compress the files in widelands every file has a timestamp, the OS file system takes care of that.

Revision history for this message
Tino (tino79) wrote :

If i rename a widelands.wmf file to widelands.zip the Windows Explorer (should be able to handle standard zips) only shows an empty archive.
Also I've always wondered why every widelands archive contains an unnamed root folder.

Changed in widelands:
status: New → Confirmed
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.