summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use O_CLOEXEC if availableHEADmasterLennart Poettering2009-10-301-4/+18
|
* add link to bugzillaLennart Poettering2009-10-241-3/+1
|
* minor optimizationLennart Poettering2009-10-171-1/+1
|
* prepare release 0.8v0.8Lennart Poettering2009-10-152-3/+7
|
* Fixes for old MacOS XLennart Poettering2009-10-151-4/+3
| | | | | | | | Change a few things a suggested in to make things work out-of-the-box on old MacOS X. https://bugzilla.gnome.org/show_bug.cgi?id=580301 http://bugzilla-attachments.gnome.org/attachment.cgi?id=133452
* fix loop exit in close_allv()Lennart Poettering2009-10-151-9/+14
|
* make things clean for -Wstrict-aliasingLennart Poettering2009-10-152-24/+42
|
* hide more filesLennart Poettering2009-10-151-0/+1
|
* minor build system updatesLennart Poettering2009-10-151-2/+7
|
* Check if the linker has an option to refuse undefined references.Diego E. 'Flameeyes' Pettenò2008-11-193-1/+28
| | | | | This ensures that hte library will be built in a way that will not fail when --as-needed is used.
* Use dnl instead of # for comments.Diego 'Flameeyes' Pettenò2008-10-281-24/+24
| | | | This way they don't get added to the generated configure script.
* Use the new CC_CHECK_CFLAGS_APPEND macro instead of a custom for.Diego 'Flameeyes' Pettenò2008-10-281-5/+1
|
* Update attributes.m4 from lscube projects.Diego 'Flameeyes' Pettenò2008-10-281-0/+28
|
* Create an improved function search macro, and use it to look for res_query.Diego 'Flameeyes' Pettenò2008-10-282-14/+88
| | | | | | | | | | Instead of using AC_SEARCH_LIBS or AC_CHECK_LIB, create a new macro to search for function in different libraries; this is needed since the function name might just be a (preprocessor) macro for another symbol. The new macro is released under GPL2 (or later) + exception, and allows to provide a custom source code to use to test for the function.
* update documentationv0.7Lennart Poettering2008-10-281-1/+5
|
* bump versionsLennart Poettering2008-10-281-2/+2
|
* make bootstrap work againLennart Poettering2008-10-281-1/+1
|
* Merge commit 'flameeyes/autoconf-2.62'Lennart Poettering2008-10-287-46/+304
|\ | | | | | | | | Conflicts: configure.ac
| * Split out the lynx documentation generation autoconf code to an m4 macro.Diego 'Flameeyes' Pettenò2008-08-262-18/+25
| | | | | | | | | | As many 0pointer projects use the same code, move it out on its own macro, and use that. The macro can then be shared across projects.
| * Fix CC_CHECK_CFLAGS when used in a for loop.Diego 'Flameeyes' Pettenò2008-08-261-4/+4
| | | | | | | | Use eval to make sure the correct variable name is tested.
| * Replace the CFLAGS-checking code with a common macro from xine-lib.Diego 'Flameeyes' Pettenò2008-08-262-23/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of writing custom code to check for cflags checking, import a copy of attributes.m4 from xine-lib's repository and use the CC_CHECK_CFLAGS macro. The advantage lies not only in being able to reduce the custom code in configure.ac, but also in the fact that the CC_CHECK_CFLAGS macro caches the results, making ./configure -C quite faster on second run. Check for the CFLAGS for any compiler and not just GCC, if the compiler does support the flag it is better to u se it anyway, otherwise it will be skipped.
| * Use AC_PROG_CC_C99 to discover C99-compliant compiler.Diego 'Flameeyes' Pettenò2008-08-261-1/+2
| | | | | | | | | | | | Instead of just checking if the compiler supports -std=c99 option, make use of the autoconf macro for discovering C99. This way other non-GCC compiler could be used in C99 mode too.
| * Ignore the m4 macro files added over by libtoolize --copy.Diego 'Flameeyes' Pettenò2008-08-261-0/+5
| |
| * Move ACX_PTHREAD macro from acinclude.m4 to m4/ directory.Diego 'Flameeyes' Pettenò2008-08-263-0/+3
| | | | | | | | | | | | | | | | | | Make this change because recent versions of libtool (2.2 series) copy over their m4 macro files if an m4/ directory is present, and because futher m4/ macro files might be added too. Also make sure the macro directory is announced to autoconf and is picked up by aclocal.
| * Check for assert.h header and allow to disable assertions.Diego 'Flameeyes' Pettenò2008-08-261-0/+1
| | | | | | | | | | | | | | In recent versions of autoconf, the AC_HEADER_ASSERT check not only makes sure that the assert.h header is found but it also allows the user to decide whether to enable or disable assertions at ./configure (rather than having to pass -DNDEBUG manually).
| * Don't symlink README in srcdir or it will fail on out-of-build trees.Diego 'Flameeyes' Pettenò2008-08-261-1/+1
| |
| * Install README files in doc/html directories.Diego 'Flameeyes' Pettenò2008-08-261-2/+3
| | | | | | | | | | | | | | | | | | | | Install and distribute README.html and style.css in the html directory. Install and distribute README in the doc directory. The htmldir and docdir entries are added by recent versionf of autoconf and are configurable, so that distributions don't need to handle installation of these manually.
| * Execute autoupdate.Diego 'Flameeyes' Pettenò2008-08-261-2/+2
| | | | | | | | | | Replaces AC_GNU_SOURCE with AC_USE_SYSTEM_EXTENSIONS and AC_HELP_STRING with AS_HELP_STRING (and quotes its parameters).
| * Bump autoconf requirement to 2.62 (latest released version).Diego 'Flameeyes' Pettenò2008-08-261-1/+1
| |
* | Rework thread shutdown logicLennart Poettering2008-10-281-42/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As it turns there were two issues with the current logic how we shut down the worker threads: - We asked the threads to shutdown by closing the socket that is the communication from the context to the worker thread. This is racy because other threads might allocate the same fd immediately after it was closed and our worker thread ends up reading from that new fd under some circumstances. - To avoid blocking on shutdown we only detached the thread -- not waiting for its termination. This will cause an immediate segfault when the libasyncns gets unloaded from memory, e.g. because it was loaded by DSO. We have to acknowledge thati we need to make sure all name lookups are terminated properly on destruction and that there is simply no clean way to cancel name loops unless they are done out-of-process.
* | Patch for asyncns.c on Mac OS XMikael Hallendal2008-10-262-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, The asyncns-test.c file needed the same fix but 'make check' still fails with the following error: Undefined symbols: "_res_9_dn_expand", referenced from: _main in asyncns-test.o _main in asyncns-test.o _main in asyncns-test.o ld: symbol(s) not found I haven't looked into where they are supposed to be defined though (about to run off for dinner here). Attaching small patch for async-test.c (also moved the header check into your already existing AC_CHECK_HEADERS). Cheers, Micke Signed-off-by: Lennart Poettering <lennart@poettering.net>
* | add missing check for arpa/nameser_compat.h on MacOSXLennart Poettering2008-10-261-0/+2
| |
* | Patch for asyncns.c on Mac OS XMikael Hallendal2008-10-261-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Lennart, I have a copy of libasyncns in Loudmouth and just updated it to the version in 0.6 which required the following patch in order to build on Mac OS X. * arpa/nameser_compat.h seems to get included by nameser.h on Linux but not on Mac OS X. * Removed an unused variable that caused the compiler to complain when building with warnings * Both Mac OS X and Linux seems to define NSIG (on Linux to _NSIG and on Mac OS X to __DARWIN_NSIG. Thanks for your nice work on the lib and hope the patch may be of some use. Cheers, Micke Signed-off-by: Lennart Poettering <lennart@poettering.net>
* | path MSG_NOSIGNAL to send()Lennart Poettering2008-10-261-8/+12
| |
* | fix download linkLennart Poettering2008-10-251-1/+1
| |
* | prepare 0.6v0.6Lennart Poettering2008-10-242-2/+8
| |
* | drop pthread cancelling code since it is problematic and completely redundantLennart Poettering2008-10-241-13/+0
| |
* | restore h_errno in addition to errnoLennart Poettering2008-09-291-7/+26
|/
* prepare v0.5v0.5Lennart Poettering2008-08-182-3/+7
|
* fix iteration through addrinfo when seriliazing (pointed out by Damien ↵Lennart Poettering2008-08-172-2/+2
| | | | Thébault)
* add link to Damien Thébault's libasyncns-pythonLennart Poettering2008-07-301-0/+2
|
* hide more files from gitLennart Poettering2008-07-282-0/+2
|
* document that changing _freeanswer() to wildly would be considered ABI/API ↵Lennart Poettering2008-07-281-0/+5
| | | | breakage
* update readmev0.4Lennart Poettering2008-07-271-7/+10
|
* hide asyncns-test from gitLennart Poettering2008-07-271-0/+1
|
* bump revisionLennart Poettering2008-07-271-1/+1
|
* save and restore errno where applicableLennart Poettering2008-07-271-9/+18
|
* fix potential memory alignment bugLennart Poettering2008-07-271-11/+13
|
* rearrange a few thingsLennart Poettering2008-07-271-18/+24
|
* pass fds to worker thread in a malloc'ed array to avoid raceLennart Poettering2008-07-271-4/+31
|