Commit Graph

7 Commits

Author SHA1 Message Date
Vincent Torri 29db27970c * src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h:
	* src/lib/evil_unistd.c:
	make pipe() blocking by default and allow fcntl()
	to set a socket to be non-blocking
	* src/lib/evil_stdlib.c:
	fix warning



SVN revision: 45698
2010-01-29 09:34:26 +00:00
Vincent Torri b2b415ac00 * src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h:
	support of F_GETFD in fcntl() (does nothing, actually
	needed for last ecore change)



SVN revision: 39978
2009-04-11 11:12:34 +00:00
Vincent Torri 6a48f60e39 * src/lib/evil_fcntl.c:
fix fcntl()



SVN revision: 38766
2009-01-24 22:29:19 +00:00
Vincent Torri ac3bcc3fa9 * src/bin/evil_test_environment.c:
check returned value
	* src/bin/evil_test_memcpy.c:
	define getpagesize() for vc++
	* src/lib/evil_unistd.c:
	move inclusion of time.h after windsock2.h
	include direct.h for vc++
	use _WIN32_WCE for Windows CE compilers in evil_getcwd()
	* src/lib/Evil.h:
	* src/lib/evil_unistd.h:
	move getcwd() define from Evil.h to evil_unistd.h
	add some C99 types to Evil.h for vc++ (will be used in eina)
	* src/lib/evil_fcntl.c:
	include io.h for vc++
	* src/lib/evil_link_xp.cpp:
	use full name for symlink(). Fix symlink on Windows XP with
	the DOS prompt or the debugger of Visual Studio.
	* src/lib/evil_mman.c:
	don't include unistd.h if vc++ is used
	* src/lib/evil_stdio.h:
	formatting
	* src/lib/evil_stdlib.h:
	* src/lib/evil_stdlib.c:
	define putenv only for mingw32ce
	move the returned value of setenv()



SVN revision: 38333
2008-12-27 18:53:56 +00:00
Vincent Torri c30004b6c9 * configure.ac:
* src/lib/Makefile.am:
	readd guards suppressed in previous commit
	* src/lib/Evil.h:
	include new header files
	* src/lib/errno.h:
	* src/lib/evil_errno.c:
	add fake errno system with mingw32ce
	* src/lib/evil_fcntl.c:
	* src/lib/evil_fcntl.h:
	fix compilation on cegcc and mingw32 (mainly does
	nothing on Windows CE)
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	add rewind and perror for mingw32ce
	* src/lib/evil_string.c:
	* src/lib/evil_string.h:
	add strerror for mingw32ce



SVN revision: 36587
2008-10-11 14:35:26 +00:00
Vincent Torri 85ffa791af * AUTHORS:
mention Tor's contribution
	* configure.ac:
	mention m4 directory, check errno header file,
	add conditionnal when mingw32ce is used, minor
	formatting
	* m4/efl_doxygen.m4:
	fix comments
	* src/lib/Makefile.am:
	include fnmatch files only when mingw32ce is used
	* src/lib/evil_fcntl.c:
	define correctly _get_osfhandle on mingw32ce
	* src/lib/evil_pwd.c:
	fix getpwuid() when cegcc or mingw32ce are used
	* src/lib/evil_stdlib.c:
	fix mkstemp() on all Windows platform, guard errno stuff
	* src/lib/evil_stdlib.h:
	template -> __template because 'template ' is a c++ keyword.
	* src/lib/evil_unistd.c:
	guard errno stuff
	* src/lib/evil_fnmatch.c:
	* src/lib/evil_fnmatch_list_of_states.c:
	* src/lib/evil_fnmatch_private.h:
	* src/lib/fnmatch.h:
	added files
	* win32/common/fnmatch.c:
	* win32/common/fnmatch.h:
	* win32/common/fnmatch_list_of_states.c:
	* win32/common/fnmatch_private.h:
	removed files



SVN revision: 36555
2008-10-09 21:56:31 +00:00
Vincent Torri a7f00b51bc * Makefile.am:
add autogen.sh in archive distribution

* configure.ac:
remove useless defines
first support of mingw32msvc compiler

* src/lib/Evil.h:
move some macro definitions

* src/lib/Makefile.am:
add evil_(fcntl/langinfo).(c/h) and install pwd.h

* src/lib/dlfcn/dlfcn.h:
remove useless ifdef

* src/lib/evil.c:
comment all code for now. It will be deleted later

* src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h:
* src/lib/evil_langinfo.c:
* src/lib/evil_langinfo.h:
move fcntl and langinfo related code to their own files

* src/lib/evil_mman.c:
remove useless inclusion

* src/lib/evil_pwd.c:
pw var is not needed with cegcc

* src/lib/evil_stdlib.c:
fix bugs, formatting

* src/lib/evil_unistd.c:
add missing declarations and fix header files

* src/lib/evil_unistd.h:
move pid_t typedef to Evil.h

* src/lib/evil_util.c:
additional include and fix a bug in output

* src/lib/pwd.h:
use EAPI from Evil.h, define struct passwd when not using cegcc

* src/lib/sys/mman.h:
use EAPI from Evil.h

* win32/common/fnmatch.c:
* win32/common/fnmatch.h:
* win32/common/fnmatch_list_of_states.c:
* win32/vs8/evil.sln:
fix and cleanup with vc++ compilation
Based on patch by Dmitriy Mazovka


SVN revision: 35993
2008-09-15 06:56:14 +00:00