~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Tools/plget.m

Tags: upstream-1.20.0
ImportĀ upstreamĀ versionĀ 1.20.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
   */
20
20
 
21
 
#include "config.h"
22
 
#include        <Foundation/Foundation.h>
23
 
#include        <Foundation/NSArray.h>
24
 
#include        <Foundation/NSData.h>
25
 
#include        <Foundation/NSException.h>
26
 
#include        <Foundation/NSString.h>
27
 
#include        <Foundation/NSProcessInfo.h>
28
 
#include        <Foundation/NSUserDefaults.h>
29
 
#include        <Foundation/NSDebug.h>
30
 
#include        <Foundation/NSFileHandle.h>
31
 
#include        <Foundation/NSAutoreleasePool.h>
 
21
#import "common.h"
 
22
 
 
23
#import "Foundation/NSArray.h"
 
24
#import "Foundation/NSData.h"
 
25
#import "Foundation/NSDictionary.h"
 
26
#import "Foundation/NSException.h"
 
27
#import "Foundation/NSProcessInfo.h"
 
28
#import "Foundation/NSUserDefaults.h"
 
29
#import "Foundation/NSFileHandle.h"
 
30
#import "Foundation/NSAutoreleasePool.h"
32
31
 
33
32
 
34
33
/** <p> This tool extracts a string value from a dictionary in a property
51
50
  int                   count;
52
51
 
53
52
#ifdef GS_PASS_ARGUMENTS
54
 
  [NSProcessInfo initializeWithArguments:argv count:argc environment:env];
 
53
  GSInitializeProcess(argc, argv, env);
55
54
#endif
56
 
  pool = [NSAutoreleasePool new];
57
55
  proc = [NSProcessInfo processInfo];
58
56
  if (proc == nil)
59
57
    {