summary refs log tree commit diff stats
path: root/lib/posix/posix.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix android compile time errortormund2016-06-071-1/+7
|
* Merge branch 'unix-sockets' of https://github.com/girvo/Nim into ↵Dominik Picheta2016-05-301-0/+13
|\ | | | | | | girvo-unix-sockets
| * net.nim: add support for Unix socketsMichał Zieliński2015-10-281-0/+13
| |
* | make SO_REUSEPORT independent of Linux headerAndreas Rumpf2016-05-291-14/+22
| |
* | Merge pull request #4235 from cheatfate/nosignalAndreas Rumpf2016-05-291-0/+4
|\ \ | | | | | | Solaris dont have MSG_NOSIGNAL
| * | Solaris dont have MSG_NOSIGNALcheatfate2016-05-291-0/+4
| | |
* | | Merge pull request #3648 from FedericoCeratto/reuse_portAndreas Rumpf2016-05-291-0/+2
|\ \ \ | |/ / |/| | Add SO_REUSEPORT support
| * | Add SO_REUSEPORT supportFederico Ceratto2015-12-161-0/+2
| |/
* | Update posix.nimFederico Ceratto2016-04-111-2/+2
| |
* | Add signal handlerFederico Ceratto2016-04-101-0/+14
| | | | | | A signal handler to run some code when Unix signals are received
* | Add missed library dependencies on Linux and Solaris.cheatfate2016-04-031-0/+9
| |
* | Patch timer_create and timer_delete to have proper declaration.cheatfate2016-04-021-2/+2
| |
* | Define ports as uint16s to fix #3484Josep Sanjuas2016-03-271-3/+3
| |
* | Moved ioctl to posix.nimxyz2016-01-171-0/+4
|/
* fix rawsockets testAman Gupta2015-10-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FAIL: trawsockets.nim Test "tests/cpp/trawsockets.nim" in category "cpp" Failure: reNimcCrash Expected: Gotten: Hint: system [Processing] Hint: trawsockets [Processing] Hint: rawsockets [Processing] Hint: unsigned [Processing] lib/pure/rawsockets.nim(15, 8) Warning: unsigned is deprecated [Deprecated] Hint: os [Processing] Hint: strutils [Processing] Hint: parseutils [Processing] Hint: times [Processing] Hint: posix [Processing] CC: compiler_trawsockets CC: stdlib_system CC: stdlib_rawsockets CC: stdlib_unsigned CC: stdlib_os CC: stdlib_strutils Error: execution of an external compiler program 'clang++ -c -w -I/Users/tmm1/code/nim/lib -o tests/cpp/nimcache/stdlib_rawsockets.o tests/cpp/nimcache/stdlib_rawsockets.cpp' failed with exit code: 256 tests/cpp/nimcache/stdlib_rawsockets.cpp:355:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC6 = gai_strerror(gairesult); ^ ~~~~~~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:499:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC5 = hstrerror(h_errno); ^ ~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:650:8: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC9 = inet_ntop(AF_INET6, ((void*) (addr6)), result->data, ((NI32)chckRange((result ? result->len : 0), ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:771:10: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC17 = inet_ntop(name.sin6_family, ((void*) ((&name))), ((NCSTRING) (buf)), ((NI32)chckRange(((NI)sizeof(TY143006)), ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/cpp/nimcache/stdlib_rawsockets.cpp:859:10: error: assigning to 'NCSTRING' (aka 'char *') from incompatible type 'const char *' LOC17 = inet_ntop(name.sin6_family, ((void*) ((&name))), ((NCSTRING) (buf)), ((NI32)chckRange(((NI)sizeof(TY143006)), ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 errors generated.
* wait's input is nullable, and it is discardableBruce Doan2015-09-161-1/+1
|
* Add popen()/pclose() support to posix.nimReimer Behrends2015-07-011-0/+2
|
* Expose INET6_ADDRSTRLEN.Andrew Yourtchenko2015-06-241-0/+2
|
* Update posix.Sockaddr_in6 and posix.Sockaddr_storage, deprecate old T* types.Andrew Yourtchenko2015-06-241-2/+3
|
* lib/posix - Dropped 'T' from typespdw2015-06-041-456/+482
|
* Fixed SIGPIPE on MacOSyglukhov2015-04-081-1/+4
|
* fixes https://github.com/Araq/Nim/issues/2116Jakob Oesterling2015-04-011-1/+2
|
* Fixed Tdirent definition for OS X and BSD.Reimer Behrends2015-03-221-1/+1
| | | | | Entries d_type etc. were disabled on architectures other than Linux, but also used for OS X and BSD in os.nim.
* fixes #2116Araq2015-03-221-4/+5
|
* Add some posix dirent documentationdef2015-02-241-11/+12
|
* Speed up walkDir significantlydef2015-02-241-0/+13
| | | | | | We only know that this works on Linux and Mac OS X, so other systems use the POSIX conforming version still. This removed the lstat call, which is especially expensive on NFS filesystems for me.
* Always use 0x40 for POSIX_SPAWN_USEVFORKdef2015-02-171-6/+4
|
* fixes #2116Araq2015-02-131-11/+4
|
* Fixes parallel build on FreeBSDmodk2015-01-261-8/+8
|
* Add workaround for TCC to make POSIX_SPAWN_USEVFORK availabledef2015-01-061-1/+6
|
* ignore signal SIGPIPE on DarwinAndre2014-12-301-2/+2
|
* Merge branch 'devel' into bigbreakAraq2014-11-031-42/+0
|\ | | | | | | | | | | | | | | Conflicts: lib/impure/db_postgres.nim lib/pure/json.nim lib/pure/math.nim lib/system/atomics.nim
| * Merge pull request #1448 from def-/posix-mathAndreas Rumpf2014-11-031-42/+0
| |\ | | | | | | Add -lm for fesetround and fegetround
| | * Move floating point rounding and exceptions handling to mathdef2014-08-061-45/+0
| | | | | | | | | | | | (it's C99 as well, not just POSIX)
| | * Add -lm for fesetround and fegetrounddef2014-08-051-0/+3
| | |
* | | Fixed FD_SET casingErik O'Leary2014-10-101-1/+1
| | |
* | | 'nimfix' improvements; FdSet is TFdSet againAraq2014-09-081-8/+8
| | |
* | | more tests greenAraq2014-08-311-16/+16
| | |
* | | fixed posix.nimAraq2014-08-301-1/+2
| | |
* | | posix.nim compiles againAraq2014-08-291-34/+34
| | |
* | | Nimrod renamed to NimAraq2014-08-281-3/+3
| | |
* | | big renameAraq2014-08-281-76/+81
| | |
* | | big renameAraq2014-08-281-2/+5
|/ /
* | Merge pull request #1405 from boydgreenfield/add_mmap_map_populateAndreas Rumpf2014-08-121-0/+10
|\ \ | |/ |/| Add mmap map populate
| * Only try to import MAP_POPULATE on Linux, define flag as 0 otherwise.Nick Greenfield2014-07-231-2/+10
| |
| * Add automatic MAP_POPULATE flag for opening read_only (MAP_PRIVATE) and ↵Nick Greenfield2014-07-231-0/+2
| | | | | | | | shared (MAP_SHARED) mmap files.
* | Add "struct" to POSIX flockdef2014-07-311-1/+1
|/
* Fixes missing MSG_NOSIGNAL on Mac OS X.Dominik Picheta2014-07-141-2/+11
|
* Added define check for openBSD around fmtmsg.h stuff, OpenBSD does not ↵Charlie Barto2014-05-041-2/+2
| | | | actually include this header
* New concurrency model: next stepsAraq2014-04-191-0/+2
|