mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r3292: 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.
(This used to be commit 96baa5bb6c
)
This commit is contained in:
parent
6f12b26cb7
commit
e53aa4700f
@ -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)));
|
||||
}
|
||||
|
@ -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.*)
|
||||
|
Loading…
Reference in New Issue
Block a user