FileAlias.m
changeset 29 8874aff14cc9
parent 16 ce9c83f7ec14
     1.1 --- a/FileAlias.m	Sun Jul 13 10:45:42 2008 -0700
     1.2 +++ b/FileAlias.m	Sun May 10 18:57:43 2009 -0700
     1.3 @@ -33,7 +33,7 @@
     1.4          }
     1.5          
     1.6          if( ! CheckOSErr(err,error) ) {
     1.7 -            Warn(@"FileAlias init failed with OSStatus %i",err);
     1.8 +            Warn(@"FileAlias init failed with OSStatus %i for %@",err,targetPath);
     1.9              [self release];
    1.10              return nil;
    1.11          }
    1.12 @@ -74,7 +74,7 @@
    1.13  
    1.14      self = [super init];
    1.15      if( self ) {
    1.16 -        Handle handle;
    1.17 +        Handle handle = NULL;
    1.18          unsigned length;
    1.19          const void *bytes = [arch decodeBytesForKey:@"aliasHandle" returnedLength: &length];
    1.20          if( bytes )