Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ efl_libs.csv

#native windows files
env.bat
subprojects/
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ config_h.set10('SLOPPY_SPEC', true)

## have to get compiler again for this to work
code = '''#define _GNU_SOURCE 1
#include <unistd.h>
#include <evil_unistd.h>
#include <stdio.h>

extern char **environ;
Expand Down
2 changes: 1 addition & 1 deletion src/benchmarks/evas/evas_bench_saver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#endif

#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>

#include "Evas.h"
#include "Evas_Engine_Buffer.h"
Expand Down
2 changes: 1 addition & 1 deletion src/bin/ecore_buffer/bq_mgr.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <signal.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/xattr.h>
Expand Down
6 changes: 3 additions & 3 deletions src/bin/ecore_con/efl_net_proxy_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>

#include "Eina.h"
Expand Down Expand Up @@ -163,7 +163,7 @@ proxy_lookup(void *data, Eina_Thread t)
eina_spinlock_release(&pending_lock);
// if there are no more pending threads doing work - sleep for the
// timeout then check if we still are and if so - exit;
if (pending_local == 0) sleep(10);
if (pending_local == 0) evil_sleep(10);
eina_spinlock_take(&pending_lock);
{
Eina_Thread *tt;
Expand Down Expand Up @@ -253,7 +253,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
// Failed to init libproxy so report this before exit
fprintf(stdout, "F\n");
fflush(stdout);
for (;;) sleep(60 * 60 * 24);
for (;;) evil_sleep(60 * 60 * 24);
}
eina_shutdown();
return 0;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_cc_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <ctype.h>
#ifdef _WIN32
# include <evil_private.h> /* mmap */
Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_cc_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <sys/stat.h>
#include <libgen.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_cc_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <math.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <locale.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <errno.h>

#include <Eina.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_decc.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <locale.h>
#include <sys/types.h>
#include <sys/stat.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_inspector.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <locale.h>
#include <fnmatch.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <errno.h>

#include "Edje.h"
Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_pick.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <ctype.h>
#include <Ecore_Getopt.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/edje_player.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <ctype.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/edje/epp/cpplib.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const char *version_string = "0.0.0";
#include <string.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/eet/eet_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <evil_unistd.h>

#include <Eet.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/eeze/eeze_scanner/eeze_scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>

#include "eeze_scanner.h"
Expand Down
2 changes: 1 addition & 1 deletion src/bin/eeze/eeze_sensor_test/eeze_sensor_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <Eeze.h>
#include <Ecore.h>
#include <stdio.h>
#include <unistd.h>
#include <evil_unistd.h>

#include <Eeze_Sensor.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/efl_mono_msbuild_gen/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <fstream>

#include <stdlib.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <getopt.h>
#include <libgen.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/efreet/efreet_desktop_cache_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#endif
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <errno.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/efreet/efreet_icon_cache_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#endif

#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <errno.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/efreet/efreet_mime_cache_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#endif
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <errno.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/efreet/efreetd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#endif

#include <stdlib.h>
#include <unistd.h>
#include <evil_unistd.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
#include <sys/resource.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/efreet/efreetd_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <evil_unistd.h>

static Eina_Hash *icon_change_monitors = NULL;
static Eina_Hash *icon_change_monitors_mon = NULL;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/elementary/elementary_codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <unistd.h>
#include <evil_unistd.h>

#ifndef ENABLE_NLS
# ifndef libintl_setlocale
Expand Down
2 changes: 1 addition & 1 deletion src/bin/elementary/elm_prefs_cc_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>

#include "elm_prefs_cc.h"

Expand Down
2 changes: 1 addition & 1 deletion src/bin/elementary/elm_prefs_cc_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <math.h>
#include <regex.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/elementary/quicklaunch.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifdef HAVE_ENVIRON
# define _GNU_SOURCE 1
#endif
#include <unistd.h>
#include <evil_unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
Expand Down
4 changes: 2 additions & 2 deletions src/bin/elementary/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifdef HAVE_ENVIRON
# define _GNU_SOURCE 1
#endif
#include <unistd.h>
#include <evil_unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_ALLOCA_H
Expand Down Expand Up @@ -126,7 +126,7 @@ main(int argc, char **argv)
{
char buf2[PATH_MAX];

ssize_t len = readlink(exe, buf2, sizeof(buf2) - 1);
ssize_t len = evil_readlink(exe, buf2, sizeof(buf2) - 1);
if (len >= 0)
{
char *p;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/embryo/embryo_cc_sc1.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <sys/stat.h>

#include <Eina.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/embryo/embryo_cc_sc5.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <evil_unistd.h>

#include <Eina.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/eolian/main.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <stdlib.h>
#include <unistd.h>
#include <evil_unistd.h>

#include "main.h"
#include "types.h"
Expand Down
2 changes: 1 addition & 1 deletion src/bin/eolian_cxx/eolian_cxx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <fstream>

#include <stdlib.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <getopt.h>
#include <libgen.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/eolian_mono/eolian_mono.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <fstream>

#include <stdlib.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <getopt.h>
#include <libgen.h>

Expand Down
2 changes: 1 addition & 1 deletion src/bin/ethumb_client/ethumbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <errno.h>

#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/ethumb_client/ethumbd_slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <limits.h>
#include <string.h>
#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/exactness/injector.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include <evil_unistd.h>

#include <Eina.h>
#include <Eet.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/exactness/player.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include <evil_unistd.h>

#ifdef HAVE_DLSYM
# include <dlfcn.h>
Expand Down
2 changes: 1 addition & 1 deletion src/bin/exactness/recorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include <evil_unistd.h>

#ifdef HAVE_DLSYM
# include <dlfcn.h>
Expand Down
2 changes: 1 addition & 1 deletion src/examples/ecore/ecore_audio_custom.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <Ecore.h>
#include <Ecore_Audio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/examples/ecore/ecore_audio_playback.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <Ecore.h>
#include <Ecore_Audio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/examples/ecore/ecore_audio_to_ogg.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <libgen.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <evil_unistd.h>
#include <fcntl.h>
#include <Eo.h>
#include <Ecore.h>
Expand Down
2 changes: 1 addition & 1 deletion src/examples/ecore/ecore_con_url_download_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <evil_unistd.h>

#include <Ecore.h>
#include <Ecore_Con.h>
Expand Down
Loading