# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 28901 | marc_tooley | "" | ||
#1 | 5758 | marc |
Preliminary mods to get OpenRCS running on Linux Summary of changes: . Added strlcpy and strlcat direct from OpenBSD. . Some casting work for malloc returns (actually xmalloc) . Converting use of fstat time members to their Linux counterparts . Adding dummy buffer define for Linux (for a read/write buffer size) . Converting fgetln() to getline() which is "close enough" . Added BSD queue mechanism and defines to archive.. . Trying to pull in strtonum, an OpenBSD-ism. . yacc'd date.y for convenience's sake. . Fixed names of some defines to their Linux counterparts. Summary of todo: . Get a Makefile (or Jamfile?) working for Linux & BSD. . Surround these modifications in #ifdefs (no autoconf for me!) To build: gcc -o rlog *.c Then, copy "rlog" into cvs2p4/bin/rlog where the scripts expect to find it, and run then as normal. WARNING: NOT TESTED. |