projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bug introduced in r323.
[oweals/opkg-lede.git]
/
libopkg
/
pkg.c
diff --git
a/libopkg/pkg.c
b/libopkg/pkg.c
index 5d705c7bb147c0d436ff611a61c4deb57821b434..f73cf5c8a9ba9f286fbdf74acf8aa2381cd43a21 100644
(file)
--- a/
libopkg/pkg.c
+++ b/
libopkg/pkg.c
@@
-334,7
+334,7
@@
pkg_init_from_file(pkg_t *pkg, const char *filename)
goto err0;
}
- control_file = fdopen(fd, "rw");
+ control_file = fdopen(fd, "rw
+
");
if (control_file == NULL) {
perror_msg("%s: fdopen", __FUNCTION__, control_path);
close(fd);