Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
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
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
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
0f37f04d
Commit
0f37f04d
authored
15 years ago
by
mh17
Browse files
Options
Downloads
Patches
Plain Diff
sanitised some type cast code for 63 bit systems
parent
bf5ead46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapServer/pipe/pipeServer.c
+11
-4
11 additions, 4 deletions
src/zmapServer/pipe/pipeServer.c
with
11 additions
and
4 deletions
src/zmapServer/pipe/pipeServer.c
+
11
−
4
View file @
0f37f04d
...
...
@@ -34,7 +34,7 @@
* HISTORY:
* Last edited: Jan 14 10:10 2010 (edgrif)
* Created: 2009-11-26 12:02:40 (mh17)
* CVS info: $Id: pipeServer.c,v 1.1
2
2010-01-
14 13:31:55 edgrif
Exp $
* CVS info: $Id: pipeServer.c,v 1.1
3
2010-01-
25 12:03:32 mh17
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -348,7 +348,7 @@ static ZMapServerResponseType openConnection(void *server_in)
{
ZMapServerResponseType
result
=
ZMAP_SERVERRESPONSE_REQFAIL
;
PipeServer
server
=
(
PipeServer
)
server_in
;
int
retval
;
int
retval
=
FALSE
;
if
(
server
->
gff_pipe
)
{
...
...
@@ -360,9 +360,16 @@ static ZMapServerResponseType openConnection(void *server_in)
GError
*
gff_pipe_err
=
NULL
;
if
(
server
->
scheme
==
SCHEME_FILE
)
// could spawn /bin/cat but there is no need
retval
=
(
gboolean
)
(
server
->
gff_pipe
=
g_io_channel_new_file
(
server
->
script_path
,
"r"
,
&
gff_pipe_err
));
{
if
((
server
->
gff_pipe
=
g_io_channel_new_file
(
server
->
script_path
,
"r"
,
&
gff_pipe_err
)))
retval
=
TRUE
;
}
else
retval
=
pipe_server_spawn
(
server
,
&
gff_pipe_err
);
{
if
(
pipe_server_spawn
(
server
,
&
gff_pipe_err
))
retval
=
TRUE
;
}
if
(
retval
)
{
result
=
ZMAP_SERVERRESPONSE_OK
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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