cronsched.c notes cronsched was written by Dennis Lovelady in 1997, with major user- interface improvements in 1998. Dennis may be contacted via: http://www.lovelady.com/mailform/ Notes = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = This program optionally can use thread-safe date routines. If you want threadsafeness (is that a word?) you'll need to include the libc_r library, and remove the comment markers from the line containing #define THREADSAFE 1 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = One person had difficulty compiling with gcc version 2.7.2.2 running on Solaris 2.4. The error indication was: # gcc cronscd.c /var/tmp/cca004j_1.o: In function `LoadFile': /var/tmp/cca004j_1.o(.text+0xd70): undefined reference to `dirname' /var/tmp/cca004j_1.o(.text+0xd8c): undefined reference to `basename' This problem was resolved by altering the gcc command line to: # gcc cronscd.c /usr/ccs/lib/libgen.a = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Peter Johnson discovered that, on Digital Unix 4.0a, the dirname() function returns a null pointer if no pathname is specified, which caused the strcpy in LoadFile to fail. This has been corrected in the program source. Thanks Peter. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 11 Feb, 98 - Peter Johnson found another problem: missing break 2:45PM EST commands from the case switch for command line options source corrections made. Thanks again, Sir. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = End of notes