Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
73613382
Commit
73613382
authored
1 year ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolete patch
parent
0700951f
No related branches found
No related tags found
No related merge requests found
Pipeline
#5392
failed
1 year ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
3rdp/build/random_exit.patch
+0
-38
0 additions, 38 deletions
3rdp/build/random_exit.patch
with
0 additions
and
38 deletions
3rdp/build/random_exit.patch
deleted
100644 → 0
+
0
−
38
View file @
0700951f
--- random/unix.c.orig 2012-07-14 00:50:55.000000000 -0700
+++ random/unix.c 2012-07-14 00:52:28.000000000 -0700
@@ -161,7 +161,7 @@
process, which calls exit() rather than returning */
#define ENSURES_EXIT( x ) \
- if( !( x ) ) { assert( INTERNAL_ERROR ); exit( -1 ); }
+ if( !( x ) ) { assert( INTERNAL_ERROR ); _Exit( -1 ); }
/* The structure containing information on random-data sources. Each record
contains the source and a relative estimate of its usefulness (weighting)
@@ -544,7 +544,7 @@
/* We are the child, connect the read side of the pipe to stdout and
unplug stdin and stderr */
if( dup2( pipedes[ STDOUT_FILENO ], STDOUT_FILENO ) < 0 )
- exit( 127 );
+ _Exit( 127 );
if( ( fd = open( "/dev/null", O_RDWR ) ) > 0 )
{
dup2( fd, STDIN_FILENO );
@@ -616,7 +616,7 @@
#ifdef HAS_VFORK
_exit( 127 );
#else
- exit( 127 );
+ _Exit( 127 );
#endif /* Unixen that have vfork() */
}
@@ -1539,7 +1539,7 @@
/* "Thou child of the daemon, ... wilt thou not cease...?"
-- Acts 13:10 */
- exit( 0 );
+ _Exit( 0 );
}
/* Unix slow poll. If a few of the randomness sources create a large amount
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