diff options
author | jozan <jozan@noemail.net> | 2020-11-15 16:24:21 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-15 16:24:21 +0000 |
commit | d08c2c074117f8171370a8d3e12f13a3e17d24f0 (patch) | |
tree | aa21a515374c6664d18cac50ebf3c95c82f91af2 /src/c_unixize.c | |
parent | Man in progress (diff) | |
download | unixize-d08c2c074117f8171370a8d3e12f13a3e17d24f0.tar.gz unixize-d08c2c074117f8171370a8d3e12f13a3e17d24f0.tar.bz2 unixize-d08c2c074117f8171370a8d3e12f13a3e17d24f0.tar.xz unixize-d08c2c074117f8171370a8d3e12f13a3e17d24f0.tar.zst unixize-d08c2c074117f8171370a8d3e12f13a3e17d24f0.zip |
A directory is now a required argument, for safety
FossilOrigin-Name: ff2d65680f254c7930990b40e3988f9b0443cd5dd58e852e5b13e0989de4d206
Diffstat (limited to 'src/c_unixize.c')
-rw-r--r-- | src/c_unixize.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/c_unixize.c b/src/c_unixize.c index b444ec3..84c4371 100644 --- a/src/c_unixize.c +++ b/src/c_unixize.c @@ -152,16 +152,16 @@ main ); } if (opts.pretend == FALSE) { - if (rename(og_files->filename, new_files->filename) == -1) { - dprintf( - STDERR_FILENO, - "unixize: rename %s to %s: %s\n", - og_files->filename, - new_files->filename, - strerror(errno) - ); - ret = 2; - } + /* if (rename(og_files->filename, new_files->filename) == -1) { */ + /* dprintf( */ + /* STDERR_FILENO, */ + /* "unixize: rename %s to %s: %s\n", */ + /* og_files->filename, */ + /* new_files->filename, */ + /* strerror(errno) */ + /* ); */ + /* ret = 2; */ + /* } */ } } else if (opts.rverbose == TRUE) { |