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

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

14 * Jordan K. Hubbard
15 * 23 Aug 1993
16 *
17 * Various display routines for the info module.
18 *
19 */
20
21#include <sys/cdefs.h>
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

14 * Jordan K. Hubbard
15 * 23 Aug 1993
16 *
17 * Various display routines for the info module.
18 *
19 */
20
21#include <sys/cdefs.h>
22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/info/show.c 96076 2002-05-05 21:03:25Z sobomax $");
22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/info/show.c 96388 2002-05-11 03:48:49Z alfred $");
23
24#include "lib.h"
25#include "info.h"
26#include <err.h>
27#include <stdlib.h>
28#include <sys/types.h>
29#include <sys/stat.h>
30#include <md5.h>

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

174
175 case PLIST_ORIGIN:
176 printf(Quiet ? "@comment ORIGIN:%s\n" :
177 "\tPackage origin: %s\n", p->name);
178 break;
179
180 default:
181 cleanup(0);
23
24#include "lib.h"
25#include "info.h"
26#include <err.h>
27#include <stdlib.h>
28#include <sys/types.h>
29#include <sys/stat.h>
30#include <md5.h>

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

174
175 case PLIST_ORIGIN:
176 printf(Quiet ? "@comment ORIGIN:%s\n" :
177 "\tPackage origin: %s\n", p->name);
178 break;
179
180 default:
181 cleanup(0);
182 errx(2, __FUNCTION__ ": unknown command type %d (%s)", p->type, p->name);
182 errx(2, "%s: unknown command type %d (%s)",
183 __FUNCTION__, p->type, p->name);
183 break;
184 }
185 p = p->next;
186 }
187}
188
189/* Show all files in the packing list (except ignored ones) */
190void

--- 149 unchanged lines hidden ---
184 break;
185 }
186 p = p->next;
187 }
188}
189
190/* Show all files in the packing list (except ignored ones) */
191void

--- 149 unchanged lines hidden ---