[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

man-db docs/ChangeLog lib/pipeline.c lib/pipeli...

From: Colin Watson
Subject: man-db docs/ChangeLog lib/pipeline.c lib/pipeli...
Date: Sun, 03 Aug 2003 19:32:47 -0400

CVSROOT:        /cvsroot/man-db
Module name:    man-db
Changes by:     Colin Watson <address@hidden>   03/08/03 19:32:47

Modified files:
        docs           : ChangeLog 
        lib            : pipeline.c pipeline.h 

Log message:
        Add support for getting stdio streams for input and output. Needs
        library support because pipeline_wait() needs to know to close the
        stream rather than the underlying file descriptor.
        * lib/pipeline.h (struct pipeline): New infile and outfile members.
        (pipeline_get_infile, pipeline_get_outfile): Add prototypes.
        * lib/pipeline.c (pipeline_new): Initialize infile and outfile.
        (pipeline_join): Likewise.
        (pipeline_get_infile, pipeline_get_outfile): New functions.
        (pipeline_wait): Check for infile and outfile and fclose() them in
        preference to close()ing infd and outfd. Check for errors on


reply via email to

[Prev in Thread] Current Thread [Next in Thread]