Source-Changes archive

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

CVS commit: src/usr.bin/vi/common



Module Name:    src
Committed By:   christos
Date:           Wed Sep 27 21:01:18 UTC 2006

Modified Files:
        src/usr.bin/vi/common: msg.c

Log Message:
Coverity CID 793 uncovered a bunch of issues:
1. needfree = 0, should have been *needfree = 0
2. this function will not work with sp == NULL, since KEY_NAME dereferences it.
3. the if (0) {
  label:
  }
  code is disgusting.

Remove all the nasty and impossible code and fix 1.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.bin/vi/common/msg.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