mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Trivial MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21424 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a42eaf02f6
commit
18c6fddb3b
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSTask.m: Fix bug #13685 ... raise exception on an attempt
|
||||
to re-launch a task.
|
||||
|
||||
2005-07-04 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Documentation/ReleaseNotes.gsdoc: Update.
|
||||
|
|
|
@ -382,7 +382,7 @@ pty_slave(const char* name)
|
|||
* Launches the task.<br />
|
||||
* Raises an NSInvalidArgumentException if the launch path is not
|
||||
* set or if the subtask cannot be started for some reason
|
||||
* (eg. the executable does not exist).
|
||||
* (eg. the executable does not exist or the task has already been launched).
|
||||
*/
|
||||
- (void) launch
|
||||
{
|
||||
|
@ -1080,7 +1080,8 @@ quotedFromString(NSString *aString)
|
|||
|
||||
if (_hasLaunched)
|
||||
{
|
||||
return;
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"NSTask - task has already been launched"];
|
||||
}
|
||||
|
||||
lpath = [self _fullLaunchPath];
|
||||
|
@ -1308,7 +1309,8 @@ GSCheckTasks()
|
|||
|
||||
if (_hasLaunched)
|
||||
{
|
||||
return;
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"NSTask - task has already been launched"];
|
||||
}
|
||||
|
||||
lpath = [self _fullLaunchPath];
|
||||
|
|
Loading…
Reference in a new issue