Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d6facb

Browse files
author
Thomas G. Lockhart
committed
Modify one last line to complete changes for StrNCpy() macro addition.
Before, char16 was missing last character for output.
1 parent4677f0a commit0d6facb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/char.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.12 1997/10/2501:10:32 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.13 1997/10/2505:12:38 thomas Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -124,7 +124,7 @@ char16out(char *s)
124124
result[1]='\0';
125125
}
126126
else
127-
StrNCpy(result,s,16);
127+
StrNCpy(result,s,17);
128128
return (result);
129129
}
130130

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp