ObjFW  Check-in [fca07c0c1b]

Overview
Comment:Implement -[temporaryDirectoryPath] for MS-DOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fca07c0c1b8cbf207e697e3560a3faf2124da25ac0c606552a7f440fcbd2e86e
User & Date: js on 2021-12-22 02:12:13
Other Links: manifest | tags
Context
2021-12-22
20:39
Only return CPUModel if cpuid supports it check-in: dec757bcc1 user: js tags: trunk
02:12
Implement -[temporaryDirectoryPath] for MS-DOS check-in: fca07c0c1b user: js tags: trunk
2021-12-19
03:24
Define EWOULDBLOCK to EAGAIN if it's missing check-in: 35f34deb0c user: js tags: trunk
Changes

Modified src/OFSystemInfo.m from [ddb7f4310a] to [95caf6d60f].

560
561
562
563
564
565
566


567
568
569
570
571
572
573
	    pathC, PATH_MAX) != B_OK)
		@throw [OFNotImplementedException exceptionWithSelector: _cmd
								 object: self];

	return [OFString stringWithUTF8String: pathC];
# elif defined(OF_AMIGAOS)
	return @"T:";


# else
	OFString *path =
	    [[OFApplication environment] objectForKey: @"XDG_RUNTIME_DIR"];

	if (path != nil)
		return path;








>
>







560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
	    pathC, PATH_MAX) != B_OK)
		@throw [OFNotImplementedException exceptionWithSelector: _cmd
								 object: self];

	return [OFString stringWithUTF8String: pathC];
# elif defined(OF_AMIGAOS)
	return @"T:";
# elif defined(OF_MSDOS)
	return [[OFApplication environment] objectForKey: @"TEMP"];
# else
	OFString *path =
	    [[OFApplication environment] objectForKey: @"XDG_RUNTIME_DIR"];

	if (path != nil)
		return path;