[TUHS] ed.c on Unix v5
dave at horsfall.org
Sat Dec 19 12:27:11 AEST 2015
On Thu, 17 Dec 2015, Mark Longridge wrote:
> It's not much bigger than the assembled ed, with 1314 lines of C code
> the compiled executable is only 6518 bytes vs 4292 for the original. I
> was looking at the source code and didn't see anything that the v5 cc
> couldn't handle. I trimmed the source a bit, there's a function at the
> end called getpid() which is commented out.
If your V5 has getpid(), then it's a... strange version...
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
More information about the TUHS