search for: max_zero_retry

Displaying 1 result from an estimated 1 matches for "max_zero_retry".

1999 Jun 15
0
FIX for smbtar zero length files... (Cont :)
...- --- samba-2.0.3/source/client/clitar.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 (...