r3292: A fix from Narayana Pattipati <narayana[dot]pattipati[at]wipro\dotty/com...
authorRichard Sharpe <sharpe@samba.org>
Wed, 27 Oct 2004 17:03:09 +0000 (17:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:04 +0000 (10:53 -0500)
Solaris to ensure we distinguish properly between 5.1 and 5.10.
(This used to be commit 96baa5bb6c908fa5e870d86d3f380fd368ada658)

source3/client/client.c
source3/configure.in

index c2fec17d7ec2ebcfdaaac9104423f586d9e05c9e..311eaef8f21156937b7af9ded4cff97d56ffad21 100644 (file)
@@ -701,7 +701,7 @@ static int do_get(char *rname, char *lname, BOOL reget)
                return 1;
        }
 
-       DEBUG(2,("getting file %s of size %.0f as %s ", 
+       DEBUG(1,("getting file %s of size %.0f as %s ", 
                 rname, (double)size, lname));
 
        if(!(data = (char *)malloc(read_size))) { 
@@ -758,7 +758,7 @@ static int do_get(char *rname, char *lname, BOOL reget)
                get_total_time_ms += this_time;
                get_total_size += nread;
                
-               DEBUG(2,("(%3.1f kb/s) (average %3.1f kb/s)\n",
+               DEBUG(1,("(%3.1f kb/s) (average %3.1f kb/s)\n",
                         nread / (1.024*this_time + 1.0e-4),
                         get_total_size / (1.024*get_total_time_ms)));
        }
index df787655590816aae6e8d965fbc7f17b350b38d4..83d12d5c904accb377191f0d0f0854ce98f3118f 100644 (file)
@@ -460,7 +460,7 @@ case "$host_os" in
        *solaris*)
                AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility])
                case `uname -r` in
-                       5.0*|5.1*|5.2*|5.3*|5.5*)
+                       5.0|5.0.*|5.1|5.1.*|5.2|5.2.*|5.3|5.3.*|5.5|5.5.*)
                                AC_MSG_RESULT([no large file support])
                                ;;
                        5.*)