libosmocore/src
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
..
codec libosmocore: bump library interface version to '1' for new osmo_ names 2011-05-08 14:35:40 +02:00
gsm libosmocore: bump library interface version to '1' for new osmo_ names 2011-05-08 14:35:40 +02:00
vty libosmocore: bump library interface version to '1' for new osmo_ names 2011-05-08 14:35:40 +02:00
Makefile.am app: Introduce some routines to help with application startup 2011-05-12 15:43:47 +02:00
application.c app: Introduce some routines to help with application startup 2011-05-12 15:43:47 +02:00
backtrace.c backtrace: use namespace prefix osmo_* 2011-05-07 13:00:52 +02:00
bits.c include: reorganize headers file to include/osmocom/[gsm|core] 2011-03-23 18:09:28 +01:00
bitvec.c bitvec: add bitvec_find_first_bit_pos() from gsm/rxlev_stat.c 2011-03-28 20:00:45 +02:00
conv.c core/conv: Only consider error for non-zero soft values 2011-04-28 22:30:30 +02:00
crc16.c crc: use namespace prefix osmo_* 2011-05-07 13:00:51 +02:00
gsmtap_util.c select: use namespace prefix osmo_fd* and osmo_select* 2011-05-07 13:00:51 +02:00
logging.c logging: fix corrupted output 2011-05-19 08:55:32 +02:00
logging_syslog.c include: reorganize headers file to include/osmocom/[gsm|core] 2011-03-23 18:09:28 +01:00
msgb.c misc: Remove the sys/types.h include from various files 2011-04-18 16:57:04 +02:00
msgfile.c msgfile: use namespace prefix osmo_* and use more descriptive names 2011-05-07 13:14:41 +02:00
panic.c backtrace: use namespace prefix osmo_* 2011-05-07 13:00:52 +02:00
plugin.c plugin: use namespace prefix osmo_* 2011-05-07 13:00:52 +02:00
process.c misc: Remove the sys/types.h include from various files 2011-04-18 16:57:04 +02:00
rate_ctr.c timer: use namespace prefix osmo_timer* 2011-05-07 13:00:51 +02:00
select.c select: use namespace prefix osmo_fd* and osmo_select* 2011-05-07 13:00:51 +02:00
signal.c signal: use namespace prefix osmo_signal* 2011-05-07 13:00:51 +02:00
statistics.c statistics: use namespace prefix osmo_counter* 2011-05-07 13:00:51 +02:00
talloc.c misc: Remove the sys/types.h include from various files 2011-04-18 16:57:04 +02:00
timer.c timer: use namespace prefix osmo_timer* 2011-05-07 13:00:51 +02:00
utils.c utils: use namespace prefix osmo_* 2011-05-07 13:00:51 +02:00
write_queue.c write-queue: use namespace prefix osmo_wqueue* 2011-05-07 13:00:51 +02:00