2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-06 17:45:26 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Automatic Updater
b3ff8e5ae7 update copyright notice 2010-10-18 23:47:08 +00:00
Mark Andrews
7bce336186 2966. [bug] isc_print_vsnprintf() failed to check if there was
space available in the buffer when adding a left
                        justified character with a non zero width,
                        (e.g. "%-1c"). [RT #22270]
2010-10-18 03:59:05 +00:00
Automatic Updater
eb0e8ace24 update copyright notice 2008-02-18 23:46:59 +00:00
Mark Andrews
23d4dc13e1 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 04:06:40 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
069a2ad007 update copyright notice 2006-04-03 00:00:42 +00:00
Michael Graff
8c9c09dacf add <string.h> since we call strlen() here 2006-03-21 15:34:02 +00:00
Mark Andrews
69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
ffdfae8e41 1486. [bug] isc_print_snprintf() '%%' consumed one too many format
characters. [RT# 8230]
2003-07-18 02:27:40 +00:00
Mark Andrews
f95231835f 1475. [port] Probe for old sprintf(). 2003-06-24 06:24:44 +00:00
Mark Andrews
21f1794606 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
22a9cd54c0 1431. [bug] isc_print_snprintf() "%s" with precision could walk of
end of arguement. [RT #5191]
2003-02-25 21:32:07 +00:00
Andreas Gustafsson
d76b6ae2ad isc_print_vsnprintf() could throw an assertion failure when
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system.  Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf().  The only known such platform is SunOS 5.5.1. [RT #1312]
2001-05-16 00:52:55 +00:00
Andreas Gustafsson
042285a6a6 localization-wise, an assertion error message saying
(literally) "INSIST(isc_msgcat_get(isc_msgcat, ISC_MSGSET_PRINT, ISC_MSG_USELD,
"use %ld instead of %D") == NULL) failed" is not really any more user-friendly
than one saying just "INSIST("use %ld instead of %D" == NULL) failed
2001-02-22 19:12:57 +00:00
Andreas Gustafsson
9165c95fc2 use isc_int64_t, not long long 2001-02-22 18:03:11 +00:00
Andreas Gustafsson
4115f9d34b revert 'protect long long with ISC_PLATFORM_HAVELONGLONG' change 2001-02-22 18:01:48 +00:00
Mark Andrews
0490a61acd protect long long with ISC_PLATFORM_HAVELONGLONG 2001-02-21 06:13:33 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
David Lawrence
125a916d1a 637. [port] Use isc_u?int64_t instead of (unsigned) long long in
lib/isc/print.c.  Also allow lib/isc/print.c to
			be compiled even if the platform does not need it.
			[RT #592]

Also cleaned up some const issues.
2000-12-26 21:00:41 +00:00
David Lawrence
9cd6d409b7 first pass at using isc_msgcat_get for message strings in libisc 2000-12-06 00:30:32 +00:00
David Lawrence
3fdfcc7977 use symbolic constant for formatting 64 bit ints 2000-11-14 23:42:29 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00
Bob Halley
5188f8c6a5 include isc/util.h 2000-04-28 01:44:45 +00:00
Mark Andrews
d2ed254fb8 (..., "%03u", 2) was not zero filling 2000-04-26 21:15:14 +00:00
David Lawrence
6b526894f4 Quieted EGCS warnings from lib/isc/print.c 2000-04-26 17:45:15 +00:00
David Lawrence
94da1ee12c Needs <ctype.h>, <stdio.h> and <stdlib.h> for isdigit, snprintf and strtoul
respectively.

#error if ISC_PLATFORM_NEEDVSNPRINTF is not defined.
2000-04-26 02:20:31 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Mark Andrews
d2f992a5fb Only use %ll? when long long int != long int. 2000-01-28 01:48:45 +00:00
Bob Halley
89c250649e initialize uninitialized variable 1999-11-01 22:57:30 +00:00
Mark Andrews
34884bf789 #ifdef protect long doubles 1999-09-14 04:27:11 +00:00
Mark Andrews
cd71050434 ISC versions of vsnprint and snprintf. 1999-09-14 02:07:03 +00:00