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:
5f61ecc
)
Use fdRead, not read typo.
author
jbj
<devnull@localhost>
Wed, 7 Apr 1999 21:10:05 +0000
(21:10 +0000)
committer
jbj
<devnull@localhost>
Wed, 7 Apr 1999 21:10:05 +0000
(21:10 +0000)
CVS patchset: 2970
CVS date: 1999/04/07 21:10:05
lib/rpmrc.c
patch
|
blob
|
history
diff --git
a/lib/rpmrc.c
b/lib/rpmrc.c
index
393eb40
..
a02d9ab
100644
(file)
--- a/
lib/rpmrc.c
+++ b/
lib/rpmrc.c
@@
-835,7
+835,7
@@
static void defaultMachine(char ** arch, char ** os) {
if (fdFileno(fd) > 0) {
chptr = (char *) calloc(256,1);
if (chptr != NULL) {
- int irelid =
r
ead(fd, (void *)chptr, 256);
+ int irelid =
fdR
ead(fd, (void *)chptr, 256);
fdClose(fd);
/* example: "112393 RELEASE 020200 Version 01 OS" */
if (irelid > 0) {