summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-12-03 09:32:39 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-12-05 21:04:36 +0100
commit3b44645363dcdd561edd9610a64f3d2c382753a9 (patch)
tree64f6c4a580e563e79ca3f1867ae510025052fd64 /src/benchmarks
parentd2a7882b732b4cc3a8e7b11ec1c4336bdc2029bb (diff)
efl: add binary mode to f(re)open() calls
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eina/evas_stringshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmarks/eina/evas_stringshare.c b/src/benchmarks/eina/evas_stringshare.c
index 6e8797ca01..ce0e6ebebe 100644
--- a/src/benchmarks/eina/evas_stringshare.c
+++ b/src/benchmarks/eina/evas_stringshare.c
@@ -196,7 +196,7 @@ evas_stringshare_add(const char *str)
196// { 196// {
197// char bf[256]; 197// char bf[256];
198// snprintf(bf, sizeof(bf), "strlog-%i", getpid()); 198// snprintf(bf, sizeof(bf), "strlog-%i", getpid());
199// f = fopen(bf, "w"); 199// f = fopen(bf, "wb");
200// } 200// }
201 hash_num = _evas_stringshare_hash_gen(str, &slen); 201 hash_num = _evas_stringshare_hash_gen(str, &slen);
202 for (el = share.buckets[hash_num]; el; pel = el, el = el->next) 202 for (el = share.buckets[hash_num]; el; pel = el, el = el->next)