1 Technical notes on version 3.9.10
6 - Made shared memory implementation use shared memory
7 pointer rather than copying.
8 - I did not test the master/slave code under the new scheme.
9 - The tab characters in a number of files had been removed, so the diffs
10 for some files are larger than really necessary. Use diff -b if you
11 want to see the real differences.
12 - The Makefile dependencies are not correct. E.g. changing apc_extern.h
13 will not cause all the appropriate files to rebuild. I did not
16 Changes submitted this submission:
17 - Modified the ./configure process so that the output
18 summary report is saved in config.out. Thus at a
19 later time, you can see how apcupsd was configured.
20 - Corrected a problem with configure.in where the
21 AC_DEFINE(HAVE_CYGWIN) was inside a test rather than
23 - Removed the install of the examples. This is something important
24 to have in the source, but it should not be loaded into the
26 - Removed an inappropriate #ifdef in hid-ups.c. This prevented it
27 from building properly.
28 - Major cleanup and reorganization of the shared memory implementation.
29 The shared memory image is no longer copied to local storage but
30 referenced directly by the shared memory pointer. This makes the
31 shared memory scheme much more similar to the pthreads implementation.
32 - Added a number of write_lock(ups) that were missing.
33 - Eliminated read_shmarea() and write_shmarea(). Use memcpy() if you
35 - NOTE!!! init_ups_struct() must NOT clear memory as the shared memory
36 structures or the pthreads structures are already setup.
37 - The test for no NISIP configuration statement was incorrect causing
38 apcupsd to always report an error. I fixed it.
39 - The test for NISIP was placed before the attach to shared memory in
40 apcnis.c, which means it would not have worked on a shared memory
41 configuration. I corrected this.