Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0554802f
Commit
0554802f
authored
Feb 06, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge 192.168.0.10:mysql/mysql-4.1-maint
into pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
parents
31aee856
665d9e30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
extra/perror.c
extra/perror.c
+4
-1
No files found.
extra/perror.c
View file @
0554802f
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment