ObjFW  Check-in [9b50999d63]

Overview
Comment:Re-enable UNIX sockets on Hurd

They partially work and it would be better to have support included in
ObjFW 1.0. Once Hurd gets fixed, they will magically work then without
requiring a new ObjFW release.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9b50999d633daa8173e778e084bfdf168faa1fdc1c3991293795fac85af7a705
User & Date: js on 2023-08-22 15:46:54
Other Links: manifest | tags
Context
2023-08-22
16:16
Don't require a regular file to init an object check-in: 8471999204 user: js tags: trunk
15:46
Re-enable UNIX sockets on Hurd check-in: 9b50999d63 user: js tags: trunk
15:19
-[fileExistsAtPath:]: Don't require S_ISREG check-in: 140b7d93e3 user: js tags: trunk
Changes

Modified PLATFORMS.md from [1aba75e60e] to [904253e6a5].

62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
GNU/Hurd
--------

  * OS Versions: 0.9
  * Architectures: i686
  * Compilers: Clang 14.0.6
  * Runtimes: ObjFW
  * Limitations: No support for UNIX sockets (`AF_UNIX` with `SOCK_DGRAM` is
                 currently broken in Hurd)


Haiku
-----

  * OS version: r1-alpha4
  * Architectures: x86







<
<







62
63
64
65
66
67
68


69
70
71
72
73
74
75
GNU/Hurd
--------

  * OS Versions: 0.9
  * Architectures: i686
  * Compilers: Clang 14.0.6
  * Runtimes: ObjFW




Haiku
-----

  * OS version: r1-alpha4
  * Architectures: x86

Modified configure.ac from [47dc4b89ca] to [14f4b65308].

1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
		#ifdef __morphos__
		# error MorphOS has the struct but does not support it
		#endif

		#ifdef __MINT__
		# error Gives invalid argument at runtime
		#endif

		#ifdef __gnu_hurd__
		# error Empty sun_path in the source given by recvfrom()
		#endif
	])

	AC_CHECK_HEADER(netipx/ipx.h, [
		AC_DEFINE(OF_HAVE_NETIPX_IPX_H, 1,
			[Whether we have netipx/ipx.h])
	])
	AC_CHECK_MEMBER(struct sockaddr_ipx.sipx_network, [], [







<
<
<
<







1524
1525
1526
1527
1528
1529
1530




1531
1532
1533
1534
1535
1536
1537
		#ifdef __morphos__
		# error MorphOS has the struct but does not support it
		#endif

		#ifdef __MINT__
		# error Gives invalid argument at runtime
		#endif




	])

	AC_CHECK_HEADER(netipx/ipx.h, [
		AC_DEFINE(OF_HAVE_NETIPX_IPX_H, 1,
			[Whether we have netipx/ipx.h])
	])
	AC_CHECK_MEMBER(struct sockaddr_ipx.sipx_network, [], [