Mara Bos
e9fb17c51a
Always use FILE* for standard output.
...
The threads running commands for clients through the Posix daemon used
to write to a char buffer through snprintf (etc.) which was then written
directly to the file descriptor, whereas in the other case printf
(etc.) was used to write to stdout (FILE*). Both versions used some
macro's and repeated code to have the same output.
This change unifies these two cases by using a FILE* in both cases. The
(line) buffering is done by the standard C library's implementation
(just like with stdout), and px4_log.c now uses the same code in all
cases (using fprintf, etc.) for printing (colored) output.
2018-11-23 12:15:41 +01:00
..
2018-04-29 21:48:54 -04:00
2018-11-06 07:43:43 +08:00
2018-11-01 10:49:26 -04:00
2018-08-18 15:15:41 -04:00
2018-06-30 19:55:08 -04:00
2018-11-19 14:32:47 -05:00
2018-04-29 21:48:54 -04:00
2018-07-22 12:45:52 -04:00
2018-07-30 21:40:28 +02:00
2018-11-06 07:43:43 +08:00
2018-11-06 07:43:43 +08:00
2018-11-01 00:05:10 +01:00
2018-11-06 07:43:43 +08:00
2018-11-06 07:43:43 +08:00
2018-09-12 01:03:22 +02:00
2018-04-29 21:48:54 -04:00
2018-11-23 12:15:41 +01:00
2018-08-06 13:32:36 +02:00
2018-11-06 07:43:43 +08:00
2018-06-30 19:55:08 -04:00
2018-06-12 09:06:30 +02:00
2018-04-29 21:48:54 -04:00
2018-04-29 21:48:54 -04:00
2018-11-23 12:15:41 +01:00
2018-04-29 21:48:54 -04:00
2018-06-12 09:06:30 +02:00
2018-06-30 19:55:08 -04:00
2018-06-30 19:55:08 -04:00
2018-11-06 07:43:43 +08:00
2018-08-27 13:14:15 -04:00
2018-11-06 07:43:43 +08:00
2018-11-16 16:42:20 -05:00
2018-11-06 07:43:43 +08:00
2018-10-23 08:15:28 +02:00
2018-10-27 12:44:51 +02:00
2018-08-08 21:09:39 +02:00
2018-07-30 10:32:56 -04:00
2018-09-02 16:15:03 -04:00
2018-09-02 16:15:03 -04:00
2018-06-12 09:06:30 +02:00
2018-11-23 12:15:41 +01:00
2018-11-10 13:52:34 -05:00
2018-06-12 09:06:30 +02:00
2018-07-22 08:42:30 +02:00
2018-08-31 18:11:58 +02:00
2018-08-27 13:14:15 -04:00
2018-11-06 07:43:43 +08:00
2018-06-04 16:33:55 +02:00
2018-07-22 12:45:52 -04:00
2018-11-06 07:43:43 +08:00
2017-07-17 22:28:29 +02:00
2018-11-06 07:43:43 +08:00
2018-11-06 07:43:43 +08:00
2015-04-20 11:13:24 -07:00
2017-03-12 00:08:35 +01:00
2015-11-17 19:30:51 -08:00
2017-12-31 09:47:51 -05:00
2018-11-06 07:43:43 +08:00
2018-04-14 13:45:57 +02:00
2016-04-22 10:30:19 +02:00
2014-05-29 12:24:50 +02:00
2017-08-26 03:44:59 -10:00
2018-11-06 07:43:43 +08:00
2016-03-01 09:21:58 +01:00
2018-09-19 10:00:45 +02:00
2016-05-22 12:45:55 +02:00
2015-03-19 23:49:36 +01:00
2018-09-28 07:48:32 +02:00
2017-04-13 20:21:40 +02:00
2017-12-31 09:47:51 -05:00
2018-09-21 16:26:27 +02:00
2015-02-09 22:56:21 +01:00
2018-11-06 07:43:43 +08:00
2018-03-19 14:15:52 +01:00