From owner-p4-projects@FreeBSD.ORG Mon May 24 23:24:09 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C61CA1065748; Mon, 24 May 2010 23:24:09 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC591065744 for ; Mon, 24 May 2010 23:24:09 +0000 (UTC) (envelope-from ivoras@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7925A8FC1D for ; Mon, 24 May 2010 23:24:09 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4ONO96B027775 for ; Mon, 24 May 2010 23:24:09 GMT (envelope-from ivoras@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4ONO98M027773 for perforce@freebsd.org; Mon, 24 May 2010 23:24:09 GMT (envelope-from ivoras@FreeBSD.org) Date: Mon, 24 May 2010 23:24:09 GMT Message-Id: <201005242324.o4ONO98M027773@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ivoras@FreeBSD.org using -f From: Ivan Voras To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 178738 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 23:24:10 -0000 http://p4web.freebsd.org/@@178738?ac=10 Change 178738 by ivoras@betelgeuse on 2010/05/24 23:23:35 Create a mini utility library for hashing files asynchronously. Affected files ... .. //depot/projects/soc2010/pkg_patch/src/patch/Makefile#2 edit .. //depot/projects/soc2010/pkg_patch/src/patch/hashjob.c#1 add .. //depot/projects/soc2010/pkg_patch/src/patch/hashjob.h#1 add .. //depot/projects/soc2010/pkg_patch/src/patch/main.c#2 edit Differences ... ==== //depot/projects/soc2010/pkg_patch/src/patch/Makefile#2 (text+ko) ==== @@ -3,9 +3,11 @@ .include PROG= pkg_patch -SRCS= main.c +SRCS= main.c hashjob.c WARNS?= 4 WFORMAT?= 1 +LDADD= -lmd + .include ==== //depot/projects/soc2010/pkg_patch/src/patch/main.c#2 (text+ko) ==== @@ -12,19 +12,22 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * Jordan K. Hubbard - * 18 July 1993 + * Ivan Voras + * 21 May 2010 * - * This is the add module. + * This is the "binary patch" module. */ #include -__FBSDID("$FreeBSD: src/usr.sbin/pkg_install/add/main.c,v 1.85 2010/04/23 11:07:43 flz Exp $"); +__FBSDID("$FreeBSD$"); #include #include #include -#include +#include +#include +#include + #include