ObjFW  Check-in [050c869a7a]

Overview
Comment:OFURLHandler_file: Fix #ifdef inconsistency

This resulted in an error on 3DS / DS / Wii and Amiga.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 050c869a7a364f84e01970ed40473a356d5670788c42e3861812f383c00607b5
User & Date: js on 2019-04-16 22:15:06
Other Links: manifest | tags
Context
2019-04-20
20:34
objfw-config: Rename package_{description->format} check-in: a02aeca5a9 user: js tags: trunk
2019-04-16
22:15
OFURLHandler_file: Fix #ifdef inconsistency check-in: 050c869a7a user: js tags: trunk
2019-04-15
21:10
Use GetFileAttributesExW() instead of _wstat64() check-in: 2339bc3407 user: js tags: trunk
Changes

Modified src/OFURLHandler_file.m from [35b39e789f] to [a20f05e1cc].

618
619
620
621
622
623
624
625


626
627
628
629
630
631
632
618
619
620
621
622
623
624

625
626
627
628
629
630
631
632
633







-
+
+







	setTypeAttribute(ret, &s);

	[ret setObject: [NSNumber numberWithUInt16: s.st_mode & 07777]
		forKey: of_file_attribute_key_posix_permissions];

	setOwnerAndGroupAttributes(ret, &s);
	setDateAttributes(ret, &s);
#ifdef S_ISLNK

#ifdef OF_FILE_MANAGER_SUPPORTS_SYMLINKS
	if (S_ISLNK(s.st_mode))
		setSymbolicLinkDestinationAttribute(ret, URL);
#endif

	objc_autoreleasePoolPop(pool);

	return ret;