extract.c (171934) | extract.c (207113) |
---|---|
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 * 18 July 1993 16 * 17 * This is the package extraction code for the add 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 * 18 July 1993 16 * 17 * This is the package extraction code for the add module. 18 * 19 */ 20 21#include <sys/cdefs.h> |
22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/add/extract.c 171934 2007-08-23 13:05:10Z krion $"); | 22__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/add/extract.c 207113 2010-04-23 11:07:43Z flz $"); |
23 24#include <ctype.h> 25#include <err.h> | 23 24#include <ctype.h> 25#include <err.h> |
26#include "lib.h" | 26#include <pkg.h> |
27#include "add.h" 28 29 30#define STARTSTRING "/usr/bin/tar cf -" 31#define TOOBIG(str) \ 32 (((int)strlen(str) + FILENAME_MAX + where_count > maxargs) ||\ 33 ((int)strlen(str) + FILENAME_MAX + perm_count > maxargs)) 34 --- 253 unchanged lines hidden --- | 27#include "add.h" 28 29 30#define STARTSTRING "/usr/bin/tar cf -" 31#define TOOBIG(str) \ 32 (((int)strlen(str) + FILENAME_MAX + where_count > maxargs) ||\ 33 ((int)strlen(str) + FILENAME_MAX + perm_count > maxargs)) 34 --- 253 unchanged lines hidden --- |