Skip to content

Commit 2146718

Browse files
committed
Fix misc typos in comments.
Spotted mostly by Fabien Coelho. Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre
1 parent 6106f9d commit 2146718

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/pgcrypto/pgp-decrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pgp_parse_pkt_hdr(PullFilter *src, uint8 *tag, int *len_p, int allow_ctx)
132132
int res;
133133
uint8 *p;
134134

135-
/* EOF is normal here, thus we dont use GETBYTE */
135+
/* EOF is normal here, thus we don't use GETBYTE */
136136
res = pullf_read(src, 1, &p);
137137
if (res < 0)
138138
return res;

src/include/port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ extern pqsigfunc pqsignal_no_restart(int signo, pqsigfunc func);
481481
/* port/quotes.c */
482482
extern char *escape_single_quotes_ascii(const char *src);
483483

484-
/* port/wait_error.c */
484+
/* common/wait_error.c */
485485
extern char *wait_result_to_str(int exit_status);
486486
extern bool wait_result_is_signal(int exit_status, int signum);
487487
extern bool wait_result_is_any_signal(int exit_status, bool include_command_not_found);

src/pl/plpython/plpy_elog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ PLy_traceback(PyObject *e, PyObject *v, PyObject *tb,
242242

243243
*tb_depth = 0;
244244
initStringInfo(&tbstr);
245-
/* Mimick Python traceback reporting as close as possible. */
245+
/* Mimic Python traceback reporting as close as possible. */
246246
appendStringInfoString(&tbstr, "Traceback (most recent call last):");
247247
while (tb != NULL && tb != Py_None)
248248
{

0 commit comments

Comments
 (0)