Commit 0554802f authored by unknown's avatar unknown

Merge 192.168.0.10:mysql/mysql-4.1-maint

into  pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint

parents 31aee856 665d9e30
...@@ -217,8 +217,11 @@ int main(int argc,char *argv[]) ...@@ -217,8 +217,11 @@ int main(int argc,char *argv[])
On some system, like NETWARE, strerror(unknown_error) returns a On some system, like NETWARE, strerror(unknown_error) returns a
string 'Unknown Error'. To avoid printing it we try to find the string 'Unknown Error'. To avoid printing it we try to find the
error string by asking for an impossible big error message. error string by asking for an impossible big error message.
On Solaris 2.8 it might return NULL
*/ */
msg= strerror(10000); if ((msg= strerror(10000)) == NULL)
msg= "Unknown Error";
/* /*
Allocate a buffer for unknown_error since strerror always returns Allocate a buffer for unknown_error since strerror always returns
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment