Deleted Added
full compact
main.c (151188) main.c (159554)
1/*
2 *
3 * FreeBSD install - a package for the installation and maintainance
4 * of non-core utilities.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

15 * Jordan K. Hubbard
16 * 18 July 1993
17 *
18 * This is the delete module.
19 *
20 */
21
22#include <sys/cdefs.h>
1/*
2 *
3 * FreeBSD install - a package for the installation and maintainance
4 * of non-core utilities.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

15 * Jordan K. Hubbard
16 * 18 July 1993
17 *
18 * This is the delete module.
19 *
20 */
21
22#include <sys/cdefs.h>
23__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/delete/main.c 151188 2005-10-10 08:38:21Z krion $");
23__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/delete/main.c 159554 2006-06-12 22:39:32Z obrien $");
24
25#include <sys/types.h>
26#include <sys/stat.h>
27#include <err.h>
28#include "lib.h"
29#include "delete.h"
30
31static char Options[] = "adDfGhinp:rvxX";

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

47 char *pkgs_split;
48 const char *tmp;
49 struct stat stat_s;
50
51 pkgs = start = argv;
52 while ((ch = getopt(argc, argv, Options)) != -1)
53 switch(ch) {
54 case 'v':
24
25#include <sys/types.h>
26#include <sys/stat.h>
27#include <err.h>
28#include "lib.h"
29#include "delete.h"
30
31static char Options[] = "adDfGhinp:rvxX";

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

47 char *pkgs_split;
48 const char *tmp;
49 struct stat stat_s;
50
51 pkgs = start = argv;
52 while ((ch = getopt(argc, argv, Options)) != -1)
53 switch(ch) {
54 case 'v':
55 Verbose = TRUE;
55 Verbose++;
56 break;
57
58 case 'f':
59 Force = TRUE;
60 break;
61
62 case 'p':
63 Prefix = optarg;

--- 98 unchanged lines hidden ---
56 break;
57
58 case 'f':
59 Force = TRUE;
60 break;
61
62 case 'p':
63 Prefix = optarg;

--- 98 unchanged lines hidden ---