ObjFW  Diff

Differences From Artifact [8f66089176]:

To Artifact [89f5c5d688]:


632
633
634
635
636
637
638

639

640







641
642
643
644
645
646
647
632
633
634
635
636
637
638
639
640
641

642
643
644
645
646
647
648
649
650
651
652
653
654
655







+

+
-
+
+
+
+
+
+
+







				       errNo: errno];
		}
	} else {
		struct _utimbuf times = {
			(time_t)timeInterval,
			(time_t)timeInterval
		};
		int status;

		if ([OFSystemInfo isWindowsNT])
		if (_wutime([path UTF16String], &times) != 0) {
			status = _wutime([path UTF16String], &times);
		else
			status = _utime(
			    [path cStringWithEncoding: [OFLocale encoding]],
			    &times);

		if (status != 0) {
			of_file_attribute_key_t failedAttribute =
			    of_file_attribute_key_modification_date;

			@throw [OFSetItemAttributesFailedException
			    exceptionWithURL: URL
				  attributes: attributes
			     failedAttribute: failedAttribute