Deleted Added
full compact
show.c (105882) show.c (108455)
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 105882 2002-10-24 17:27:32Z gallatin $");
22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/info/show.c 108455 2002-12-30 18:16:26Z mike $");
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>

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

228{
229 PackingList p;
230 Boolean ign = FALSE;
231 const char *dir = ".";
232 struct stat sb;
233 char tmp[FILENAME_MAX];
234 unsigned long size = 0;
235 long blksize;
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>

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

228{
229 PackingList p;
230 Boolean ign = FALSE;
231 const char *dir = ".";
232 struct stat sb;
233 char tmp[FILENAME_MAX];
234 unsigned long size = 0;
235 long blksize;
236 size_t headerlen;
236 int headerlen;
237 char *descr;
238
239 descr = getbsize(&headerlen, &blksize);
240 if (!Quiet)
241 printf("%s%s", InfoPrefix, title);
242 for (p = plist->head; p != NULL; p = p->next) {
243 switch (p->type) {
244 case PLIST_FILE:

--- 96 unchanged lines hidden ---
237 char *descr;
238
239 descr = getbsize(&headerlen, &blksize);
240 if (!Quiet)
241 printf("%s%s", InfoPrefix, title);
242 for (p = plist->head; p != NULL; p = p->next) {
243 switch (p->type) {
244 case PLIST_FILE:

--- 96 unchanged lines hidden ---