mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-22 11:21:28 +00:00
fixup declaration of cmdQuit: to be oneway
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39068 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b45d3bc076
commit
d44f67f74d
5 changed files with 8 additions and 8 deletions
|
@ -150,7 +150,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
||||||
- (void) cmdPing: (id <CmdPing>)from
|
- (void) cmdPing: (id <CmdPing>)from
|
||||||
sequence: (unsigned)num
|
sequence: (unsigned)num
|
||||||
extra: (NSData*)data;
|
extra: (NSData*)data;
|
||||||
- (void) cmdQuit: (NSInteger)sig;
|
- (oneway void) cmdQuit: (NSInteger)sig;
|
||||||
- (void) command: (NSData*)dat
|
- (void) command: (NSData*)dat
|
||||||
to: (NSString*)t
|
to: (NSString*)t
|
||||||
from: (NSString*)f;
|
from: (NSString*)f;
|
||||||
|
@ -707,7 +707,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
||||||
[from cmdGnip: self sequence: num extra: nil];
|
[from cmdGnip: self sequence: num extra: nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) cmdQuit: (NSInteger)sig
|
- (oneway void) cmdQuit: (NSInteger)sig
|
||||||
{
|
{
|
||||||
if (sig == tStatus && control != nil)
|
if (sig == tStatus && control != nil)
|
||||||
{
|
{
|
||||||
|
|
|
@ -98,7 +98,7 @@ static BOOL commandIsRepeat (NSString *string)
|
||||||
return NO; // Not a client of the Command server
|
return NO; // Not a client of the Command server
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) cmdQuit: (NSInteger)sig
|
- (oneway void) cmdQuit: (NSInteger)sig
|
||||||
{
|
{
|
||||||
[timer invalidate];
|
[timer invalidate];
|
||||||
timer = nil;
|
timer = nil;
|
||||||
|
|
|
@ -342,7 +342,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
||||||
- (void) cmdPing: (id <CmdPing>)from
|
- (void) cmdPing: (id <CmdPing>)from
|
||||||
sequence: (unsigned)num
|
sequence: (unsigned)num
|
||||||
extra: (NSData*)data;
|
extra: (NSData*)data;
|
||||||
- (void) cmdQuit: (NSInteger)status;
|
- (oneway void) cmdQuit: (NSInteger)status;
|
||||||
- (void) command: (NSData*)dat
|
- (void) command: (NSData*)dat
|
||||||
from: (NSString*)f;
|
from: (NSString*)f;
|
||||||
- (BOOL) connection: (NSConnection*)ancestor
|
- (BOOL) connection: (NSConnection*)ancestor
|
||||||
|
@ -494,7 +494,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
||||||
[from cmdGnip: self sequence: num extra: nil];
|
[from cmdGnip: self sequence: num extra: nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) cmdQuit: (NSInteger)status
|
- (oneway void) cmdQuit: (NSInteger)status
|
||||||
{
|
{
|
||||||
[sink shutdown];
|
[sink shutdown];
|
||||||
exit (status);
|
exit (status);
|
||||||
|
|
|
@ -713,7 +713,7 @@ extern NSString* cmdVersion(NSString *ver);
|
||||||
* Subclasses should override this method to perform any pre-shutdown cleanup
|
* Subclasses should override this method to perform any pre-shutdown cleanup
|
||||||
* before they call the superclass implementation.
|
* before they call the superclass implementation.
|
||||||
*/
|
*/
|
||||||
- (void) cmdQuit: (NSInteger)status;
|
- (oneway void) cmdQuit: (NSInteger)status;
|
||||||
|
|
||||||
/** Returns non-zero (a signal) if the process has received a unix signal.
|
/** Returns non-zero (a signal) if the process has received a unix signal.
|
||||||
*/
|
*/
|
||||||
|
@ -879,7 +879,7 @@ extern NSString* cmdVersion(NSString *ver);
|
||||||
/** Should be over-ridden to perform extra tidy up on shutdown of the
|
/** Should be over-ridden to perform extra tidy up on shutdown of the
|
||||||
* process - should call [super cmdQuit:...] at the end of the method.
|
* process - should call [super cmdQuit:...] at the end of the method.
|
||||||
*/
|
*/
|
||||||
- (void) cmdQuit: (NSInteger)status;
|
- (oneway void) cmdQuit: (NSInteger)status;
|
||||||
|
|
||||||
/** Used to tell your application about configuration changes (the
|
/** Used to tell your application about configuration changes (the
|
||||||
* default implementation merges the configuration change into the
|
* default implementation merges the configuration change into the
|
||||||
|
|
|
@ -3630,7 +3630,7 @@ With two parameters ('maximum' and a number),\n\
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) cmdQuit: (NSInteger)status
|
- (oneway void) cmdQuit: (NSInteger)status
|
||||||
{
|
{
|
||||||
if (reservedPipe[1] > 0)
|
if (reservedPipe[1] > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue