search for: unoct

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

Did you mean: noct
1998 Apr 12
0
Long file name support for smbclient
...buf.linkflag == 0) { + char *bp; + long tar_size; + switch (hb->dbuf.linkflag) { + case 0: DEBUG(6, ("Warning: NULL link flag (gnu tar archive ?) %s\n", - finfo->name)); - } else { + finfo->name)); + break; + case 'L': + tar_size=unoct(hb->dbuf.size, sizeof(hb->dbuf.size)) + 1; + if ((bp=(char *) malloc((size_t) tar_size )) == NULL) { + DEBUG(0, ("Out of memory!")); + return -1; + } + memcpy((void *) bp, (const void *) hb+TBLOCK, (size_t) tar_size); + long_file_name=bp; + ret...