ObjFW  Check-in [9c9dc239ba]

Overview
Comment:ofhttp: Don't limit setting xattr to Linux
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9c9dc239ba1b555685f7ed1d60ff8a8e1334a15348fc332d5cc6cc73928be567
User & Date: js on 2024-04-09 19:59:49
Other Links: manifest | tags
Context
2024-04-13
08:12
Add objfw-config file for ObjFWTLS check-in: f7a3b5739b user: js tags: trunk
2024-04-09
19:59
ofhttp: Don't limit setting xattr to Linux check-in: 9c9dc239ba user: js tags: trunk
19:35
OFObject: Use posix_memalign() on Solaris check-in: f6afff33eb user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [773e6afc2d] to [530fc4ed76].

985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
			    @"filename", _currentFileName,
			    @"exception", e)];

			_errorCode = 1;
			goto next;
		}

#ifdef OF_LINUX
		@try {
			OFString *IRIString = request.IRI.string;
			OFData *downloadedFromData = [OFData
			    dataWithItems: IRIString.UTF8String
				    count: IRIString.UTF8StringLength + 1];
			[[OFFileManager defaultManager]
			    setExtendedAttributeData: downloadedFromData







|







985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
			    @"filename", _currentFileName,
			    @"exception", e)];

			_errorCode = 1;
			goto next;
		}

#ifdef OF_FILE_MANAGER_SUPPORTS_EXTENDED_ATTRIBUTES
		@try {
			OFString *IRIString = request.IRI.string;
			OFData *downloadedFromData = [OFData
			    dataWithItems: IRIString.UTF8String
				    count: IRIString.UTF8StringLength + 1];
			[[OFFileManager defaultManager]
			    setExtendedAttributeData: downloadedFromData