Displaying 2 results from an estimated 2 matches for "padit".
Did you mean:
adit
1997 Jul 24
0
smbclient, tar, and exclude
...at(exclaim, "\\");
strcat(exclaim, finfo->name);
--- 1143,1148 ----
*** proto.h Thu Jul 24 14:32:28 1997
--- proto.h.new Thu Jul 24 10:56:09 1997
***************
*** 50,56 ****
/*The following definitions come from clitar.c */
- int strslashcmp(char *s1,char *s2);
int padit(char *buf, int bufsize, int padsize);
void cmd_block(void);
void cmd_tarmode(void);
--- 50,55 ----
2002 Dec 20
1
smbclient and large file support
...n't get entire file */
if (nread < finfo.size) {
- DEBUG(0, ("Didn't get entire file. size=%d, nread=%d\n", (int)finfo.size, (int)nread));
+ DEBUG(0, ("Didn't get entire file. size=%.0f, nread=%d\n", (double)finfo.size, (int)nread));
if (padit(data, sizeof(data), finfo.size - nread))
DEBUG(0,("Error writing tar file - %s\n", strerror(errno)));
}
@@ -789,8 +791,8 @@
if (tar_noisy)
{
- DEBUG(0, ("%10d (%7.1f kb/s) %s\n",
- (int)finfo.size, finfo.size / MAX(0.001, (1.024*this_time)),
+...