From owner-cvs-all@FreeBSD.ORG Thu Feb 17 18:06:38 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3309216A4CE; Thu, 17 Feb 2005 18:06:38 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E3A543D4C; Thu, 17 Feb 2005 18:06:38 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1HI6bQ4035112; Thu, 17 Feb 2005 18:06:37 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1HI6bT9035111; Thu, 17 Feb 2005 18:06:37 GMT (envelope-from ru) Message-Id: <200502171806.j1HI6bT9035111@repoman.freebsd.org> From: Ruslan Ermilov Date: Thu, 17 Feb 2005 18:06:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/games/fortune/fortune Makefile fortune.c src/games/fortune/strfile strfile.8 strfile.c strfile.h src/games/fortune/unstr Makefile unstr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 18:06:38 -0000 ru 2005-02-17 18:06:37 UTC FreeBSD src repository Modified files: games/fortune/fortune Makefile fortune.c games/fortune/strfile strfile.8 strfile.c strfile.h games/fortune/unstr Makefile unstr.c Log: Make the on-disk format of .dat files produced by strfile(8) architecture independent. Besides the fixed-width types in the header, the offsets are now stored as 64-bit off_t (also in big endian format). Tested on: i386, amd64, sparc64, ia64 Revision Changes Path 1.8 +2 -1 src/games/fortune/fortune/Makefile 1.27 +21 -22 src/games/fortune/fortune/fortune.c 1.14 +22 -17 src/games/fortune/strfile/strfile.8 1.28 +41 -39 src/games/fortune/strfile/strfile.c 1.4 +8 -6 src/games/fortune/strfile/strfile.h 1.6 +2 -1 src/games/fortune/unstr/Makefile 1.10 +13 -15 src/games/fortune/unstr/unstr.c