summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-10-07 15:42:26 +0300
committermonty@narttu.mysql.fi <>2003-10-07 15:42:26 +0300
commit6056cfadfcb07cda12f6dc01ec9c1ab07067ac69 (patch)
treed89c080ef636608e316f1166b1628cd1d902deec /extra
parent0091fa2e3266da6a17b0615a4696c25a4d36d664 (diff)
parent446d40e880c0e6ab6ac56b0082d4883ef5c7d467 (diff)
downloadmariadb-git-6056cfadfcb07cda12f6dc01ec9c1ab07067ac69.tar.gz
Merge with 4.0.16
Diffstat (limited to 'extra')
-rw-r--r--extra/comp_err.c4
-rw-r--r--extra/resolveip.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 07369aa565e..6c7fad6a270 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -63,7 +63,7 @@ int main(int argc,char *argv[])
return(1);
}
- VOID(count_rows(from,'"','}')); /* Calculate start-info */
+ VOID(count_rows(from,'"','{')); /* Calculate start-info */
if (!charset_name[0])
{
fprintf(stderr,"Character set is not specified in '%s'\n",*argv);
@@ -127,7 +127,7 @@ int main(int argc,char *argv[])
if (to)
fclose(to);
if (error)
- fprintf(stderr,"Can't uppdate messagefile %s, errno: %d\n",*argv,errno);
+ fprintf(stderr,"Can't update messagefile %s, errno: %d\n",*argv,errno);
exit(error);
return(0);
diff --git a/extra/resolveip.c b/extra/resolveip.c
index a9e5f16e576..12e6977c2ba 100644
--- a/extra/resolveip.c
+++ b/extra/resolveip.c
@@ -37,10 +37,9 @@ extern int h_errno;
#endif
#ifndef HAVE_IN_ADDR_T
-#define in_addr_t u_long
+#define in_addr_t ulong
#endif
-
static my_bool silent;
static struct my_option my_long_options[] =