Subject: CVS commit: basesrc/usr.sbin/sushi
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/02/2002 21:57:06
Module Name: basesrc
Committed By: christos
Date: Tue Apr 2 18:57:02 UTC 2002
Modified Files:
basesrc/usr.sbin/sushi: run.c
Log Message:
XXX: this code has a lot of bugs and needs further cleanup.
- don't allocate:
char *p = malloc(len * sizeof(char *))
when you mean:
char *p = malloc(len)
- eliminate duplicated code by creating functions and try not to wrap
- use mvwinnstr instead of mvwinstr
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 basesrc/usr.sbin/sushi/run.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.