38
38
* --------------------------------------------------------------------------
40
* $Log: tsprintf.c,v $
41
* Revision 6.8 2001/04/17 13:49:55 beloslyu
42
* changes for Linux PPC, contributed by Gary Bader <gary.bader@utoronto.ca>
44
* Revision 6.7 2001/03/23 14:04:14 beloslyu
45
* fix the name of strnlen to my_strnlen. It appears IBM's AIX has it's own function with this name
47
* Revision 6.6 2000/12/28 21:25:14 vakatov
50
* Revision 6.5 2000/12/28 21:16:44 vakatov
51
* va_args(): use "int" to fetch a "short int" argument
53
* Revision 6.4 2000/07/19 20:54:48 vakatov
56
* Revision 6.3 1998/01/28 15:57:24 vakatov
57
* Nlm_TSPrintfArgs(): always ignore the "vsprintf()"'s return value;
58
* count the resultant string length using StrLen
60
* Revision 6.2 1997/12/04 22:05:35 vakatov
61
* Check for NULL string arg; cut the output instead of crashing the program
63
* Revision 6.1 1997/11/26 21:26:33 vakatov
64
* Fixed errors and warnings issued by C and C++ (GNU and Sun) compilers
66
* Revision 6.0 1997/08/25 18:17:40 madden
67
* Revision changed to 6.0
69
* Revision 1.5 1997/07/15 16:51:48 vakatov
70
* vsprintf_count_args() -- allow "fmt" be NULL(just return 0, don't crash)
72
* Revision 1.4 1996/12/03 21:48:33 vakatov
73
* Adopted for 32-bit MS-Windows DLLs
75
* Revision 1.3 1996/07/23 16:23:20 epstein
76
* fix for non-SYSV UNIX systems (e.g., SunOS 4)
78
* Revision 1.2 1996/07/22 15:27:31 vakatov
79
* Fixed "%c"-formatting bug
81
* Revision 1.1 1996/07/16 20:02:06 vakatov
40
* $Log: tsprintf.c,v $
41
* Revision 6.10 2003/12/12 23:28:25 dondosha
42
* Correction for Opteron, at suggestion from Nicolas Joly
44
* Revision 6.9 2002/03/11 16:55:43 ivanov
45
* Fixed fp_count() -- error with round-up numbers
47
* Revision 6.8 2001/04/17 13:49:55 beloslyu
48
* changes for Linux PPC, contributed by Gary Bader <gary.bader@utoronto.ca>
50
* Revision 6.7 2001/03/23 14:04:14 beloslyu
51
* fix the name of strnlen to my_strnlen. It appears IBM's AIX has it's own
52
* function with this name
54
* Revision 6.6 2000/12/28 21:25:14 vakatov
57
* Revision 6.5 2000/12/28 21:16:44 vakatov
58
* va_args(): use "int" to fetch a "short int" argument
60
* Revision 6.4 2000/07/19 20:54:48 vakatov
63
* Revision 6.3 1998/01/28 15:57:24 vakatov
64
* Nlm_TSPrintfArgs(): always ignore the "vsprintf()"'s return value;
65
* count the resultant string length using StrLen
67
* Revision 6.2 1997/12/04 22:05:35 vakatov
68
* Check for NULL string arg; cut the output instead of crashing the program
70
* Revision 6.1 1997/11/26 21:26:33 vakatov
71
* Fixed errors and warnings issued by C and C++ (GNU and Sun) compilers
73
* Revision 6.0 1997/08/25 18:17:40 madden
74
* Revision changed to 6.0
76
* Revision 1.5 1997/07/15 16:51:48 vakatov
77
* vsprintf_count_args() -- allow "fmt" be NULL(just return 0, don't crash)
79
* Revision 1.4 1996/12/03 21:48:33 vakatov
80
* Adopted for 32-bit MS-Windows DLLs
82
* Revision 1.3 1996/07/23 16:23:20 epstein
83
* fix for non-SYSV UNIX systems (e.g., SunOS 4)
85
* Revision 1.2 1996/07/22 15:27:31 vakatov
86
* Fixed "%c"-formatting bug
88
* Revision 1.1 1996/07/16 20:02:06 vakatov
85
91
* ==========================================================================