cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl and libcurl 7.21.0 v. VMS

From: Steven M. Schweda <sms_at_antinode.info>
Date: Thu, 17 Jun 2010 08:45:56 -0500 (CDT)

   Around here [*], "size_t" is "unsigned int", which leads to some
build-time complaints about potential problems in the SMTP code:

ALP $ @ [.packages.vms]build_vms.com large ldap
CC opts: /define = (HAVE_CONFIG_H=1, _LARGEFILE=1, USE_SSLEAY=1) /nolist /obje
ct = ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.packages.vms.ALPHA] /include =
([-.lib], [-.src], [-.packages.vms], [-.packages.vms.ALPHA])
%CURL-I-BLDHPSSL, building with HP SSL support
   OBJDIR = ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.packages.vms.ALPHA]
   EXEDIR = ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.packages.vms.ALPHA]
[...]
CC (opts) ALP$DKA0:[UTILITY.SOURCE.CURL.CURL-7^.21^.0.LIB]SMTP.C;1

      if(l <= 0)
.........^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "l" is being comp
ared with a relational operator to a constant whose value is not greater than ze
ro. This might not be what you intended.
at line number 415 in file ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.lib]smtp.
c;1

    if(l <= 0)
.......^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "l" is being comp
ared with a relational operator to a constant whose value is not greater than ze
ro. This might not be what you intended.
at line number 546 in file ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.lib]smtp.
c;1

    if(l <= 0)
.......^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "l" is being comp
ared with a relational operator to a constant whose value is not greater than ze
ro. This might not be what you intended.
at line number 579 in file ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.lib]smtp.
c;1

      if(l <= 0)
.........^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "l" is being comp
ared with a relational operator to a constant whose value is not greater than ze
ro. This might not be what you intended.
at line number 618 in file ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.lib]smtp.
c;1

  if(l <= 0)
.....^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "l" is being comp
ared with a relational operator to a constant whose value is not greater than ze
ro. This might not be what you intended.
at line number 709 in file ALP$DKA0:[UTILITY.SOURCE.CURL.curl-7^.21^.0.lib]smtp.
c;1
[...]

   In functions like smtp_auth_plain_data() and smtp_auth_login_user(),
which expect to return "-1" on errors, "size_t" might not be the ideal
(maximally portable) type to use.

   Otherwise, the build seemed to be painless. (I haven't actually
tested anything, but what could go wrong?)

[*]
ALP $ cc /version
HP C V7.3-009 on OpenVMS Alpha V8.3

------------------------------------------------------------------------

   Steven M. Schweda sms_at_antinode-info
   382 South Warwick Street (+1) 651-699-9818
   Saint Paul MN 55105-2547
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-17