pkgin/pkgin 23cf457 — . tools.c pkg_infos.c
Show pkg_info output inline instead of buffering. This avoids an occasional issue where the exec_list() output was being corrupted. Buffering the entire output could be considered useful if we were actually using it to return an error status and print a useful message, but we weren't, so this way is faster, uses less memory, and allows us to remove more code. We also now correctly return the exit code of pkg_info.
Delta | File | |
---|---|---|
+0 | -64 | tools.c |
+17 | -11 | pkg_infos.c |
+3 | -3 | main.c |
+1 | -1 | pkgin.h |
+0 | -2 | tools.h |
+21 | -81 | 5 files |