瀏覽代碼

Revert "Fix #307"

This reverts commit fee2c339cc.
master
Arun Prakash Jana 5 年之前
父節點
當前提交
83bf689058
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c 查看文件

@@ -1193,7 +1193,7 @@ static bool batch_rename(const char *path)
int fd1, fd2, i;
uint count = 0, lines = 0;
bool dir = FALSE, ret = FALSE;
const char renamecmd[] = "paste -d'\n' %s %s | xargs -n2 -n2 mv 2>/dev/null";
const char renamecmd[] = "paste -d'\n' %s %s | xargs -d'\n' -n2 mv 2>/dev/null";
char foriginal[TMP_LEN_MAX] = {0};
char buf[sizeof(renamecmd) + (PATH_MAX << 1)];



Loading…
取消
儲存