/[v1]/trunk/c++/src/dbapi/driver/ftds14/freetds/tds/packet.c
ViewVC logotype

Log of /trunk/c++/src/dbapi/driver/ftds14/freetds/tds/packet.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 102217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 9 15:01:41 2024 UTC (5 weeks, 3 days ago) by ucko
File length: 27523 byte(s)
Diff to previous 102159
FreeTDS 1.4.x: Address most implicit conversion warnings.

- Harmonize variable, parameter, etc. data types more fully.
- Adjust system API usage accordingly:
-- For some string constants, use sizeof() - 1 in lieu of strlen,
   taking care to ensure they come from array variables.
-- Keep format specifiers for printf et al. in sync with argument types.
-- dbprrow: Account for the fact that printf always uses int for
   dynamic widths by substituting memchr + fwrite.
-- odbc/prepare_query.c (prepared_rpc): Substitute atoi for strtol
   (already used with no endptr) when populating TDSINT4.
- Cast away some remaining discrepancies where safe, in some cases by
  taking advantage of TDS_PUT_* macros.
- ctlib.h: Explicitly define _CS_CURS_TYPE_* in terms of
  TDS_CURSOR_STATE_* rather than duplicating their values.
- tds_parse_conf_section: To legitimize a cast, tighten debug_flags'
  range check on systems where int is narrower than long.
- odbc_util.c: #include <stddef.h> for ptrdiff_t (now used in
  odbc_set_string_flag).

JIRA: CXX-13176.  TRUNK-1.00: 554179, 663035.  PARTIAL.

Revision 102159 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Apr 9 14:24:54 2024 UTC (5 weeks, 3 days ago) by ucko
File length: 27451 byte(s)
Add upstream FreeTDS files from the 1.4.12 release (2024-04-01).

Take them from the tarball, complete with generated private headers.
JIRA: CXX-13176.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure