summaryrefslogtreecommitdiff
path: root/src/backend/port/snprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* Move libc replacement files from src/backend/port to src/port.Bruce Momjian2002-07-181-470/+0
|
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-251-2/+1
| | | | tests pass.
* Restructure the key include files per recent pghackers discussion: thereTom Lane2001-02-101-3/+4
| | | | | | | | | | | are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
* Be more careful about the difference between signed and unsigned ints.Tom Lane2000-12-301-14/+13
| | | | Bug is revealed by OID regress test on 64-bit platforms.
* Ensure that all uses of <ctype.h> functions are applied to unsigned-charTom Lane2000-12-031-2/+2
| | | | | values, whether the local char type is signed or not. This is necessary for portability. Per discussion on pghackers around 9/16/00.
* Get rid of elog(DEBUG) in snprintf emulation ... it's justTom Lane1999-09-091-4/+1
| | | | cluttering the log file...
* Minor improvements to stringinfo package to make it moreTom Lane1999-08-311-5/+6
| | | | robust, since it's about to get used much more heavily.
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-7/+4
|
* Final cleanup.Bruce Momjian1999-07-161-3/+1
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-4/+1
|
* pgindent run over code.Bruce Momjian1999-05-251-12/+14
|
* From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier1999-02-211-3/+3
| | | | | | Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical.
* Add floating-point support to our emulation of snprintfTom Lane1999-02-061-64/+82
| | | | so that EXPLAIN works again.
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-031-3/+2
|
* Reverse out yesterday's patch from Horak Daniel, sinceTom Lane1999-01-171-2/+1
| | | | | | it fails to compile on any machine without a <features.h> header. If this header is actually necessary on Windows, perhaps an #if test is in order.
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-171-1/+2
|
* Add configure test to see whether vsnprintf() is present,Tom Lane1999-01-171-2/+2
| | | | | separately from snprintf() --- HPUX, for one, has snprintf but not vsnprintf. Fix a minor typo in snprintf.c, too.
* Fix for snprintf and long long unsigned.Bruce Momjian1998-12-241-2/+3
|
* Attached is a patch with some fixes that (I think that) should go intoBruce Momjian1998-12-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6.4.1. Here is the list: - The type int8 now works. In fact, the bug(s) were in src/backend/port/snprintf.c, so int8 is probably broken in every platform that hasn't a native snprintf/vsnprintf. The type itself worked as expected, only the output was wrong. Anyway, this patch should be checked in other platforms. - The regression tests for int2 and int4, which were broken due to differences in the error messages, are fixed. - The regression test for float8, which was broken in the reference platform, is also fixed. I don't know if the new file (float8-OSF1.out) will work on other platforms, but it might be worth to try it. - Two new template files are provided (alpha_cc, which includes optimization, and alpha_gcc), and src/templates/.similar is updated accordingly. src/templates/alpha should be removed from the distribution. *IMPORTANT NOTE*: I don't know if you can use gcc to compile postgres; I've written the alpha_gcc file because alpha_cc has some flags that are specific to DEC C. - There is a (very basic) Digital Unix specific FAQ in doc/FAQ_DigitalUnix. -- ------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19
* Fix for HAVE_LONG bug in snprintf.c.Bruce Momjian1998-12-181-31/+18
|
* Fix for snprintf with long long's, define problem.Bruce Momjian1998-12-181-12/+12
|
* Fix prototype for 64-bit platforms.Bruce Momjian1998-12-121-1/+7
|
* Cleanup for snprintf for long long's.Bruce Momjian1998-10-081-4/+44
|
* Fix snprintf.c for machines that don't have long long, like some Irix.Bruce Momjian1998-10-071-240/+307
|
* Fixes for Irix from Robert BruccoleriBruce Momjian1998-10-021-2/+5
|
* Add in, I think, support for %lld in snprintf(), specifically withMarc G. Fournier1998-09-231-2/+11
| | | | Irix in mind...
* fix for aix snprintfBruce Momjian1998-09-181-1/+3
|
* Porting efforts... :)Vadim B. Mikheev1998-09-101-37/+41
|
* Try this snprintf() implementation, used in sendmail...Marc G. Fournier1998-09-041-58/+309
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-19/+22
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-2/+2
|
* Adrian Hall reported a problem to me that snprintf() doesn't exist in, atMarc G. Fournier1998-08-011-0/+89
least, Solaris 2.5.1. We use it in backend/utils/adt/int8.c. Add a check to configure so that we see if it exists or not, and, if not, compile in snprintf.c from backend/port, which was taken from, and falls under the same Berkeley license as us, the FreeBSD libc/stdio ...