Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiangyu Tong
server
Commits
d70f4827
Commit
d70f4827
authored
23 years ago
by
unknown
Browse files
Options
Downloads
Patches
Plain Diff
Portability fix
mysys/my_seek.c: Remove warning
parent
cb6fcd24
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
mysys/my_seek.c
+3
-2
3 additions, 2 deletions
mysys/my_seek.c
sql/stacktrace.c
+1
-1
1 addition, 1 deletion
sql/stacktrace.c
with
4 additions
and
3 deletions
mysys/my_seek.c
+
3
−
2
View file @
d70f4827
...
...
@@ -20,7 +20,8 @@
/* Seek to position in file */
/*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
;
DBUG_ENTER
(
"my_seek"
);
...
...
@@ -40,7 +41,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence, myf MyFlags)
/* Tell current position of file */
/* 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
;
DBUG_ENTER
(
"my_tell"
);
...
...
This diff is collapsed.
Click to expand it.
sql/stacktrace.c
+
1
−
1
View file @
d70f4827
...
...
@@ -218,7 +218,7 @@ void write_core(int sig)
{
signal
(
sig
,
SIG_DFL
);
pthread_kill
(
pthread_self
(),
sig
);
#if
defined(P_PID) &&
defined(P_MYID)
#if defined(P_MYID)
/* On Solaris, the above kill is not enough */
sigsend
(
P_PID
,
P_MYID
,
sig
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment