More efficient cr trimming
modified libpkg/pkg.c
@@ -575,6 +575,7 @@ pkg_set_from_fileat(int fd, struct pkg *pkg, pkg_attr attr, const char *path,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -584,8 +585,13 @@ pkg_set_from_fileat(int fd, struct pkg *pkg, pkg_attr attr, const char *path,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -598,6 +604,7 @@ int
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -607,8 +614,13 @@ pkg_set_from_file(struct pkg *pkg, pkg_attr attr, const char *path, bool trimcr)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|