diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-03 16:33:18 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-03 16:33:18 +0200 |
commit | 9cbf0349b84fb19c6dddbe4f7a3246d4c949ad09 (patch) | |
tree | 8eedf8632f760089f94c07a28fd6ea363ed3a22a /rpmio/tput.c | |
parent | fb90b8b4eb46c4008326e07b4866f4bf0875df83 (diff) | |
download | librpm-tizen-9cbf0349b84fb19c6dddbe4f7a3246d4c949ad09.tar.gz librpm-tizen-9cbf0349b84fb19c6dddbe4f7a3246d4c949ad09.tar.bz2 librpm-tizen-9cbf0349b84fb19c6dddbe4f7a3246d4c949ad09.zip |
Use regular POSIX functions instead of "RPC" clones
- we only care about local files
Diffstat (limited to 'rpmio/tput.c')
-rw-r--r-- | rpmio/tput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/tput.c b/rpmio/tput.c index 2d7eb79fe..c337e161b 100644 --- a/rpmio/tput.c +++ b/rpmio/tput.c @@ -66,7 +66,7 @@ fprintf(stderr, "===> Fclose rc %d\n", xx); static int unlinkFile(const char * path) { fprintf(stderr, "===== Unlink %s\n", path); - return Unlink(path); + return unlink(path); } static void doFile(const char * path) @@ -86,7 +86,7 @@ fprintf(stderr, "===== %s\n", path); xx = writeFile(path); #if 0 xx = readFile(path); - xx = Unlink(path); + xx = unlink(path); xx = unlink("/home/toad/tput.txt"); xx = unlink("/var/ftp/tput.txt"); |