Fix unmatched file identifications

Started by Masahiko Sawadaover 3 years ago3 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi,

I found that there are two .c and .h files whose identification in the
header comment doesn't match its actual path.

src/include/common/compression.h has:

* IDENTIFICATION
* src/common/compression.h
*-------------------------------------------------------------------------

src/fe_utils/cancel.c has:

* src/fe-utils/cancel.c
*
*------------------------------------------------------------------------

The attached small patch fixes them.

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/

Attachments:

v1-0001-Fix-unmatched-file-identifications.patchapplication/octet-stream; name=v1-0001-Fix-unmatched-file-identifications.patchDownload
From 44488913641dd8f4bba2104f27b4dcadda9adbc7 Mon Sep 17 00:00:00 2001
From: Masahiko Sawada <sawada.mshk@gmail.com>
Date: Tue, 9 Aug 2022 10:56:06 +0900
Subject: [PATCH v1] Fix unmatched file identifications.

---
 src/fe_utils/cancel.c            | 2 +-
 src/include/common/compression.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/fe_utils/cancel.c b/src/fe_utils/cancel.c
index d430866758..8d9ea19de2 100644
--- a/src/fe_utils/cancel.c
+++ b/src/fe_utils/cancel.c
@@ -9,7 +9,7 @@
  * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * src/fe-utils/cancel.c
+ * src/fe_utils/cancel.c
  *
  *------------------------------------------------------------------------
  */
diff --git a/src/include/common/compression.h b/src/include/common/compression.h
index 7aa4240a27..436b48104e 100644
--- a/src/include/common/compression.h
+++ b/src/include/common/compression.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *		  src/common/compression.h
+ *		  src/include/common/compression.h
  *-------------------------------------------------------------------------
  */
 
-- 
2.24.3 (Apple Git-128)

#2John Naylor
john.naylor@enterprisedb.com
In reply to: Masahiko Sawada (#1)
Re: Fix unmatched file identifications

On Tue, Aug 9, 2022 at 8:58 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:

I found that there are two .c and .h files whose identification in the
header comment doesn't match its actual path.

The attached small patch fixes them.

Pushed, thanks!

--
John Naylor
EDB: http://www.enterprisedb.com

#3Masahiko Sawada
sawada.mshk@gmail.com
In reply to: John Naylor (#2)
Re: Fix unmatched file identifications

On Tue, Aug 9, 2022 at 11:24 AM John Naylor
<john.naylor@enterprisedb.com> wrote:

On Tue, Aug 9, 2022 at 8:58 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:

I found that there are two .c and .h files whose identification in the
header comment doesn't match its actual path.

The attached small patch fixes them.

Pushed, thanks!

Thank you!

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/