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
a2a838f8
Commit
a2a838f8
authored
Nov 22, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix
parent
964f7c63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysys/my_seek.c
mysys/my_seek.c
+3
-2
sql/stacktrace.c
sql/stacktrace.c
+1
-1
No files found.
mysys/my_seek.c
View file @
a2a838f8
...
@@ -20,7 +20,8 @@
...
@@ -20,7 +20,8 @@
/* Seek to position in file */
/* Seek to position in file */
/*ARGSUSED*/
/*ARGSUSED*/
my_off_t
my_seek
(
File
fd
,
my_off_t
pos
,
int
whence
,
myf
MyFlags
)
my_off_t
my_seek
(
File
fd
,
my_off_t
pos
,
int
whence
,
myf
MyFlags
__attribute__
((
unused
)))
{
{
reg1
os_off_t
newpos
;
reg1
os_off_t
newpos
;
DBUG_ENTER
(
"my_seek"
);
DBUG_ENTER
(
"my_seek"
);
...
@@ -40,7 +41,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence, myf MyFlags)
...
@@ -40,7 +41,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence, myf MyFlags)
/* Tell current position of file */
/* Tell current position of file */
/* ARGSUSED */
/* ARGSUSED */
my_off_t
my_tell
(
File
fd
,
myf
MyFlags
)
my_off_t
my_tell
(
File
fd
,
myf
MyFlags
__attribute__
((
unused
))
)
{
{
os_off_t
pos
;
os_off_t
pos
;
DBUG_ENTER
(
"my_tell"
);
DBUG_ENTER
(
"my_tell"
);
...
...
sql/stacktrace.c
View file @
a2a838f8
...
@@ -218,7 +218,7 @@ void write_core(int sig)
...
@@ -218,7 +218,7 @@ void write_core(int sig)
{
{
signal
(
sig
,
SIG_DFL
);
signal
(
sig
,
SIG_DFL
);
pthread_kill
(
pthread_self
(),
sig
);
pthread_kill
(
pthread_self
(),
sig
);
#if defined(P_
PID) && defined(P_
MYID)
#if defined(P_MYID)
/* On Solaris, the above kill is not enough */
/* On Solaris, the above kill is not enough */
sigsend
(
P_PID
,
P_MYID
,
sig
);
sigsend
(
P_PID
,
P_MYID
,
sig
);
#endif
#endif
...
...
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