mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:43:32 +03:00
tidy-up: OS names
Use these words and casing more consistently across text, comments and one curl tool output: AIX, ALPN, ANSI, BSD, Cygwin, Darwin, FreeBSD, GitHub, HP-UX, Linux, macOS, MS-DOS, MSYS, MinGW, NTLM, POSIX, Solaris, UNIX, Unix, Unicode, WINE, WebDAV, Win32, winbind, WinIDN, Windows, Windows CE, Winsock. Mostly OS names and a few more. Also a couple of other minor text fixups. Closes #14360
This commit is contained in:
parent
a4ad7dc5a3
commit
f81f351b9a
146 changed files with 355 additions and 358 deletions
|
|
@ -297,11 +297,11 @@ SANITIZEcode truncate_dryrun(const char *path, const size_t truncate_pos)
|
|||
*/
|
||||
|
||||
/*
|
||||
Extra sanitization MSDOS for file_name.
|
||||
Extra sanitization MS-DOS for file_name.
|
||||
|
||||
This is a supporting function for sanitize_file_name.
|
||||
|
||||
Warning: This is an MSDOS legacy function and was purposely written in a way
|
||||
Warning: This is an MS-DOS legacy function and was purposely written in a way
|
||||
that some path information may pass through. For example drive letter names
|
||||
(C:, D:, etc) are allowed to pass through. For sanitizing a filename use
|
||||
sanitize_file_name.
|
||||
|
|
@ -449,7 +449,7 @@ Rename file_name if it is a reserved dos device name.
|
|||
|
||||
This is a supporting function for sanitize_file_name.
|
||||
|
||||
Warning: This is an MSDOS legacy function and was purposely written in a way
|
||||
Warning: This is an MS-DOS legacy function and was purposely written in a way
|
||||
that some path information may pass through. For example drive letter names
|
||||
(C:, D:, etc) are allowed to pass through. For sanitizing a filename use
|
||||
sanitize_file_name.
|
||||
|
|
@ -558,7 +558,7 @@ SANITIZEcode rename_if_reserved_dos_device_name(char **const sanitized,
|
|||
}
|
||||
|
||||
/* This is the legacy portion from rename_if_dos_device_name that checks for
|
||||
reserved device names. It only works on MSDOS. On Windows XP the stat
|
||||
reserved device names. It only works on MS-DOS. On Windows XP the stat
|
||||
check errors with EINVAL if the device name is reserved. On Windows
|
||||
Vista/7/8 it sets mode S_IFREG (regular file or device). According to
|
||||
MSDN stat doc the latter behavior is correct, but that does not help us
|
||||
|
|
@ -603,7 +603,7 @@ char **__crt0_glob_function(char *arg)
|
|||
/*
|
||||
* Function to find CACert bundle on a Win32 platform using SearchPath.
|
||||
* (SearchPath is already declared via inclusions done in setup header file)
|
||||
* (Use the ASCII version instead of the unicode one!)
|
||||
* (Use the ASCII version instead of the Unicode one!)
|
||||
* The order of the directories it searches is:
|
||||
* 1. application's directory
|
||||
* 2. current working directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue