search for: tp_start

Displaying 4 results from an estimated 4 matches for "tp_start".

Did you mean: t_start
1999 Jun 15
0
FIX for smbtar zero length files... (Cont :)
...r.c.orig Sat Feb 27 16:08:59 1999 +++ samba-2.0.3/source/client/clitar.c Tue Jun 15 08:35:40 1999 @@ -629,6 +629,9 @@ char data[65520]; int read_size = 65520; int datalen=0; + /* Zero Byte Error retry setup */ + int zero_retry=0; + int max_zero_retry=5; struct timeval tp_start; GetTimeOfDay(&tp_start); @@ -717,6 +720,8 @@ /* write a tar header, don't bother with mode - just set to 100644 */ writetarheader(tarhandle, rname, finfo.size, finfo.mtime, "100644 \0", ftype); + zero_retry=0; + while (nread < finfo.size &&amp...
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
...********************************************************* get a file from rname to lname @@ -480,6 +500,11 @@ uint16 attr; size_t size; off_t nread = 0; + /* s.n. Tue Apr 6 21:53:25 1999 */ +#if 0 + time_t c_time, a_time, m_time, w_time; +#endif + struct utimbuf utb; GetTimeOfDay(&tp_start); @@ -506,6 +531,18 @@ } + /* s.n. Tue Apr 6 21:54:47 1999, to `keep' atime and mtime */ + /* Win98 returns 0's for [cam]_time etc. */ +#if 0 + if (!cli_qfileinfo(cli, fnum, + &attr, &size, &c_time, &a_time, &m_time, &w_time, + NULL) && +...
2003 Dec 01
0
No subject
...chive_level = 0; @@ -77,6 +82,8 @@ mode_t myumask = 0755; BOOL prompt = True; +BOOL hash = False; +BOOL tick = False; int printmode = 1; @@ -651,6 +658,7 @@ uint16 attr; size_t size; off_t nread = 0; + off_t hashbytes = HASHBYTES; GetTimeOfDay(&tp_start); @@ -703,10 +711,29 @@ DEBUG(0,("Error writing local file\n")); break; } - + + if (hash) { + while (nread >= hashbytes) { + (void) putch...
2003 Dec 01
0
No subject
...time_t newer_than = 0; int archive_level = 0; @@ -77,6 +82,8 @@ mode_t myumask = 0755; BOOL prompt = True; +BOOL hash = False; +BOOL tick = False; int printmode = 1; @@ -651,6 +658,7 @@ uint16 attr; size_t size; off_t nread = 0; + off_t hashbytes = HASHBYTES; GetTimeOfDay(&tp_start); @@ -703,10 +711,29 @@ DEBUG(0,("Error writing local file\n")); break; } - + + if (hash) { + while (nread >= hashbytes) { + (void) putchar('#'); + hashbytes += HASHBYTES; + } + (void) fflush(stdout); + } + if (tick && (nread...