Subject: Re: rm(1) and cp(1) printable characters diff
To: None <firstname.lastname@example.org>
From: Martin J. Laubach <email@example.com>
Date: 07/20/2003 20:37:02
| > Especially with interactive mode, it would probably make
| > more sense to use vis(3), so one can see what magic character
| > is there, and not just fold them all into "?".
| Attached is an updated diff that uses vis(3).
Looks ok but for two minor points:
You leak memory with each printescaped() call. I'm not sure it's
worth the bother to free everything after use or add a wrapper for
the output routines.
sizeof(char) is 1. Always, per definitionem.