Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
Pablo Neira Ayuso 8256076722 logging: fix corrupted output
Harald reported a problem in the logging:
http://lists.osmocom.org/pipermail/openbsc/2011-May/002896.html

Reverting 81e9636454 seems to
fix the problem. However, that workaround looks ugly.

Holger gives us another clue on what was wrong:
http://lists.osmocom.org/pipermail/openbsc/2011-May/002905.html

While digging in the manpage, I found this:

"The functions vprintf(), vfprintf(), vsprintf(), vsnprintf()
are equivalent to the functions printf(), fprintf(), sprintf(),
snprintf(), respectively, except that they are called with a
va_list instead of a variable number of arguments. These functions
do not call the va_end macro. Consequently, the value of ap is
undefined after the call. The application should call va_end(ap)
itself afterwards."
2011-05-19 08:55:32 +02:00
debian update debian changelog to 0.3.0 2011-05-10 17:29:01 +02:00
include app: Introduce some routines to help with application startup 2011-05-12 15:43:47 +02:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src logging: fix corrupted output 2011-05-19 08:55:32 +02:00
tests msgfile: use namespace prefix osmo_* and use more descriptive names 2011-05-07 13:14:41 +02:00
.gitignore smscb: Ignore the very simple test application. 2010-12-29 22:51:45 +01:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Makefile.am This patch moves the GSM-specific functions to the new library 2011-03-23 18:08:08 +01:00
configure.in include: reorganize headers file to include/osmocom/[gsm|core] 2011-03-23 18:09:28 +01:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in add missing automake / autoconf files 2010-02-20 21:09:24 +01:00
libosmogsm.pc.in This patch moves the GSM-specific functions to the new library 2011-03-23 18:08:08 +01:00
libosmovty.pc.in Add pkgconfig for libosmovty 2010-05-25 22:28:40 +02:00