[PATCH] Fix configure warning on FreeBSD

Bryan Drewery bdrewery at FreeBSD.org
Sat Feb 22 02:12:54 EST 2014


Hi,

Please commit the attached, it fixes a warning on FreeBSD:
    ./configure: ],: not found

Mirrored here:
https://github.com/bdrewery/openssh-portable/commit/5860048c64fd41005697473d4985efa454a191c5.patch

Thanks!
Bryan Drewery
-------------- next part --------------
commit 5860048c64fd41005697473d4985efa454a191c5
Author: Bryan Drewery <bryan at shatow.net>
Date:   Fri Feb 21 09:08:41 2014 -0600

    Remove stray ], in SANDBOX_SKIP_RLIMIT_NOFILE AC_DEFINE

diff --git configure.ac configure.ac
index 0dd3f45..3e522e5 100644
--- configure.ac
+++ configure.ac
@@ -785,7 +785,7 @@ mips-sony-bsd|mips-sony-newsos4)
 	# Preauth crypto occasionally uses file descriptors for crypto offload
 	# and will crash if they cannot be opened.
 	AC_DEFINE([SANDBOX_SKIP_RLIMIT_NOFILE], [1],
-	    [define if setrlimit RLIMIT_NOFILE breaks things])],
+	    [define if setrlimit RLIMIT_NOFILE breaks things])
 	;;
 *-*-bsdi*)
 	AC_DEFINE([SETEUID_BREAKS_SETUID])
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20140221/e849a96c/attachment.bin>


More information about the openssh-unix-dev mailing list