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 /build.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 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -226,7 +226,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba) if (specut != URL_IS_DASH) { struct stat st; - if (Stat(specURL, &st) < 0) { + if (stat(specURL, &st) < 0) { rpmlog(RPMLOG_ERR, _("failed to stat %s: %m\n"), specURL); rc = 1; goto exit; @@ -277,7 +277,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba) } if (ba->buildMode == 't') - (void) Unlink(specURL); + (void) unlink(specURL); rc = 0; exit: |