projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96291f6
)
use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory.
19/62319/2
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 15 Mar 2016 08:52:26 +0000
(17:52 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 15 Mar 2016 10:50:34 +0000
(19:50 +0900)
allow to locate the shm file in the Tizen specific directory.
Change-Id: Ibeb1ea4b918f02ef80ee99167a5e8e744b07f06a
src/lib/pepper/utils-file.c
patch
|
blob
|
history
diff --git
a/src/lib/pepper/utils-file.c
b/src/lib/pepper/utils-file.c
index ec28b05dbd92348ddce64fb572a74be5f7ef99f8..e2f05c35ac9d9d5cb3a65483bf72a5153e04045c 100644
(file)
--- a/
src/lib/pepper/utils-file.c
+++ b/
src/lib/pepper/utils-file.c
@@
-84,7
+84,10
@@
pepper_create_anonymous_file(off_t size)
int fd;
int ret;
- path = getenv("XDG_RUNTIME_DIR");
+ path = getenv("TIZEN_WAYLAND_SHM_DIR");
+ if (!path)
+ path = getenv("XDG_RUNTIME_DIR");
+
if (!path) {
errno = ENOENT;
return -1;