Source-Changes archive

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

CVS commit: src/usr.bin/paste



Module Name:    src
Committed By:   dsl
Date:           Fri Mar 31 18:59:52 UTC 2006

Modified Files:
        src/usr.bin/paste: Makefile paste.c

Log Message:
Rewrite parallel() so that it uses fgetln() instead of fgets() so that
horrid nasty things don't happen when the input lines are the same size
as the buffer.
Simplify by using an array of 'FILE *' instead of a linked list so that
is possible to appease coverty (SID:1598) by freeing the memory.
Also fclose() the input lines when they are consumed.
Code still modifies optarg strings....


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/usr.bin/paste/Makefile
cvs rdiff -r1.8 -r1.9 src/usr.bin/paste/paste.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index