/** */
#import	<Foundation/Foundation.h>

int
main(int argc, char** argv, char **env)
{
  NSAutoreleasePool	*pool;
  NSString		*n;
  NSFileManager *mgr;
  BOOL isDirectory;

  pool = [NSAutoreleasePool new];

  mgr = [NSFileManager defaultManager];
  n = @"C:Documents and Settings\\Administrator\\GNUstep\\Defaults\\l.lck";
  printf("Looking up: %s (strlen = %d)\n", [n cString], [n length]);
  printf("Does file exist: ");
  if ([mgr fileExistsAtPath: n isDirectory: &isDirectory]) {
    printf("yes. isDir? %d\n", isDirectory);
  }
  else
    printf("no\n");

  n = @"C:\\Documents and Settings\\Administrator\\GNUstep\\Defaults\\.lck";
  printf("Looking up: %s (strlen = %d)\n", [n cString], [n length]);
  printf("Does file exist: ");
  if ([mgr fileExistsAtPath: n isDirectory: &isDirectory]) {
    printf("yes. isDir? %d\n", isDirectory);
  }
  else
    printf("no\n");

  n = @"C:Documents and Settings\\Administrator\\GNUstep\\Defaults\\.lck";
  printf("Looking up: %s (strlen = %d)\n", [n cString], [n length]);
  printf("Does file exist: ");
  if ([mgr fileExistsAtPath: n isDirectory: &isDirectory]) {
    printf("yes. isDir? %d\n", isDirectory);
  }
  else
    printf("no\n");

  [pool release];
  return 0;
}
