mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:13:31 +03:00
badwords: fix issues found in scripts and other files
Single pass, not enforced. Also: - pyspelling.words: drop `web page` Closes #19572
This commit is contained in:
parent
42c43f695c
commit
ad35ecba97
45 changed files with 104 additions and 105 deletions
|
|
@ -29,4 +29,4 @@
|
|||
|
||||
PARM KWD(CMDARGS) TYPE(*CHAR) LEN(5000) VARY(*YES *INT2) +
|
||||
CASE(*MIXED) EXPR(*YES) MIN(1) +
|
||||
PROMPT('Curl command arguments')
|
||||
PROMPT('curl command arguments')
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ fi
|
|||
if [ -n "${LINK}" ]
|
||||
then rm -rf "${LIBIFSNAME}/${STATBNDDIR}.BNDDIR"
|
||||
CMD="CRTBNDDIR BNDDIR(${TARGETLIB}/${STATBNDDIR})"
|
||||
CMD="${CMD} TEXT('LibCurl API static binding directory')"
|
||||
CMD="${CMD} TEXT('libcurl API static binding directory')"
|
||||
CLcommand "${CMD}"
|
||||
|
||||
for MODULE in ${MODULES}
|
||||
|
|
@ -173,7 +173,7 @@ fi
|
|||
if [ -n "${LINK}" ]
|
||||
then rm -rf "${LIBIFSNAME}/${DYNBNDDIR}.BNDDIR"
|
||||
CMD="CRTBNDDIR BNDDIR(${TARGETLIB}/${DYNBNDDIR})"
|
||||
CMD="${CMD} TEXT('LibCurl API dynamic binding directory')"
|
||||
CMD="${CMD} TEXT('libcurl API dynamic binding directory')"
|
||||
CLcommand "${CMD}"
|
||||
CMD="ADDBNDDIRE BNDDIR(${TARGETLIB}/${DYNBNDDIR})"
|
||||
CMD="${CMD} OBJ((*LIBL/${SRVPGM} *SRVPGM))"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
* Curl header API: extract headers post transfer
|
||||
* curl header API: extract headers post transfer
|
||||
*
|
||||
h DFTACTGRP(*NO) ACTGRP(*NEW)
|
||||
h OPTION(*NOSHOWCPY)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
* Curl MIME post data and display response
|
||||
* curl MIME post data and display response
|
||||
*
|
||||
h DFTACTGRP(*NO) ACTGRP(*NEW)
|
||||
h OPTION(*NOSHOWCPY)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
* Curl get in memory and count HTML tags
|
||||
* curl get in memory and count HTML tags
|
||||
*
|
||||
h DFTACTGRP(*NO) ACTGRP(*NEW)
|
||||
h OPTION(*NOSHOWCPY)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
* Curl simple URL request
|
||||
* curl simple URL request
|
||||
*
|
||||
h DFTACTGRP(*NO) ACTGRP(*NEW)
|
||||
h OPTION(*NOSHOWCPY)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
* Curl simple URL request (free-format RPG)
|
||||
* curl simple URL request (free-format RPG)
|
||||
*
|
||||
ctl-opt dftactgrp(*NO) actgrp(*NEW)
|
||||
option(*NOSHOWCPY)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
* Curl SMTP send source member as attachment
|
||||
* curl SMTP send source member as attachment
|
||||
*
|
||||
h DFTACTGRP(*NO) ACTGRP(*NEW)
|
||||
h OPTION(*NOSHOWCPY)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ $!
|
|||
$! The PCSI system can really only handle ODS-2 format filenames and
|
||||
$! assumes that there is only one source directory. It also assumes that
|
||||
$! all destination files with the same name come from the same source file.
|
||||
$! Fortunately CURL does not trip most of these issues, so those steps
|
||||
$! Fortunately curl does not trip most of these issues, so those steps
|
||||
$! above are marked N/A.
|
||||
$!
|
||||
$! A rename action section is needed to make sure that the files are
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ $! File: Build_GNV_curl_pcsi_text.com
|
|||
$!
|
||||
$! Build the *.pcsi$text file from the four components:
|
||||
$! 1. Generated =product header section
|
||||
$! 2. [--]readme. file from the Curl distribution, modified to fit
|
||||
$! 2. [--]readme. file from the curl distribution, modified to fit
|
||||
$! a pcsi$text file format.
|
||||
$! 3. [--]copying file from the Curl distribution, modified to fit
|
||||
$! 3. [--]copying file from the curl distribution, modified to fit
|
||||
$! a pcsi$text file format.
|
||||
$! 4. Generated Producer section.
|
||||
$!
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ $!
|
|||
$! Build the release note file from the four components:
|
||||
$! 1. The curl_release_note_start.txt
|
||||
$! 2. The hp_ssl_release_info.txt
|
||||
$! 3. [--]readme. file from the Curl distribution.
|
||||
$! 3. [--]readme. file from the curl distribution.
|
||||
$! 4. The Curl_gnv-build_steps.txt.
|
||||
$!
|
||||
$! Set the name of the release notes from the GNV_PCSI_FILENAME_BASE
|
||||
|
|
@ -42,7 +42,7 @@ $ curl_readme = f$search("sys$disk:[--]$README.")
|
|||
$ endif
|
||||
$ if curl_readme .eqs. ""
|
||||
$ then
|
||||
$ write sys$output "Can not find Curl readme file."
|
||||
$ write sys$output "Can not find curl readme file."
|
||||
$ goto all_exit
|
||||
$ endif
|
||||
$!
|
||||
|
|
@ -53,7 +53,7 @@ $ curl_copying = f$search("sys$disk:[--]$COPYING.")
|
|||
$ endif
|
||||
$ if curl_copying .eqs. ""
|
||||
$ then
|
||||
$ write sys$output "Can not find Curl copying file."
|
||||
$ write sys$output "Can not find curl copying file."
|
||||
$ goto all_exit
|
||||
$ endif
|
||||
$!
|
||||
|
|
@ -64,7 +64,7 @@ $ vms_readme = f$search("sys$disk:[]$README.")
|
|||
$ endif
|
||||
$ if vms_readme .eqs. ""
|
||||
$ then
|
||||
$ write sys$output "Can not find VMS specific Curl readme file."
|
||||
$ write sys$output "Can not find VMS specific curl readme file."
|
||||
$ goto all_exit
|
||||
$ endif
|
||||
$!
|
||||
|
|
@ -75,7 +75,7 @@ $ curl_release_notes = f$search("sys$disk:[--]$RELEASE-NOTES.")
|
|||
$ endif
|
||||
$ if curl_release_notes .eqs. ""
|
||||
$ then
|
||||
$ write sys$output "Can not find Curl release-notes file."
|
||||
$ write sys$output "Can not find curl release-notes file."
|
||||
$ goto all_exit
|
||||
$ endif
|
||||
$!
|
||||
|
|
|
|||
|
|
@ -516,7 +516,7 @@ $ endif
|
|||
$!
|
||||
$!
|
||||
$! CC /LIST, LINK /MAP, and MESSAGE /LIST are defaults in batch mode,
|
||||
$! so be explicit when they're not desired.
|
||||
$! so be explicit when they are not desired.
|
||||
$!
|
||||
$
|
||||
$ if list .eq. 0
|
||||
|
|
@ -744,7 +744,7 @@ $ endif
|
|||
$ if ((f$search(ossl_lib1) .eqs. "") .or. -
|
||||
(f$search(ossl_lib2) .eqs. ""))
|
||||
$ then
|
||||
$ write sys$output "Can't find OpenSSL ''msg':"
|
||||
$ write sys$output "Cannot find OpenSSL ''msg':"
|
||||
$ write sys$output " ''ossl_lib1'"
|
||||
$ write sys$output " ''ossl_lib2'"
|
||||
$ goto Common_Exit
|
||||
|
|
@ -943,7 +943,7 @@ $ reset = f$search( "reset", 1)
|
|||
$Loop:
|
||||
$ file = f$search( search, 1)
|
||||
$ if file .eqs. "" then goto EndLoop
|
||||
$! Skip a name if it's in the P4 exclusion list.
|
||||
$! Skip a name if it is in the P4 exclusion list.
|
||||
$ if (p4 .nes. "")
|
||||
$ then
|
||||
$ name__ = "," + -
|
||||
|
|
@ -1016,7 +1016,7 @@ $ endif
|
|||
$ ENDSUBROUTINE ! Compile
|
||||
$!
|
||||
$! Do a diff of the file specified in P1 with that in P2. If different
|
||||
$! copy P1 to P2. This also covers if P2 doesn't exist, but not if P2
|
||||
$! copy P1 to P2. This also covers if P2 does not exist, but not if P2
|
||||
$! is an invalid filespec.
|
||||
$!
|
||||
$MoveIfDiff: subroutine
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ $ then
|
|||
$ ref_fname = f$edit(ref_fname, "LOWERCASE")
|
||||
$ endif
|
||||
$!
|
||||
$! These files are in the wrong format for VMS diff, and we don't change them.
|
||||
$! These files are in the wrong format for VMS diff, and we do not change them.
|
||||
$ ref_skip = 0
|
||||
$ if ref_type .eqs. ".PDF" then ref_skip = 1
|
||||
$ if ref_type .eqs. ".HTML" then ref_skip = 1
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
* will turn on some CRTL features that are not enabled by default.
|
||||
*
|
||||
* The CRTL features can also be turned on via logical names, but that
|
||||
* impacts all programs and some aren't ready, willing, or able to handle
|
||||
* impacts all programs and some are not ready, willing, or able to handle
|
||||
* those settings.
|
||||
*
|
||||
* On VMS versions that are too old to use the feature setting API, this
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ From File: curl_gnv_build_steps.txt
|
|||
|
||||
SPDX-License-Identifier: ISC
|
||||
|
||||
Currently building Curl using GNV takes longer than building Curl via DCL.
|
||||
Currently building curl using GNV takes longer than building curl via DCL.
|
||||
The GNV procedure actually uses the same configure and makefiles that
|
||||
Unix builds use.
|
||||
|
||||
Building CURL on OpenVMS using GNV requires GNV V2.1-2 or the updated
|
||||
Building curl on OpenVMS using GNV requires GNV V2.1-2 or the updated
|
||||
images that are available via anonymous FTP at encompasserve.org in the gnv
|
||||
directory. It also requires the GNV Bash 4.2.45 kit as an update from the
|
||||
same location or from the sourceforge.net GNV project.
|
||||
|
|
@ -100,7 +100,7 @@ Note to builders:
|
|||
|
||||
GNV currently has a bug where configure scripts take a long time to run.
|
||||
Some of the configure steps take a while to complete, and on a 600 Mhz
|
||||
DS10 with IDE disks, taking an hour to run the CURL configure is normal.
|
||||
DS10 with IDE disks, taking an hour to run the curl configure is normal.
|
||||
|
||||
The following messages can be ignored and may get fixed in a future version
|
||||
of GNV. The GNV$*.OPT files are used to find the libraries as many have
|
||||
|
|
|
|||
|
|
@ -16,16 +16,16 @@ OpenVMS specific building and kitting instructions are after the standard
|
|||
curl readme file.
|
||||
|
||||
This product may be available for your platform in a PCSI kit. The source kit
|
||||
contains files for building CURL using GNV or with a DCL procedure.
|
||||
contains files for building curl using GNV or with a DCL procedure.
|
||||
|
||||
The GNV based build creates a libcurl share imaged which is supplied in the
|
||||
PCSI kit.
|
||||
|
||||
This version of CURL will return VMS compatible status codes when run from
|
||||
This version of curl will return VMS compatible status codes when run from
|
||||
DCL and Unix compatible exit codes and messages when run with the SHELL
|
||||
environment variable set.
|
||||
|
||||
This port of Curl uses the OpenSSL, Ldap, and Kerberos V5 that are bundled
|
||||
This port of curl uses the OpenSSL, Ldap, and Kerberos V5 that are bundled
|
||||
with OpenVMS or supplied as updates by HP. Ldap and Kerberos are not available
|
||||
on the VAX platform. See section below for a special note about HP OpenSSL
|
||||
on Alpha and IA64.
|
||||
|
|
@ -61,7 +61,7 @@ For the HP SSL work around to work for GNV do the following:
|
|||
Similar workarounds will be needed for any program linked with GNV$LIBCURL
|
||||
until the HP OpenSSL is upgraded to the current 1.4 version or later.
|
||||
|
||||
If you are installing a "daily" build instead of a release build of Curl, some
|
||||
If you are installing a "daily" build instead of a release build of curl, some
|
||||
things have been changed so that it can be installed at the same time as
|
||||
a production build without conflicts.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
$! File: curl_Startup.com
|
||||
$!
|
||||
$! Procedure to setup the CURL libraries for use by programs from the
|
||||
$! Procedure to setup the curl libraries for use by programs from the
|
||||
$! VMS SYSTARTUP*.COM procedure.
|
||||
$!
|
||||
$! Copyright (C) John Malmberg
|
||||
|
|
@ -75,7 +75,7 @@ $ define/system/exec gnv$curl_ssl_libcryptoshr32 'curl_ssl_libcrypto32'
|
|||
$ define/system/exec gnv$curl_ssl_libsslshr32 'curl_ssl_libssl32'
|
||||
$!
|
||||
$!
|
||||
$! CURL setup
|
||||
$! curl setup
|
||||
$ define/system/exec gnv$libcurl gnv$gnu:[usr.lib]GNV$LIBCURL.EXE
|
||||
$ define/system/exec gnv$curl_include gnv$gnu:[usr.include.curl]
|
||||
$ if .not. f$file_attributes("gnv$libcurl", "known")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
$! File: GENERATE_CONFIG_H_CURL.COM
|
||||
$!
|
||||
$! Curl like most open source products uses a variant of a config.h file.
|
||||
$! curl like most open source products uses a variant of a config.h file.
|
||||
$! Depending on the curl version, this could be config.h or curl_config.h.
|
||||
$!
|
||||
$! For GNV based builds, the configure script is run and that produces
|
||||
|
|
@ -197,7 +197,7 @@ $write cvh "#define __CONFIG_VMS_H__"
|
|||
$write cvh ""
|
||||
$write cvh "/* Define cpu-machine-OS */"
|
||||
$!
|
||||
$! Curl uses an OS macro to set the build environment.
|
||||
$! curl uses an OS macro to set the build environment.
|
||||
$!----------------------------------------------------
|
||||
$! Now the DCL builds usually say xxx-HP-VMS and configure scripts
|
||||
$! may put DEC or COMPAQ or HP for the middle part.
|
||||
|
|
@ -345,7 +345,7 @@ $!
|
|||
$!
|
||||
$! I can not figure out where the C compiler is finding the ALLOCA.H file
|
||||
$! in the text libraries, so CONFIG_H.COM can not find it either.
|
||||
$! Usually the header file name is the module name in the text library.
|
||||
$! Usually the header filename is the module name in the text library.
|
||||
$! It does not appear to hurt anything to not find header file, so we
|
||||
$! are not overriding it here.
|
||||
$!
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# File: gnv_curl_configure.sh
|
||||
#
|
||||
# Set up and run the configure script for Curl so that it can find the
|
||||
# Set up and run the configure script for curl so that it can find the
|
||||
# proper options for VMS.
|
||||
#
|
||||
# Copyright (C) John Malmberg
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ This package is built on with the OpenSSL version listed below and requires
|
|||
the shared images from the HP OpenSSL product that is kitted with that
|
||||
version or a compatible later version.
|
||||
|
||||
For Alpha and IA64 platforms, see the url below to register to get the
|
||||
For Alpha and IA64 platforms, see the URL below to register to get the
|
||||
download URL. The kit will be HP 1.4-467 or later.
|
||||
https://h41379.www4.hpe.com/openvms/products/ssl/ssl.html
|
||||
|
||||
|
|
@ -269,10 +269,10 @@ download URLs provided and put in CPQ-VAXVMS-SSL-V0101-B-1.PCSI-DCX_VAXEXE
|
|||
If your system can not be upgraded to a compatible version of OpenSSL, then
|
||||
you can extract the two shared images from the kit and place them in the
|
||||
[vms$common.gnv.lib]directory of the volume that you are installing GNV and
|
||||
or GNV compatible components like Curl.
|
||||
or GNV compatible components like curl.
|
||||
|
||||
If GNV is installed, you must run the GNV startup procedure before these steps
|
||||
and before installing Curl.
|
||||
and before installing curl.
|
||||
|
||||
|
||||
1. make sure that [vms$common.gnv.lib] exists by using the following
|
||||
|
|
@ -387,7 +387,7 @@ $!
|
|||
$ if f$search("[.src]curl-tool_main.o") .nes. ""
|
||||
$ then
|
||||
$! From src/makefile.inc:
|
||||
$! # libcurl has sources that provide functions named curlx_* that aren't
|
||||
$! # libcurl has sources that provide functions named curlx_* that are not
|
||||
$! # part of the official API, but we reuse the code here to avoid
|
||||
$! # duplication.
|
||||
$!
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# File: make_gnv_curl_install.sh
|
||||
#
|
||||
# Set up and run the make script for Curl.
|
||||
# Set up and run the make script for curl.
|
||||
#
|
||||
# This makes the library, the curl binary and attempts an install.
|
||||
# A search list should be set up for GNU (GNV$GNU).
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
! File: PCSI_GNV_CURL_FILE_LIST.TXT
|
||||
!
|
||||
! File list for building a PCSI kit.
|
||||
! Very simple format so that the parsing logic can be simple.
|
||||
! Simple format so that the parsing logic can be simple.
|
||||
! links first, directory second, and files third.
|
||||
!
|
||||
! link -> file tells procedure to create/remove a link on install/uninstall
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
$! File: PCSI_PRODUCT_GNV_CURL.COM
|
||||
$!
|
||||
$! This command file packages up the product CURL into a sequential
|
||||
$! This command file packages up the product curl into a sequential
|
||||
$! format kit
|
||||
$!
|
||||
$! Copyright (C) John Malmberg
|
||||
|
|
@ -85,8 +85,8 @@ $ endif
|
|||
$ @gnv_link_curl.com
|
||||
$ endif
|
||||
$!
|
||||
$! Make sure that the release note file name is up to date
|
||||
$!---------------------------------------------------------
|
||||
$! Make sure that the release note filename is up to date
|
||||
$!--------------------------------------------------------
|
||||
$ @BUILD_GNV_CURL_RELEASE_NOTES.COM
|
||||
$!
|
||||
$!
|
||||
|
|
|
|||
|
|
@ -202,17 +202,17 @@ Other Notes:
|
|||
This release fixes known bugs #22, and #57 in the [curl.docs]known_bugs.
|
||||
file.
|
||||
|
||||
The libcurl formdata.c module and Curl tools post form now have some
|
||||
The libcurl formdata.c module and curl tools post form now have some
|
||||
understanding of VMS file types. Files will be posted in STREAM_LF format.
|
||||
|
||||
The Curl tool now has some understanding of VMS file types and will upload the
|
||||
The curl tool now has some understanding of VMS file types and will upload the
|
||||
files in STREAM_LF format.
|
||||
|
||||
When CURL is uploading a VARIABLE format VMS file, it is less efficient as in
|
||||
When curl is uploading a VARIABLE format VMS file, it is less efficient as in
|
||||
order to get the file size, it will first read the entire file once, and then
|
||||
read the file again for the actual upload.
|
||||
|
||||
The Curl tool will now always download files into STREAM_LF format. Even if a
|
||||
The curl tool will now always download files into STREAM_LF format. Even if a
|
||||
file by that name with a different format already exists. This is needed to
|
||||
allow interrupted downloads to be continued.
|
||||
|
||||
|
|
@ -225,4 +225,4 @@ The test suites are not supported as of 7.11.0.
|
|||
The curlmsg.sdl and curlmsg.h files are generated from curlmsg.msg.
|
||||
This is not done automatically, since the .MSG file is a hand edit
|
||||
of the relevant stuff from the curl.h file. If you want to do this
|
||||
yourself you'll need the SDL package from the freeware collection.
|
||||
yourself you need the SDL package from the freeware collection.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
$! File: setup_gnv_curl_build.com
|
||||
$!
|
||||
$! Set up build environment for building Curl under GNV on VMS.
|
||||
$! Set up build environment for building curl under GNV on VMS.
|
||||
$!
|
||||
$! GNV needs some files moved into the other directories to help with
|
||||
$! the configure script and the build.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue