Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6bf9f4e

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 eb3e90c commit 6bf9f4e

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
@@ -471,7 +471,7 @@ extern pqsigfunc pqsignal_no_restart(int signo, pqsigfunc func);
471471
/* port/quotes.c */
472472
extern char *escape_single_quotes_ascii(const char *src);
473473

474-
/* port/wait_error.c */
474+
/* common/wait_error.c */
475475
extern char *wait_result_to_str(int exit_status);
476476

477477
#endif /* PG_PORT_H */

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)