Date: Mon, 30 Jul 2007 09:27:29 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 124339 for review Message-ID: <200707300927.l6U9RTiD077377@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124339 Change 124339 by gcooper@optimus-revised_pkgtools on 2007/07/30 09:26:27 Minute changes to IPC API calls to make checksum and file existence into dynamic function calls, as opposed to statically set flags (which can change at any given time). Affected files ... .. //depot/projects/soc2007/revised_fbsd_pkgtools/v2/lib/ipc/api.c#4 edit Differences ... ==== //depot/projects/soc2007/revised_fbsd_pkgtools/v2/lib/ipc/api.c#4 (text+ko) ==== @@ -51,9 +51,9 @@ if(ipc_info->remove_entry) header += IPC_MSG_REMOVE_ENTRY; - if(ipc_info->file_info->exists) { + if(Fexists(ipc_info->file_info, 0)) { - if(ipc_info->file_info->valid_checksum) + if(checksum_matches(ipc_info->file_info, MD5)) header += IPC_MSG_VALID_CHECKSUM; header += IPC_MSG_FILE_EXISTS;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707300927.l6U9RTiD077377>