baffdf3e65
On the E100, and possibly other systems, OpenBTS seg faults at startup. The cause is a null reference to the global logging file descriptor occuring due to an initializer order dependency, which is not guaranteed across compilation units. When this occurs, check for for null and set the output to stdout. Signed-off-by: Thomas Tsou <ttsou@vt.edu> |
||
---|---|---|
.. | ||
BitVector.cpp | ||
BitVector.h | ||
BitVectorTest.cpp | ||
Configuration.cpp | ||
Configuration.h | ||
ConfigurationTest.cpp | ||
F16.h | ||
F16Test.cpp | ||
Interthread.h | ||
InterthreadTest.cpp | ||
LinkedLists.cpp | ||
LinkedLists.h | ||
LogTest.cpp | ||
Logger.cpp | ||
Logger.h | ||
Makefile.am | ||
README.common | ||
Regexp.h | ||
RegexpTest.cpp | ||
Sockets.cpp | ||
Sockets.h | ||
SocketsTest.cpp | ||
Threads.cpp | ||
Threads.h | ||
Timeval.cpp | ||
Timeval.h | ||
TimevalTest.cpp | ||
Vector.h | ||
VectorTest.cpp | ||
example.config |
README.common
This directory contains common-use classes, most of which are not specific to GSM. Vector A vector class (NOT std::vector<>) that supports aliased subvectors. Not resizable. BitVector Bit-indexable vectors based on Vector. Interthread A set of C++ wrappers for pthread facilities. Sockets A set of C++ wrappers for Unix sockets. Timeval A C++ wraper for struct timeval. LinkLists Classes for simple linked lists of pointers. Do "make tests" to build a series of unit tests for these classes.