* samba/lib/system.c (sys_ftruncate): Commented out.
* samba/lib/util.c (set_filelen): Likewise. (setbuffer): Likewise.
Этот коммит содержится в:
родитель
dabc54bbcd
Коммит
d3aceae9f7
@ -11,6 +11,10 @@
|
||||
(smbfs_stat): Remove code duplication.
|
||||
(smbfs_lstat): Define as smbfs_stat.
|
||||
|
||||
* samba/lib/system.c (sys_ftruncate): Commented out.
|
||||
* samba/lib/util.c (set_filelen): Likewise.
|
||||
(setbuffer): Likewise.
|
||||
|
||||
2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
|
||||
|
||||
* cpio.c (cpio_read_oldc_head): Use char[] for buf instead
|
||||
|
@ -203,12 +203,12 @@ int sys_lstat(const char *fname,SMB_STRUCT_STAT *sbuf)
|
||||
/*******************************************************************
|
||||
An ftruncate() wrapper that will deal with 64 bit filesizes.
|
||||
********************************************************************/
|
||||
|
||||
#if 0
|
||||
int sys_ftruncate(int fd, SMB_OFF_T offset)
|
||||
{
|
||||
return ftruncate(fd, offset);
|
||||
}
|
||||
|
||||
#endif
|
||||
/*******************************************************************
|
||||
An lseek() wrapper that will deal with 64 bit filesizes.
|
||||
********************************************************************/
|
||||
|
@ -1594,7 +1594,7 @@ BOOL yesno(char *p)
|
||||
|
||||
return(False);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
set the length of a file from a filedescriptor.
|
||||
@ -1654,7 +1654,7 @@ this is a version of setbuffer() for those machines that only have setvbuf
|
||||
setvbuf(f,buf,_IOFBF,bufsize);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* 0 */
|
||||
|
||||
/****************************************************************************
|
||||
parse out a filename from a path name. Assumes dos style filenames.
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user