summaryrefslogtreecommitdiff
path: root/navit/script/mapextract.php
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@users.noreply.github.com>2018-08-29 23:01:31 -0700
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2018-08-29 23:01:31 -0700
commitb52b58f8931c81b4d36677405780eac25835d803 (patch)
tree85d60241735ec8ab64f073d67c74cd003714736d /navit/script/mapextract.php
parent8bfc53427cae358a6b747f9c71d91bcc78e8dd65 (diff)
downloadnavit-b52b58f8931c81b4d36677405780eac25835d803.tar.gz
cleanup:scripts:Fix condefactor complaints (#646)
Diffstat (limited to 'navit/script/mapextract.php')
-rw-r--r--navit/script/mapextract.php60
1 files changed, 30 insertions, 30 deletions
diff --git a/navit/script/mapextract.php b/navit/script/mapextract.php
index 0e114c746..84ca21b22 100644
--- a/navit/script/mapextract.php
+++ b/navit/script/mapextract.php
@@ -41,38 +41,38 @@ $files['output'] = 'myarea.bin';
$formats = array();
$formats['ziphpack'] = "lssssslLLSS";
-$formats['zipheader'] = "l" . "ziplocsig"; # Signature (is always the same)
-$formats['zipheader'] .= "/s" . "zipver"; # zip version needed
-$formats['zipheader'] .= "/s" . "zipgenfld";# type of os that generated the file
-$formats['zipheader'] .= "/s" . "zipmthd"; #
-$formats['zipheader'] .= "/s" . "ziptime"; # time
-$formats['zipheader'] .= "/s" . "zipdate"; # date
-$formats['zipheader'] .= "/l" . "zipcrc"; # crc checksum
-$formats['zipheader'] .= "/L" . "zipsize"; # data size
-$formats['zipheader'] .= "/L" . "zipuncmp"; # uncompressed size
-$formats['zipheader'] .= "/S" . "zipfnln"; # length of filename
-$formats['zipheader'] .= "/S" . "zipxtraln";# length of extra data (always 0)
+$formats['zipheader'] = "lziplocsig"; # Signature (is always the same)
+$formats['zipheader'] .= "/szipver"; # zip version needed
+$formats['zipheader'] .= "/szipgenfld";# type of os that generated the file
+$formats['zipheader'] .= "/szipmthd"; #
+$formats['zipheader'] .= "/sziptime"; # time
+$formats['zipheader'] .= "/szipdate"; # date
+$formats['zipheader'] .= "/lzipcrc"; # crc checksum
+$formats['zipheader'] .= "/Lzipsize"; # data size
+$formats['zipheader'] .= "/Lzipuncmp"; # uncompressed size
+$formats['zipheader'] .= "/Szipfnln"; # length of filename
+$formats['zipheader'] .= "/Szipxtraln";# length of extra data (always 0)
$formats['zipcd'] = "".
- "i" . "zipcensig/".
- "c" . "zipcver/".
- "c" . "zipcos/".
- "c" . "zipcvxt/".
- "c" . "zipcexos/".
- "s" . "zipcflg/".
- "s" . "zipcmthd/".
- "s" . "ziptim/".
- "s" . "zipdat/".
- "i" . "zipccrc/".
- "I" . "zipcsiz/".
- "I" . "zipcunc/".
- "S" . "zipcfnl/".
- "S" . "zipcxtl/".
- "S" . "zipccml/".
- "S" . "zipdsk/".
- "S" . "zipint/".
- "I" . "zipext/".
- "I" . "zipofst/".
+ "izipcensig/".
+ "czipcver/".
+ "czipcos/".
+ "czipcvxt/".
+ "czipcexos/".
+ "szipcflg/".
+ "szipcmthd/".
+ "sziptim/".
+ "szipdat/".
+ "izipccrc/".
+ "Izipcsiz/".
+ "Izipcunc/".
+ "Szipcfnl/".
+ "Szipcxtl/".
+ "Szipccml/".
+ "Szipdsk/".
+ "Szipint/".
+ "Izipext/".
+ "Izipofst/";
$formats['zipcdpack'] = "iccccssssiIISSSSSII";
$formats['zipcontent'] = "i5x/i5y/ii";