projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a494df
)
Fixed crash during first boot.
90/49790/2
author
Tomasz Olszak
<t.olszak@samsung.com>
Wed, 2 Sep 2015 12:47:04 +0000
(14:47 +0200)
committer
Tomasz Olszak
<t.olszak@samsung.com>
Fri, 23 Oct 2015 14:56:27 +0000
(16:56 +0200)
For some reason application couldn't open file in /tmp/.
Change-Id: Ibf3eb8ed3b362c00eb6d8dfcf20df9488777c403
bus/at-spi-bus-launcher.c
patch
|
blob
|
history
diff --git
a/bus/at-spi-bus-launcher.c
b/bus/at-spi-bus-launcher.c
index
7db9702
..
b6f7f01
100644
(file)
--- a/
bus/at-spi-bus-launcher.c
+++ b/
bus/at-spi-bus-launcher.c
@@
-61,7
+61,7
@@
FILE *log_file;
#ifdef LOGD
#undef LOGD
#endif
-#define LOGD(arg...) do {
fprintf(log_file, ##arg);fprintf(log_file, "\n"); fflush(log_file);
} while(0)
+#define LOGD(arg...) do {
if (log_file) {fprintf(log_file, ##arg);fprintf(log_file, "\n"); fflush(log_file);}
} while(0)
#endif