The Samba-Bugzilla – Attachment 11942 Details for
Bug 11813
m4/socklen_t.m4 uses obsolete AC_TRY_COMPILE macro
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
trivial patch replacing obsolete macro with non-obsolete replacement
rsync-bug-11813.diff (text/plain), 762 bytes, created by
Brant Gurganus
on 2016-03-30 02:58:16 UTC
(
hide
)
Description:
trivial patch replacing obsolete macro with non-obsolete replacement
Filename:
MIME Type:
Creator:
Brant Gurganus
Created:
2016-03-30 02:58:16 UTC
Size:
762 bytes
patch
obsolete
>diff --git a/m4/socklen_t.m4 b/m4/socklen_t.m4 >index 831820c..99ca6d4 100644 >--- a/m4/socklen_t.m4 >+++ b/m4/socklen_t.m4 >@@ -18,15 +18,15 @@ AC_DEFUN([TYPE_SOCKLEN_T], > rsync_cv_socklen_t_equiv= > for arg2 in "struct sockaddr" void; do > for t in int size_t unsigned long "unsigned long"; do >- AC_TRY_COMPILE([ >+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ > #include <sys/types.h> > #include <sys/socket.h> > > int getpeername (int, $arg2 *, $t *); >- ],[ >+ ]],[[ > $t len; > getpeername(0,0,&len); >- ],[ >+ ]])],[ > rsync_cv_socklen_t_equiv="$t" > break > ])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11813
: 11942