ObjFW  Check-in [51dfaf9042]

Overview
Comment:OFFileIRIHandler: Fix missing variable on Haiku
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 51dfaf90429e566cab2b6d7457c417cf53c068328000d463fab3f8fa99019e82
User & Date: js on 2024-04-14 18:55:45
Other Links: manifest | tags
Context
2024-04-14
21:28
configure: Use awk to find strings in binaries check-in: 15dc72eb33 user: js tags: trunk
18:55
OFFileIRIHandler: Fix missing variable on Haiku check-in: 51dfaf9042 user: js tags: trunk
17:42
Update ChangeLog for 1.1.1 check-in: 414f82bf85 user: js tags: trunk
Changes

Modified src/OFFileIRIHandler.m from [f8ff31676a] to [ef59c89349].

1994
1995
1996
1997
1998
1999
2000

2001
2002
2003
2004
2005
2006
2007
		@throw [OFSetItemAttributesFailedException
		    exceptionWithIRI: IRI
			  attributes: [OFDictionary dictionary]
		     failedAttribute: @""
			       errNo: errNo];
	}
# elif defined(OF_HAIKU)

	int fd;

	if ((fd = open(cPath, O_WRONLY)) == -1) {
		int errNo = errno;

		/* TODO: Add an attribute (prefix?) for extended attributes? */
		@throw [OFSetItemAttributesFailedException







>







1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
		@throw [OFSetItemAttributesFailedException
		    exceptionWithIRI: IRI
			  attributes: [OFDictionary dictionary]
		     failedAttribute: @""
			       errNo: errNo];
	}
# elif defined(OF_HAIKU)
	const char *cName = [name cStringWithEncoding: encoding];
	int fd;

	if ((fd = open(cPath, O_WRONLY)) == -1) {
		int errNo = errno;

		/* TODO: Add an attribute (prefix?) for extended attributes? */
		@throw [OFSetItemAttributesFailedException