Fix misc typos in comments.
authorHeikki Linnakangas
Wed, 23 Jan 2019 11:39:00 +0000 (13:39 +0200)
committerHeikki Linnakangas
Wed, 23 Jan 2019 11:50:50 +0000 (13:50 +0200)
Spotted mostly by Fabien Coelho.

Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre

contrib/pgcrypto/pgp-decrypt.c
src/include/port.h
src/pl/plpython/plpy_elog.c

index 7d31e5354b8f236216f476742d2c9c0aa4376517..96c344c30b786e5db17ab5f599094f55934078c8 100644 (file)
@@ -132,7 +132,7 @@ pgp_parse_pkt_hdr(PullFilter *src, uint8 *tag, int *len_p, int allow_ctx)
    int         res;
    uint8      *p;
 
-   /* EOF is normal here, thus we dont use GETBYTE */
+   /* EOF is normal here, thus we don't use GETBYTE */
    res = pullf_read(src, 1, &p);
    if (res < 0)
        return res;
index 0feddcdcaeaa9f38d9f29a09fdb95f724af75a0a..80a3556889d293a82fb267fea7702165074eb105 100644 (file)
@@ -481,7 +481,7 @@ extern pqsigfunc pqsignal_no_restart(int signo, pqsigfunc func);
 /* port/quotes.c */
 extern char *escape_single_quotes_ascii(const char *src);
 
-/* port/wait_error.c */
+/* common/wait_error.c */
 extern char *wait_result_to_str(int exit_status);
 extern bool wait_result_is_signal(int exit_status, int signum);
 extern bool wait_result_is_any_signal(int exit_status, bool include_command_not_found);
index bb864899f618aade745cd031e94233ce8a083356..c8eff49841478752696d0be2f2d4fd83cc17b70c 100644 (file)
@@ -242,7 +242,7 @@ PLy_traceback(PyObject *e, PyObject *v, PyObject *tb,
 
    *tb_depth = 0;
    initStringInfo(&tbstr);
-   /* Mimick Python traceback reporting as close as possible. */
+   /* Mimic Python traceback reporting as close as possible. */
    appendStringInfoString(&tbstr, "Traceback (most recent call last):");
    while (tb != NULL && tb != Py_None)
    {