projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f34c32
)
rpm5.org: use pid_t, not int in build doScript
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 7 Dec 2007 07:01:25 +0000
(09:01 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 7 Dec 2007 07:01:25 +0000
(09:01 +0200)
build/build.c
patch
|
blob
|
history
diff --git
a/build/build.c
b/build/build.c
index
f94274a
..
fc41725
100644
(file)
--- a/
build/build.c
+++ b/
build/build.c
@@
-67,8
+67,8
@@
int doScript(rpmSpec spec, rpmBuildFlags what, const char *name, StringBuf sb, i
FD_t fd;
FD_t xfd;
-
in
t child;
-
in
t status;
+
pid_
t child;
+
pid_
t status;
int rc;
switch (what) {
@@
-215,7
+215,7
@@
fprintf(stderr, "*** addMacros\n");
_exit(-1);
}
-
rc
= waitpid(child, &status, 0);
+
pid
= waitpid(child, &status, 0);
if (!WIFEXITED(status) || WEXITSTATUS(status)) {
rpmlog(RPMLOG_ERR, _("Bad exit status from %s (%s)\n"),