Deleted Added
full compact
main.c (201226) main.c (207113)
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Jordan K. Hubbard
6 * 18 July 1993
7 *
8 * This is the create module.
9 *
10 */
11
12#include <sys/cdefs.h>
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Jordan K. Hubbard
6 * 18 July 1993
7 *
8 * This is the create module.
9 *
10 */
11
12#include <sys/cdefs.h>
13__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/create/main.c 201226 2009-12-29 22:33:53Z ed $");
13__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/create/main.c 207113 2010-04-23 11:07:43Z flz $");
14
15#include <getopt.h>
16#include <err.h>
17
14
15#include <getopt.h>
16#include <err.h>
17
18#include "lib.h"
18#include <pkg.h>
19#include "create.h"
20
21match_t MatchType = MATCH_GLOB;
22char *Prefix = NULL;
23char *Comment = NULL;
24char *Desc = NULL;
25char *SrcDir = NULL;
26char *BaseDir = NULL;

--- 40 unchanged lines hidden (view full) ---

67};
68
69int
70main(int argc, char **argv)
71{
72 int ch;
73 char **pkgs, **start, *tmp;
74
19#include "create.h"
20
21match_t MatchType = MATCH_GLOB;
22char *Prefix = NULL;
23char *Comment = NULL;
24char *Desc = NULL;
25char *SrcDir = NULL;
26char *BaseDir = NULL;

--- 40 unchanged lines hidden (view full) ---

67};
68
69int
70main(int argc, char **argv)
71{
72 int ch;
73 char **pkgs, **start, *tmp;
74
75 pkg_wrap(PKG_INSTALL_VERSION, argv);
76
75 pkgs = start = argv;
76 while ((ch = getopt_long(argc, argv, opts, longopts, NULL)) != -1)
77 switch(ch) {
78 case 'v':
79 Verbose++;
80 break;
81
82 case 'x':

--- 181 unchanged lines hidden ---
77 pkgs = start = argv;
78 while ((ch = getopt_long(argc, argv, opts, longopts, NULL)) != -1)
79 switch(ch) {
80 case 'v':
81 Verbose++;
82 break;
83
84 case 'x':

--- 181 unchanged lines hidden ---