ObjFW  Check-in [55149a21bb]

Overview
Comment:OFTarArchiveEntry: Add default modification date
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 55149a21bb1e23457788460c148cdfcfa27bd8dcd97ac1ace80d520a3ffa1699
User & Date: js on 2024-03-09 22:06:46
Other Links: manifest | tags
Context
2024-03-10
01:47
OFZooArchive: Zero-terminate directory & file name check-in: 08a06ee30d user: js tags: trunk
2024-03-09
22:06
OFTarArchiveEntry: Add default modification date check-in: ca40722732 user: js tags: 1.0
22:06
OFTarArchiveEntry: Add default modification date check-in: 55149a21bb user: js tags: trunk
21:31
Update ChangeLog for 1.0.11 check-in: d5814862d9 user: js tags: trunk
Changes

Modified src/OFTarArchiveEntry.m from [799d611075] to [0fb5ccb31f].

90
91
92
93
94
95
96

97
98
99
100
101
102
103
{
	self = [super init];

	@try {
		_type = OFTarArchiveEntryTypeFile;
		_POSIXPermissions =
		    [[OFNumber alloc] initWithUnsignedShort: 0644];

	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}







>







90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
	self = [super init];

	@try {
		_type = OFTarArchiveEntryTypeFile;
		_POSIXPermissions =
		    [[OFNumber alloc] initWithUnsignedShort: 0644];
		_modificationDate = [[OFDate alloc] init];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}