man-db-cvs
[Top][All Lists]
Advanced

[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
Branch:         
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
        close().

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/docs/ChangeLog.diff?tr1=1.362&tr2=1.363&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/lib/pipeline.c.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/lib/pipeline.h.diff?tr1=1.7&tr2=1.8&r1=text&r2=text





reply via email to

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