These patches rework the way we display information from the system log files. The functions for this task used a number of system() calls and some external utilities like sed to filter relevant IPR data.
The first patch removes all external routines and substitues them with the equivalent C code. It also introduces a zlib dependency so that we can work with compressed log files, e.g. in case the system uses some kind of log rotation. The second patch introduces a wrapper function that enables the user to set a preferred editor for log viewing. Heitor Ricardo Alves de Siqueira (2): iprutils: Remove system() calls from log functions iprutils: Enable editor choice for new log system configure.ac | 3 +- iprconfig.c | 391 +++++++++++++++++++++++++++++++++-------------------- iprlib.c | 20 +++ iprlib.h | 3 + spec/iprutils.spec | 2 +- 5 files changed, 270 insertions(+), 149 deletions(-) -- 2.4.3 ------------------------------------------------------------------------------ _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel