Skip to content

Commit e46a475

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 c9ff6cb commit e46a475

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
@@ -477,7 +477,7 @@ extern pqsigfunc pqsignal(int signo, pqsigfunc func);
477477
/* port/quotes.c */
478478
extern char *escape_single_quotes_ascii(const char *src);
479479

480-
/* port/wait_error.c */
480+
/* common/wait_error.c */
481481
extern char *wait_result_to_str(int exit_status);
482482

483483
#endif /* PG_PORT_H */

src/pl/plpython/plpy_elog.c

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

214214
*tb_depth = 0;
215215
initStringInfo(&tbstr);
216-
/* Mimick Python traceback reporting as close as possible. */
216+
/* Mimic Python traceback reporting as close as possible. */
217217
appendStringInfoString(&tbstr, "Traceback (most recent call last):");
218218
while (tb != NULL && tb != Py_None)
219219
{

0 commit comments

Comments
 (0)