Commit Graph
27 Commits
Author SHA1 Message Date
Michael Graff 371a74e0c1 pull up my changes from the mainline, to v9_2 2006-04-17 18:27:07 +00:00
Mark Andrews 9e4db62a34 update copyrights 2004-03-09 06:12:49 +00:00
Mark Andrews f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews 64e7419bab 1486. [bug] isc_print_snprintf() '%%' consumed one too many format
characters. [RT# 8230]
2003-07-18 02:43:30 +00:00
Mark Andrews e1e903b473 1431. [bug] isc_print_snprintf() "%s" with precision could walk off
end of arguement. [RT #5191]
2003-05-13 04:02:26 +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