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:
ef6cf8e
)
use RPMLEAD_SIZE from rpmlead.h
author
marc
<devnull@localhost>
Fri, 5 Jan 1996 02:04:26 +0000
(
02:04
+0000)
committer
marc
<devnull@localhost>
Fri, 5 Jan 1996 02:04:26 +0000
(
02:04
+0000)
CVS patchset: 122
CVS date: 1996/01/05 02:04:26
tools/rpmlead.c
patch
|
blob
|
history
diff --git
a/tools/rpmlead.c
b/tools/rpmlead.c
index
a71a2ea
..
94ba954
100644
(file)
--- a/
tools/rpmlead.c
+++ b/
tools/rpmlead.c
@@
-4,7
+4,7
@@
#include <unistd.h>
#include <fcntl.h>
-#include "
pack
.h"
+#include "
rpmlead
.h"
int main(int argc, char **argv)
{
@@
-17,8
+17,8
@@
int main(int argc, char **argv)
fd = open(argv[1], O_RDONLY, 0644);
}
- read(fd, &buffer, RPM
_
LEAD_SIZE);
- write(1, &buffer, RPM
_
LEAD_SIZE);
+ read(fd, &buffer, RPMLEAD_SIZE);
+ write(1, &buffer, RPMLEAD_SIZE);
return 0;
}