From: Todd C. Miller Date: Thu, 17 Nov 2016 15:11:01 +0000 (-0700) Subject: Remove obsolete solaris issue with snprintf X-Git-Tag: SUDO_1_8_19^2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80217f0bbc460ca4739b261a9bac721cd92536b2;p=sudo Remove obsolete solaris issue with snprintf --- diff --git a/doc/TROUBLESHOOTING b/doc/TROUBLESHOOTING index 1f2e7fbff..6ec6b8cb8 100644 --- a/doc/TROUBLESHOOTING +++ b/doc/TROUBLESHOOTING @@ -169,15 +169,6 @@ A) configure caches the results of its tests in a file called Note that "make realclean" will also remove any object files and configure temp files that are laying around as well. -Q) I built sudo on a Solaris >= 2.6 machine but the resulting binary - doesn't work on Solaris <= 2.5.1. Why? -A) Starting with Solaris 2.6, snprintf(3) is included in the standard - C library. To build a version of sudo on a >= 2.6 machine that - will run on a <= 2.5.1 machine, edit config.h and comment out the lines: - #define HAVE_SNPRINTF 1 - #define HAVE_VSNPRINTF 1 - and run make. - Q) I built sudo on a Solaris 11 (or higher) machine but the resulting binary doesn't work older Solaris versions. Why?