mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Please DO NOT use this version in production, it is an early test version. port-committers@ please DO NOT mark your ports IGNORE_WITH_PHP=82. A build is running to check all php ports with php82 and will be committed in batch tomorrow. Sponsored by: Bounce Experts
14 lines
1 KiB
C
14 lines
1 KiB
C
--- conversions.c.orig 2022-06-11 20:21:26 UTC
|
|
+++ conversions.c
|
|
@@ -1309,11 +1309,6 @@ static const field_descriptor descriptors_ucred[] = {
|
|
{"uid", sizeof("uid"), 1, offsetof(struct sockcred2, sc_euid), from_zval_write_uid_t, to_zval_read_uid_t},
|
|
/* the type gid_t is the same as uid_t: */
|
|
{"gid", sizeof("gid"), 1, offsetof(struct sockcred2, sc_egid), from_zval_write_uid_t, to_zval_read_uid_t},
|
|
-#elif defined(LOCAL_CREDS)
|
|
- {"pid", sizeof("pid"), 1, offsetof(struct sockcred, sc_pid), from_zval_write_pid_t, to_zval_read_pid_t},
|
|
- {"uid", sizeof("uid"), 1, offsetof(struct sockcred, sc_euid), from_zval_write_uid_t, to_zval_read_uid_t},
|
|
- /* the type gid_t is the same as uid_t: */
|
|
- {"gid", sizeof("gid"), 1, offsetof(struct sockcred, sc_egid), from_zval_write_uid_t, to_zval_read_uid_t},
|
|
#elif defined(ANC_CREDS_CMSGCRED)
|
|
{"pid", sizeof("pid"), 1, offsetof(struct cmsgcred, cmcred_pid), from_zval_write_pid_t, to_zval_read_pid_t},
|
|
{"uid", sizeof("uid"), 1, offsetof(struct cmsgcred, cmcred_uid), from_zval_write_uid_t, to_zval_read_uid_t},
|