summaryrefslogtreecommitdiff
path: root/lib/compat/vsnprintf.c
AgeCommit message (Collapse)AuthorFilesLines
2014-08-09libcompat: Make the library testableGuillem Jover1-0/+2
This will allow us to guarantee the compatibility implementations at least build, and can eventually be tested.
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2012-01-16Fix typos (children)Guillem Jover1-1/+1
Found by Lintian.
2012-01-11libcompat: Use a different temporary file per process on vsnprintf()Guillem Jover1-1/+11
Avoid race conditions from childs after fork(2). Closes: #655411 Reported-by: Daniel Ruoso <daniel@ruoso.com>
2011-12-13libcompat: Do not ifdef out compatibility code definitionsGuillem Jover1-2/+0
The code is already selected (or not) to be included by the Makefile machinery, there's no need to disabled it too in the actual code, and not doing so will allow to test it later on.
2010-11-19Cleanup white spacesGuillem Jover1-1/+0
Remove trailing spaces. Remove blank lines not separating different code blocks. Remove blank lines at the end of the file.
2010-06-07Unify naming of va_list variables to args or args_copyGuillem Jover1-2/+2
2009-11-08Unify text in license headersGuillem Jover1-5/+5
Add a missing “of the License” after “version 2”. Move “but” and “GNU” at the end of line to the next line. This matches more closely the paragraph found in the license text for the GPL version 2.
2009-11-08Replace FSF address by pointing to the gnu.org URLGuillem Jover1-3/+2
Use the <http://www.gnu.org/licenses/> URL, instead of in most cases the outdated FSF address, which is way more stable, as the latter has changed several times in the past.
2009-10-26Sort order of header includesGuillem Jover1-1/+1
Place first <config.h> and <compat.h>, then all <sys/*.h> sorted by complexity, followed by the rest of the system headers, then <dpkg/*.h> and finally the local "*.h" ones. Move <dpkg/i18n.h> inclusion into libdpkg inclusion block, as the <gettext.h> compatibility header already takes care of including <locale.h> before <libintl.h> on environments were its probamatic. Removed duplicated inclusions.
2009-10-14libcompat: Handle 0 size case for C99 vsnprintf semanticsGuillem Jover1-1/+4
Reporter-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2009-07-15Move libraries to subdirectories under lib/Guillem Jover1-0/+70
This will allow to use the same include path than the future system one, for example “#include <dpkg/dpkg.h>”. It also unclutters the source topdir.