projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1baa410
)
Access fd_fileno correctly.
author
jbj
<devnull@localhost>
Thu, 30 Sep 1999 16:11:52 +0000
(16:11 +0000)
committer
jbj
<devnull@localhost>
Thu, 30 Sep 1999 16:11:52 +0000
(16:11 +0000)
CVS patchset: 3354
CVS date: 1999/09/30 16:11:52
build.c
patch
|
blob
|
history
diff --git
a/build.c
b/build.c
index
e3fe075
..
0b1de4d
100644
(file)
--- a/
build.c
+++ b/
build.c
@@
-57,7
+57,7
@@
static int isSpecFile(const char *specfile)
int count;
int checking;
- if (
(fd = fdOpen(specfile, O_RDONLY, 0
)) < 0) {
+ if (
fdFileno((fd = fdOpen(specfile, O_RDONLY, 0)
)) < 0) {
fprintf(stderr, _("Unable to open spec file: %s\n"), specfile);
return 0;
}