Source-Changes archive

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

CVS commit: src/usr.bin/patch



Module Name:    src
Committed By:   kristerw
Date:           Fri May 30 18:14:13 UTC 2003

Modified Files:
        src/usr.bin/patch: common.h inp.c patch.c pch.c util.c util.h

Log Message:
Simplify handling of memory allocation, and make sure all return values
from malloc etc. are handled.

This removes the old behavior to retry the operation with a less memory-
consuming method in case malloc failed (this mechanism has never really
worked, and is hard to test.  Besides, it is less useful now than it was
20 years ago when the code was written...)


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/usr.bin/patch/common.h
cvs rdiff -r1.11 -r1.12 src/usr.bin/patch/inp.c
cvs rdiff -r1.14 -r1.15 src/usr.bin/patch/patch.c src/usr.bin/patch/util.c
cvs rdiff -r1.15 -r1.16 src/usr.bin/patch/pch.c
cvs rdiff -r1.8 -r1.9 src/usr.bin/patch/util.h

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