1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Various minor capitalization and typo fixes (#371)

This commit fixes various minor typos, punctuation errors and
corrects the capitalization of many names.
This commit is contained in:
Johnothan King 2021-12-12 13:40:38 -08:00 committed by Martijn Dekker
parent cd562b16e2
commit e54001d58b
204 changed files with 779 additions and 784 deletions

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex alloc control
* POSIX regex alloc control
*/
#include "reglib.h"

View file

@ -24,7 +24,7 @@
/*
* regcomp() regex_t cache
* at&t research
* AT&T Research
*/
#include <ast.h>
@ -118,7 +118,7 @@ regcache(const char* pattern, regflags_t reflags, int* status)
/*
* flush the cache if the locale changed
* the ast setlocale() intercept maintains
* the AST setlocale() intercept maintains
* persistent setlocale() return values
*/

View file

@ -43,7 +43,7 @@ struct Ctype_s
static Ctype_t* ctypes;
/*
* this stuff gets around posix failure to define isblank,
* this stuff gets around pre-POSIX.1 failure to define isblank,
* and the fact that ctype functions are macros
* and any local extensions that may not even have functions or macros
*/

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex compiler
* POSIX regex compiler
*/
#include "reglib.h"

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex decompiler
* POSIX regex decompiler
*/
#include "reglib.h"

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex error message handler
* POSIX regex error message handler
*/
static const char id[] = "\n@(#)$Id: regex (AT&T Research) 2012-05-31 $\0\n";

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex executor
* POSIX regex executor
* single unsized-string interface
*/

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex fatal error interface to error()
* POSIX regex fatal error interface to error()
*/
#include "reglib.h"

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex state and alloc
* POSIX regex state and alloc
*/
#include "reglib.h"

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex implementation
* POSIX regex implementation
*
* based on Doug McIlroy's C++ implementation
* Knuth-Morris-Pratt adapted from Corman-Leiserson-Rivest
@ -72,7 +72,7 @@ typedef struct regsubop_s
#define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1)
#undef RE_DUP_MAX /* posix puts this in limits.h! */
#undef RE_DUP_MAX /* POSIX puts this in limits.h! */
#define RE_DUP_MAX (INT_MAX/2-1) /* 2*RE_DUP_MAX won't overflow */
#define RE_DUP_INF (RE_DUP_MAX+1) /* infinity, for * */
#define BACK_REF_MAX 9

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex executor
* POSIX regex executor
* single sized-record interface
*/

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex record executor
* POSIX regex record executor
* multiple record sized-buffer interface
*/

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex ed(1) style substitute compile
* POSIX regex ed(1) style substitute compile
*/
#include "reglib.h"

View file

@ -23,7 +23,7 @@
#pragma prototyped
/*
* posix regex ed(1) style substitute execute
* POSIX regex ed(1) style substitute execute
*/
#include "reglib.h"