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

Commit3438065

Browse files
author
Michael Meskes
committed
- Renamed my own strndup() function because of a name clash.
1 parentf604b39 commit3438065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/ecpg/compatlib/informix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ deccopy(decimal * src, decimal * target)
135135
}
136136

137137
staticchar*
138-
strndup(constchar*str,size_tlen)
138+
ecpg_strndup(constchar*str,size_tlen)
139139
{
140140
intreal_len=strlen(str);
141141
intuse_len= (real_len>len) ?len :real_len;
@@ -156,7 +156,7 @@ strndup(const char *str, size_t len)
156156
int
157157
deccvasc(char*cp,intlen,decimal*np)
158158
{
159-
char*str=strndup(cp,len);/* decimal_in always converts the
159+
char*str=ecpg_strndup(cp,len);/* decimal_in always converts the
160160
* complete string */
161161
intret=0;
162162
numeric*result;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp