version 1.30, 2014/07/05 07:22:18 |
version 1.31, 2014/07/05 07:39:18 |
|
|
case S_IFLNK: |
case S_IFLNK: |
case S_IFCHR: |
case S_IFCHR: |
case S_IFBLK: |
case S_IFBLK: |
#ifdef S_IFSOCK |
|
case S_IFSOCK: |
case S_IFSOCK: |
#endif |
|
#ifdef S_IFIFO |
|
case S_IFIFO: |
case S_IFIFO: |
#endif |
|
if (unlink(target) < 0) { |
if (unlink(target) < 0) { |
if (errno == ETXTBSY) { |
if (errno == ETXTBSY) { |
if (!silent) |
if (!silent) |
|
|
case S_IFLNK: |
case S_IFLNK: |
case S_IFDIR: |
case S_IFDIR: |
case S_IFREG: |
case S_IFREG: |
#ifdef notyet |
|
case S_IFCHR: |
|
case S_IFBLK: |
|
#ifdef S_IFSOCK |
|
case S_IFSOCK: |
|
#endif |
|
#ifdef S_IFIFO |
|
case S_IFIFO: |
|
#endif |
|
#endif |
|
(void) sendcmd(QC_YES, "%lld %lld %o %s %s", |
(void) sendcmd(QC_YES, "%lld %lld %o %s %s", |
(long long) stb.st_size, |
(long long) stb.st_size, |
(long long) stb.st_mtime, |
(long long) stb.st_mtime, |