UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / doc / techlogs / 2001 / kes22Nov01
blob0e6446eee36ced1356ca5c0a898bf8e33bcbbbb8
1              Technical notes on version 3.9.8 
2                       22 November 2001
3                         Kern Sibbald
5 General:
6 - Pulled in the latest copy of the manual.
7 - Applied the changes as submitted by Carl Erhorn for
8   Solaris. Most I pulled from Riccardo's integration
9   into 3.9.7.
10 - Updated the version and date.
12 Changes submitted this submission:
13 - Applied a casting fix to apcnisd.c reported by the SCO user.
14 - Added NETWORK_UPS to the case statements in apctest,     
15   apcreports, and apcstatus. This was the principal problem
16   with the NIS network driver.
17 - Made some small updates to the Solaris configure.in changes
18   so that sbindir is correctly set.
19 - Created an SCO subdirectory in distributions. This is just
20   the very beginning please don't look at the code yet.
21 - In manual separated the Shutdown documentation into a separate
22   chapter for people who are porting.
23 - Made a quick pass through the new network driver. Most everything
24   was done. Here are the minor changes I made:
25   - sorted the translation list to make it easier to find the entries
26   - Added the remotedown flag so that the slave will be shutdown when
27     the master goes down.
28   - Added a few more debug messages which could be removed now.
29   - Optimized fill_status_buffer() so that it does it at most once
30     a second.
31   - Used atof() on most of the input because even though they are
32     stored as integers, they are passed over the net as decimal numbers.
33   - used strtol() to get the status word, which is actually in hex.
34   - Deleted a number of variables that should be locally set rather
35     than pulled from the master.
36 - Fixed a bug in apcipc.c (non-fatal) found by the compiler on the SCO.
38 We need to think about the proper way to set CABLE and UPSMODE in the
39 status output for a new network driver. I think we should probably just
40 force them to something reasonable rather than take what the master
41 publishes.  To be decided.