# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 28901 | marc_tooley | "" | ||
#2 | 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. |
||
#1 | 5698 | marc |
cvs2p4: initial import of openrcs from OpenBSD src tree These sources are pretty much current as of Oct 7, 2006, 10:25 p.m. (Pacific Time.) Also removing the RCS-5.7 patch(es) because the RCS-5.7 archive is GPL and the licensing terms make it difficult (impossible?) to include RCS in its entirety for further redistribution w/ cvs2p4. To come: diffs to get OpenRCS to print out compatible output for cvs2p4's requirements. |