summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 10:34:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 10:34:31 (GMT)
commitc2077b0d9b5bf99768c6f396bf7ae6c41b682465 (patch)
tree8a1dc9e646a99465f4f1c9961012d52ef183e653 /PC
parent6905de14fef619767693f8bd91996bc7e99ca9fe (diff)
downloadcpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.zip
cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.gz
cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.bz2
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'PC')
-rw-r--r--PC/bdist_wininst/extract.c4
-rw-r--r--PC/bdist_wininst/install.c4
-rw-r--r--PC/os2emx/dlfcn.c2
-rw-r--r--PC/os2emx/dlfcn.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/PC/bdist_wininst/extract.c b/PC/bdist_wininst/extract.c
index fc2d2b9..c900f23 100644
--- a/PC/bdist_wininst/extract.c
+++ b/PC/bdist_wininst/extract.c
@@ -54,7 +54,7 @@ BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify)
return TRUE;
}
-/* XXX Should better explicitely specify
+/* XXX Should better explicitly specify
* uncomp_size and file_times instead of pfhdr!
*/
char *map_new_file(DWORD flags, char *filename,
@@ -164,7 +164,7 @@ extract_file(char *dst, char *src, int method, int comp_size,
zstream.avail_out = uncomp_size;
/* Apparently an undocumented feature of zlib: Set windowsize
- to negative values to supress the gzip header and be compatible with
+ to negative values to suppress the gzip header and be compatible with
zip! */
result = TRUE;
if (Z_OK != (x = inflateInit2(&zstream, -15))) {
diff --git a/PC/bdist_wininst/install.c b/PC/bdist_wininst/install.c
index f023019..2b1deef 100644
--- a/PC/bdist_wininst/install.c
+++ b/PC/bdist_wininst/install.c
@@ -147,7 +147,7 @@ BOOL pyc_compile, pyo_compile;
the permissions of the current user. */
HKEY hkey_root = (HKEY)-1;
-BOOL success; /* Installation successfull? */
+BOOL success; /* Installation successful? */
char *failure_reason = NULL;
HANDLE hBitmap;
@@ -765,7 +765,7 @@ run_installscript(char *pathname, int argc, char **argv, char **pOutput)
tempname = tempnam(NULL, NULL);
// We use a static CRT while the Python version we load uses
- // the CRT from one of various possibile DLLs. As a result we
+ // the CRT from one of various possible DLLs. As a result we
// need to redirect the standard handles using the API rather
// than the CRT.
redirected = CreateFile(
diff --git a/PC/os2emx/dlfcn.c b/PC/os2emx/dlfcn.c
index 47c046c..ebda9cd 100644
--- a/PC/os2emx/dlfcn.c
+++ b/PC/os2emx/dlfcn.c
@@ -188,7 +188,7 @@ inv_handle:
return NULL;
}
-/* free dynamicaly-linked library */
+/* free dynamically-linked library */
int dlclose(void *handle)
{
int rc;
diff --git a/PC/os2emx/dlfcn.h b/PC/os2emx/dlfcn.h
index 49abecf..f73ae69 100644
--- a/PC/os2emx/dlfcn.h
+++ b/PC/os2emx/dlfcn.h
@@ -42,7 +42,7 @@ void *dlopen(char *filename, int flags);
/* return a pointer to the `symbol' in DLL */
void *dlsym(void *handle, char *symbol);
-/* free dynamicaly-linked library */
+/* free dynamically-linked library */
int dlclose(void *handle);
/* return a string describing last occurred dl error */