ObjFW  Diff

Differences From Artifact [6652b0186c]:

To Artifact [cefb3af267]:


435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
435
436
437
438
439
440
441



442
443
444
445
446
447
448







-
-
-







			[OFStdOut writeString: OF_LOCALIZED(@"adding_file",
			    @"Adding %[file]...",
			    @"file", fileName)];

		entry = [OFMutableZIPArchiveEntry entryWithFileName: fileName];

		size = (isDirectory ? 0 : attributes.fileSize);
		if (size < 0 || size > ULLONG_MAX)
			@throw [OFOutOfRangeException exception];

		entry.compressedSize = size;
		entry.uncompressedSize = size;

		entry.compressionMethod =
		    OFZIPArchiveEntryCompressionMethodNone;
		entry.modificationDate = attributes.fileModificationDate;