Author: sharpe
Date: 2004-10-27 17:03:09 +0000 (Wed, 27 Oct 2004)
New Revision: 3292

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=3292&nolog=1

Log:

A fix from  Narayana Pattipati <narayana[dot]pattipati[at]wipro\dotty/com> for
Solaris to ensure we distinguish properly between 5.1 and 5.10.


Modified:
   branches/SAMBA_3_0/source/client/client.c
   branches/SAMBA_3_0/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/client/client.c
===================================================================
--- branches/SAMBA_3_0/source/client/client.c   2004-10-27 15:40:19 UTC (rev 3291)
+++ branches/SAMBA_3_0/source/client/client.c   2004-10-27 17:03:09 UTC (rev 3292)
@@ -701,7 +701,7 @@
                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 @@
                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)));
        }

Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in      2004-10-27 15:40:19 UTC (rev 3291)
+++ branches/SAMBA_3_0/source/configure.in      2004-10-27 17:03:09 UTC (rev 3292)
@@ -460,7 +460,7 @@
        *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.*)

Reply via email to