1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-25 20:23:07 +03:00

Fix typos in the code

Author: Vignesh C
Reviewed-by: Dilip Kumar, Michael Paquier
Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
This commit is contained in:
Michael Paquier
2019-10-30 10:03:00 +09:00
parent 517bf2d910
commit 6ca86bb7e9
17 changed files with 23 additions and 23 deletions

View File

@@ -819,7 +819,7 @@ rfmtlong(long lng_val, const char *fmt, char *outbuf)
sign = 1;
if (leftalign)
{
/* can't use strncat(,,0) here, Solaris would freek out */
/* can't use strncat(,,0) here, Solaris would freak out */
if (sign)
if (signdone)
{

View File

@@ -17,7 +17,7 @@
#include "pgtypeslib_extern.h"
/* copy&pasted from .../src/backend/utils/adt/datetime.c
* and changesd struct pg_tm to struct tm
* and changed struct pg_tm to struct tm
*/
static void
AdjustFractSeconds(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale)
@@ -35,7 +35,7 @@ AdjustFractSeconds(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale
/* copy&pasted from .../src/backend/utils/adt/datetime.c
* and changesd struct pg_tm to struct tm
* and changed struct pg_tm to struct tm
*/
static void
AdjustFractDays(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale)
@@ -88,7 +88,7 @@ ISO8601IntegerWidth(const char *fieldstart)
/* copy&pasted from .../src/backend/utils/adt/datetime.c
* and changesd struct pg_tm to struct tm
* and changed struct pg_tm to struct tm
*/
static inline void
ClearPgTm(struct /* pg_ */ tm *tm, fsec_t *fsec)
@@ -104,7 +104,7 @@ ClearPgTm(struct /* pg_ */ tm *tm, fsec_t *fsec)
/* copy&pasted from .../src/backend/utils/adt/datetime.c
*
* * changesd struct pg_tm to struct tm
* * changed struct pg_tm to struct tm
*
* * Made the function static
*/
@@ -311,7 +311,7 @@ DecodeISO8601Interval(char *str,
/* copy&pasted from .../src/backend/utils/adt/datetime.c
* with 3 exceptions
*
* * changesd struct pg_tm to struct tm
* * changed struct pg_tm to struct tm
*
* * ECPG code called this without a 'range' parameter
* removed 'int range' from the argument list and