Implement linking

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16479 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-04-17 11:23:29 +00:00
parent 917cd26e5d
commit c8c0570073
6 changed files with 215 additions and 11 deletions

View file

@ -47,6 +47,17 @@ main ()
}
}
src = [defs stringForKey: @"LinkSrc"];
dst = [defs objectForKey: @"LinkDst"];
if (src != nil && dst != nil)
{
if ([mgr linkPath: src toPath: dst handler: handler] == NO)
{
NSLog(@"Link %@ to %@ failed", src, dst);
errors++;
}
}
src = [defs stringForKey: @"Remove"];
if (src != nil)
{