1
1
diff -dur a/mac_alias/alias.py b/mac_alias/alias.py
2
- --- a/mac_alias/alias.py 2015-10-19 12:12:48.000000000 +0200
3
- +++ b/mac_alias/alias.py 2016-04-03 12:13:12.037159417 +0200
4
- @@ -243 ,10 +243 ,10 @@
2
+ --- a/mac_alias/alias.py
3
+ +++ b/mac_alias/alias.py
4
+ @@ -258 ,10 +258 ,10 @@
5
5
alias = Alias()
6
6
alias.appinfo = appinfo
7
7
@@ -14,7 +14,7 @@ diff -dur a/mac_alias/alias.py b/mac_alias/alias.py
14
14
folder_cnid, cnid,
15
15
crdate, creator_code, type_code)
16
16
alias.target.levels_from = levels_from
17
- @@ -261 ,9 +261 ,9 @@
17
+ @@ -276 ,9 +276 ,9 @@
18
18
b.read(1)
19
19
20
20
if tag == TAG_CARBON_FOLDER_NAME:
@@ -26,7 +26,7 @@ diff -dur a/mac_alias/alias.py b/mac_alias/alias.py
26
26
value)
27
27
elif tag == TAG_CARBON_PATH:
28
28
alias.target.carbon_path = value
29
- @@ -298 ,9 +298 ,9 @@
29
+ @@ -313 ,9 +313 ,9 @@
30
30
alias.target.creation_date \
31
31
= mac_epoch + datetime.timedelta(seconds=seconds)
32
32
elif tag == TAG_POSIX_PATH:
@@ -38,23 +38,7 @@ diff -dur a/mac_alias/alias.py b/mac_alias/alias.py
38
38
elif tag == TAG_RECURSIVE_ALIAS_OF_DISK_IMAGE:
39
39
alias.volume.disk_image_alias = Alias.from_bytes(value)
40
40
elif tag == TAG_USER_HOME_LENGTH_PREFIX:
41
- @@ -422,13 +422,13 @@
42
- # (so doing so is ridiculous, and nothing could rely on it).
43
- b.write(struct.pack(b'>h28pI2shI64pII4s4shhI2s10s',
44
- self.target.kind,
45
- - carbon_volname, voldate,
46
- + carbon_volname, int(voldate),
47
- self.volume.fs_type,
48
- self.volume.disk_type,
49
- self.target.folder_cnid,
50
- carbon_filename,
51
- self.target.cnid,
52
- - crdate,
53
- + int(crdate),
54
- self.target.creator_code,
55
- self.target.type_code,
56
- self.target.levels_from,
57
- @@ -449,12 +449,12 @@
41
+ @@ -467,12 +467,12 @@
58
42
59
43
b.write(struct.pack(b'>hhQhhQ',
60
44
TAG_HIGH_RES_VOLUME_CREATION_DATE,
0 commit comments