Skip to content

Commit 3d4cb5d

Browse files
committed
Update header comments for wchar.c and encnames.c.
Bring these into common style (including having proper copyright notices) and adjust their self-declaration of where they live. Discussion: https://postgr.es/m/CA+TgmoYO8oq-iy8E02rD8eX25T-9SmyxKWqqks5OMHxKvGXpXQ@mail.gmail.com
1 parent e6afa89 commit 3d4cb5d

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

src/common/encnames.c

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
/*
2-
* Encoding names and routines for work with it. All
3-
* in this file is shared between FE and BE.
1+
/*-------------------------------------------------------------------------
2+
*
3+
* encnames.c
4+
* Encoding names and routines for working with them.
5+
*
6+
* Portions Copyright (c) 2001-2020, PostgreSQL Global Development Group
7+
*
8+
* IDENTIFICATION
9+
* src/common/encnames.c
410
*
5-
* src/backend/utils/mb/encnames.c
11+
*-------------------------------------------------------------------------
612
*/
713
#ifdef FRONTEND
814
#include "postgres_fe.h"

src/common/wchar.c

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
/*
2-
* conversion functions between pg_wchar and multibyte streams.
3-
* Tatsuo Ishii
4-
* src/backend/utils/mb/wchar.c
1+
/*-------------------------------------------------------------------------
2+
*
3+
* wchar.c
4+
* Functions for working with multibyte characters in various encodings.
5+
*
6+
* Portions Copyright (c) 1998-2020, PostgreSQL Global Development Group
7+
*
8+
* IDENTIFICATION
9+
* src/common/wchar.c
510
*
11+
*-------------------------------------------------------------------------
612
*/
7-
/* can be used in either frontend or backend */
813
#ifdef FRONTEND
914
#include "postgres_fe.h"
1015
#else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy