itkin@luke.UUCP (Steven List) (08/20/85)
The recently posted program `at' included a small bug - the makefile would overwrite /usr/lib/crontab with program atrun during the install, then append a crontab line to the end of it. Fortunately I found this BEFORE installing, since my crontab is near and dear to me. The following is a context diff suitable for `patch'ing. *** makefile.err Tue Aug 20 11:18:56 1985 --- makefile Tue Aug 20 11:19:13 1985 *************** *** 15,21 cp at at.exe $(BIN) chmod +x $(BIN)/at chmod +x $(BIN)/at.exe ! cp atrun /usr/lib/crontab ! chmod 700 /usr/lib/crontab echo '0,15,30,45 * * * * /bin/su root -c "/usr/lib/atrun > /dev_null"' \ >> /usr/lib/crontab --- 15,21 ----- cp at at.exe $(BIN) chmod +x $(BIN)/at chmod +x $(BIN)/at.exe ! cp atrun /usr/lib/atrun ! chmod 700 /usr/lib/atrun echo '0,15,30,45 * * * * /bin/su root -c "/usr/lib/atrun > /dev_null"' \ >> /usr/lib/crontab -- *** * Steven List @ Benetics Corporation, Mt. View, CA * Just part of the stock at "Uncle Bene's Farm" * {cdp,greipa,idi,oliveb,sun,tolerant}!bene!luke!itkin ***