From owner-cvs-projects@FreeBSD.ORG Mon Jan 30 17:36:14 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42B5F16A424; Mon, 30 Jan 2006 17:36:14 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E0E43D45; Mon, 30 Jan 2006 17:36:14 +0000 (GMT) (envelope-from mux@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 k0UHaDp4014792; Mon, 30 Jan 2006 17:36:13 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0UHaDlb014790; Mon, 30 Jan 2006 17:36:13 GMT (envelope-from mux) Message-Id: <200601301736.k0UHaDlb014790@repoman.freebsd.org> From: Maxime Henrion Date: Mon, 30 Jan 2006 17:36:13 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup fattr.c fattr_bsd.h fattr_posix.h X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 17:36:14 -0000 mux 2006-01-30 17:36:13 UTC FreeBSD projects repository Modified files: csup fattr.c fattr_bsd.h fattr_posix.h Log: After much hacking in Modula-3 with the CVSup sources, I finally understood why I had to add the modtime, size and mode attributes to the supported attributes of the unknown filetype. Unlike what I thought, when CVSup parses the attributes of a file who ends up being the unknown filetype and thus has no supported attributes, it doesn't return an error but doesn't parse the rest of the attributes. Mimic this behaviour in fattr_decode() and remove the attributes from the unknown filetype. I'm not sure if this change will cause any functional difference or not, but at least we're now sending the same supported attributes at negociation time. Revision Changes Path 1.27 +2 -2 projects/csup/fattr.c 1.2 +1 -1 projects/csup/fattr_bsd.h 1.2 +1 -1 projects/csup/fattr_posix.h From owner-cvs-projects@FreeBSD.ORG Mon Jan 30 22:06:02 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C01ED16A420; Mon, 30 Jan 2006 22:06:02 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6547B43D45; Mon, 30 Jan 2006 22:06:02 +0000 (GMT) (envelope-from mux@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 k0UM627W061271; Mon, 30 Jan 2006 22:06:02 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0UM62eV061270; Mon, 30 Jan 2006 22:06:02 GMT (envelope-from mux) Message-Id: <200601302206.k0UM62eV061270@repoman.freebsd.org> From: Maxime Henrion Date: Mon, 30 Jan 2006 22:06:02 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup keyword.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 22:06:02 -0000 mux 2006-01-30 22:06:02 UTC FreeBSD projects repository Modified files: csup keyword.c Log: Tidy up some code that calls strptime() to check that we ate the whole string, as we do in rcsdatetotime(). Revision Changes Path 1.24 +7 -5 projects/csup/keyword.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 03:29:34 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D560F16A420; Wed, 1 Feb 2006 03:29:34 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D8F843D46; Wed, 1 Feb 2006 03:29:34 +0000 (GMT) (envelope-from mux@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 k113TYL7010454; Wed, 1 Feb 2006 03:29:34 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k113TYDL010453; Wed, 1 Feb 2006 03:29:34 GMT (envelope-from mux) Message-Id: <200602010329.k113TYDL010453@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 03:29:34 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup detailer.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 03:29:35 -0000 mux 2006-02-01 03:29:34 UTC FreeBSD projects repository Modified files: csup detailer.c Log: In the detailer thread, flush the stream buffer after sending the "COLL" command, like CVSup is doing. The reason for flushing here is that the reception of this command by the server makes it send a "COLL" command back to the updater thread, and that's what finally triggers the printing of the "Updating collection /" message. Before this change, this message was printed really late during the csup run, which was quite disturbing since it's printed quickly with CVSup. Revision Changes Path 1.35 +2 -1 projects/csup/detailer.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 05:53:20 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82A8416A420; Wed, 1 Feb 2006 05:53:20 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A7A143D49; Wed, 1 Feb 2006 05:53:20 +0000 (GMT) (envelope-from mux@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 k115rKuQ024462; Wed, 1 Feb 2006 05:53:20 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k115rJCx024461; Wed, 1 Feb 2006 05:53:19 GMT (envelope-from mux) Message-Id: <200602010553.k115rJCx024461@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 05:53:19 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup mux.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 05:53:20 -0000 mux 2006-02-01 05:53:19 UTC FreeBSD projects repository Modified files: csup mux.c Log: - Not only did I blame GCC for a so-called bogus warning about an unitialized variable when we has indeed right, but I managed to leak channels mutexes in the error code path of both chan_read() and chan_write()! Really fix the variable initialization by rewriting the loops more sanely, and fix the aforementioned leaks. - Rewrite sender_wakeup() more like in CVSup by retaining the status of the sender thread, thus avoiding unnecessary pthread_cond_signal() calls. Revision Changes Path 1.55 +41 -19 projects/csup/mux.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 19:53:08 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1006216A4C2; Wed, 1 Feb 2006 19:53:08 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C13643D62; Wed, 1 Feb 2006 19:53:07 +0000 (GMT) (envelope-from mux@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 k11Jr7Hk090277; Wed, 1 Feb 2006 19:53:07 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11Jr7XI090276; Wed, 1 Feb 2006 19:53:07 GMT (envelope-from mux) Message-Id: <200602011953.k11Jr7XI090276@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 19:53:07 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup main.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 19:53:08 -0000 mux 2006-02-01 19:53:07 UTC FreeBSD projects repository Modified files: csup main.c Log: Do not document destDir in the usage, since we don't support it yet. Revision Changes Path 1.25 +2 -2 projects/csup/main.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 20:22:58 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE4316A424; Wed, 1 Feb 2006 20:22:58 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7D9743D6D; Wed, 1 Feb 2006 20:21:42 +0000 (GMT) (envelope-from mux@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 k11KLg8b092420; Wed, 1 Feb 2006 20:21:42 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11KLg9m092419; Wed, 1 Feb 2006 20:21:42 GMT (envelope-from mux) Message-Id: <200602012021.k11KLg9m092419@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 20:21:42 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup main.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 20:22:59 -0000 mux 2006-02-01 20:21:42 UTC FreeBSD projects repository Modified files: csup main.c Log: Write our PID into the lockfile to match CVSup's behaviour. Revision Changes Path 1.26 +9 -3 projects/csup/main.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 21:03:39 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B57716A420; Wed, 1 Feb 2006 21:03:39 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98FB243D6A; Wed, 1 Feb 2006 21:03:35 +0000 (GMT) (envelope-from mux@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 k11L3Z6O002966; Wed, 1 Feb 2006 21:03:35 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11L3Zws002965; Wed, 1 Feb 2006 21:03:35 GMT (envelope-from mux) Message-Id: <200602012103.k11L3Zws002965@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 21:03:35 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 21:03:39 -0000 mux 2006-02-01 21:03:35 UTC FreeBSD projects repository Modified files: csup proto.c Log: - Implement the %x and %o formats in proto_printf(). - Use proto_printf() in all places where we talk to the server. Revision Changes Path 1.54 +25 -18 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 21:05:41 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCA4516A420; Wed, 1 Feb 2006 21:05:41 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE7543D48; Wed, 1 Feb 2006 21:05:41 +0000 (GMT) (envelope-from mux@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 k11L5fdP003108; Wed, 1 Feb 2006 21:05:41 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11L5fua003107; Wed, 1 Feb 2006 21:05:41 GMT (envelope-from mux) Message-Id: <200602012105.k11L5fua003107@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 21:05:41 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup detailer.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 21:05:41 -0000 mux 2006-02-01 21:05:41 UTC FreeBSD projects repository Modified files: csup detailer.c Log: Use proto_printf() whenever we're talking to the server. Revision Changes Path 1.36 +7 -7 projects/csup/detailer.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 23:11:47 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B78D016A420; Wed, 1 Feb 2006 23:11:47 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED5C43D6D; Wed, 1 Feb 2006 23:11:47 +0000 (GMT) (envelope-from mux@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 k11NBlex010087; Wed, 1 Feb 2006 23:11:47 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11NBlAf010086; Wed, 1 Feb 2006 23:11:47 GMT (envelope-from mux) Message-Id: <200602012311.k11NBlAf010086@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 23:11:47 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup stream.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 23:11:47 -0000 mux 2006-02-01 23:11:47 UTC FreeBSD projects repository Modified files: csup stream.c Log: Use Z_DEFAULT_COMPRESSION instead of Z_BEST_SPEED. Since most of the time internet connections are limited in upload, the main bottleneck of csup and CVSup is sending the list of files on the client. That's why using a higher zlib compression level can significantly improve performance. Using Z_DEFAULT_COMPRESSION significantly reduces the amount we need to send without using much more CPU time. With this change, csup is slightly faster than CVSup in my tests. Revision Changes Path 1.48 +2 -2 projects/csup/stream.c From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 23:48:22 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8AD416A420; Wed, 1 Feb 2006 23:48:22 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8923143D75; Wed, 1 Feb 2006 23:48:22 +0000 (GMT) (envelope-from mux@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 k11NmMEf012099; Wed, 1 Feb 2006 23:48:22 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11NmMUF012098; Wed, 1 Feb 2006 23:48:22 GMT (envelope-from mux) Message-Id: <200602012348.k11NmMUF012098@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 23:48:22 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup README csup.1 X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 23:48:23 -0000 mux 2006-02-01 23:48:22 UTC FreeBSD projects repository Modified files: csup README Added files: csup csup.1 Log: Add a manual page for csup. This manual page is based on cvsup.1, with all the references to features we don't support yet removed. Not yet linked to the build. Submitted by: Etienne Vidal Revision Changes Path 1.3 +2 -1 projects/csup/README 1.1 +633 -0 projects/csup/csup.1 (new) From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 00:02:11 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D75D116A420; Thu, 2 Feb 2006 00:02:11 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9070343D46; Thu, 2 Feb 2006 00:02:11 +0000 (GMT) (envelope-from mux@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 k1202Bqv013047; Thu, 2 Feb 2006 00:02:11 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1202Bje013046; Thu, 2 Feb 2006 00:02:11 GMT (envelope-from mux) Message-Id: <200602020002.k1202Bje013046@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 00:02:11 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup Makefile Makefile.gmake X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 00:02:12 -0000 mux 2006-02-02 00:02:11 UTC FreeBSD projects repository Modified files: csup Makefile Makefile.gmake Log: Build (gzip) and install the manual page. Revision Changes Path 1.38 +1 -3 projects/csup/Makefile 1.6 +8 -4 projects/csup/Makefile.gmake From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 00:05:10 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BBBD16A420; Thu, 2 Feb 2006 00:05:10 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B461943D5E; Thu, 2 Feb 2006 00:05:04 +0000 (GMT) (envelope-from mux@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 k12054tD013159; Thu, 2 Feb 2006 00:05:04 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12054SW013158; Thu, 2 Feb 2006 00:05:04 GMT (envelope-from mux) Message-Id: <200602020005.k12054SW013158@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 00:05:04 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 00:05:10 -0000 mux 2006-02-02 00:05:04 UTC FreeBSD projects repository Modified files: csup proto.c Log: I don't know what I was on when I originally wrote proto_printf(), but it must have been some good stuff :-). Make this function much simpler by using stream_printf() instead of stream_write() where appropriate. Revision Changes Path 1.55 +24 -29 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 00:13:59 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 705B716A420; Thu, 2 Feb 2006 00:13:59 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A44943D45; Thu, 2 Feb 2006 00:13:59 +0000 (GMT) (envelope-from mux@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 k120Dx4M013546; Thu, 2 Feb 2006 00:13:59 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k120Dw77013545; Thu, 2 Feb 2006 00:13:58 GMT (envelope-from mux) Message-Id: <200602020013.k120Dw77013545@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 00:13:58 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup lister.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 00:13:59 -0000 mux 2006-02-02 00:13:58 UTC FreeBSD projects repository Modified files: csup lister.c Log: - Use proto_printf() instead of stream_printf() when talking to the server, as appropriate and as done elsewhere. - Flush after sending the "COLL" command. Revision Changes Path 1.19 +11 -9 projects/csup/lister.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 00:23:42 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA31316A420; Thu, 2 Feb 2006 00:23:42 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7476443D45; Thu, 2 Feb 2006 00:23:42 +0000 (GMT) (envelope-from mux@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 k120Ng3o013968; Thu, 2 Feb 2006 00:23:42 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k120NgVf013965; Thu, 2 Feb 2006 00:23:42 GMT (envelope-from mux) Message-Id: <200602020023.k120NgVf013965@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 00:23:41 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup Makefile X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 00:23:42 -0000 mux 2006-02-02 00:23:41 UTC FreeBSD projects repository Modified files: csup Makefile Log: Set MANDIR correctly for the desired effect. Revision Changes Path 1.39 +2 -1 projects/csup/Makefile From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 00:29:48 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF84B16A422; Thu, 2 Feb 2006 00:29:48 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AACAA43D48; Thu, 2 Feb 2006 00:29:48 +0000 (GMT) (envelope-from mux@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 k120TmDn014217; Thu, 2 Feb 2006 00:29:48 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k120Tm6K014216; Thu, 2 Feb 2006 00:29:48 GMT (envelope-from mux) Message-Id: <200602020029.k120Tm6K014216@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 00:29:48 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup Makefile X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 00:29:49 -0000 mux 2006-02-02 00:29:48 UTC FreeBSD projects repository Modified files: csup Makefile Log: Respect PREFIX. Revision Changes Path 1.40 +4 -3 projects/csup/Makefile From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 18:29:39 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C7C716A420; Thu, 2 Feb 2006 18:29:39 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 287E643D49; Thu, 2 Feb 2006 18:29:39 +0000 (GMT) (envelope-from mux@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 k12ITdU9005843; Thu, 2 Feb 2006 18:29:39 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12ITcEd005842; Thu, 2 Feb 2006 18:29:38 GMT (envelope-from mux) Message-Id: <200602021829.k12ITcEd005842@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 18:29:38 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 18:29:39 -0000 mux 2006-02-02 18:29:38 UTC FreeBSD projects repository Modified files: csup proto.c Log: - Factor the code to escape and send a string in proto_escape(). - Both proto_unescape() and proto_escape() functions weren't handling the '\r' character, this is now fixed. - Use proto_escape() in proto_printf() for the %s format. - Add two new formats for printing encoded file attributes. The %f format just takes a struct fattr *, and the %F format allows to specify the supported attributes, so it takes a struct fattr * and a fattr_support_t. Revision Changes Path 1.56 +84 -35 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 19:02:43 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A66116A420; Thu, 2 Feb 2006 19:02:43 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0565D43D4C; Thu, 2 Feb 2006 19:02:43 +0000 (GMT) (envelope-from mux@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 k12J2gq3007464; Thu, 2 Feb 2006 19:02:42 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12J2gku007463; Thu, 2 Feb 2006 19:02:42 GMT (envelope-from mux) Message-Id: <200602021902.k12J2gku007463@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 19:02:42 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:02:43 -0000 mux 2006-02-02 19:02:42 UTC FreeBSD projects repository Modified files: csup proto.c Log: Slightly rework proto_connect() so that: - We don't print an error if the socket() call fails with EPROTONOTSUPP. Since we use getaddrinfo() in csup, we may get several addresses for one hostname, and some of them might be IPv6 so if the host running csup doesn't support IPv6, that can happen and confuse people. - Only print the "Cannot connect" message once. I should probably add the usual -4 and -6 switches to csup now. Revision Changes Path 1.57 +13 -5 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 19:29:30 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB0AF16A420; Thu, 2 Feb 2006 19:29:30 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B4DF43D53; Thu, 2 Feb 2006 19:29:30 +0000 (GMT) (envelope-from mux@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 k12JTUCr010471; Thu, 2 Feb 2006 19:29:30 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12JTUiB010470; Thu, 2 Feb 2006 19:29:30 GMT (envelope-from mux) Message-Id: <200602021929.k12JTUiB010470@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 19:29:30 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:29:30 -0000 mux 2006-02-02 19:29:30 UTC FreeBSD projects repository Modified files: csup proto.c Log: Revert most of my previous changes, I'm actually going to handle this another way. When looping through all the available addresses returned by getaddrinfo(), if either the socket() or the connect() call fails, print a "Cannot connect to" message, but print the address and not the host, with inet_ntop(). On ref4.FreeBSD.org which doesn't support IPv6 and using cvsup5.FreeBSD.org which expands to both an IPv4 and an IPv6 address this gives: Connecting to cvsup5.FreeBSD.org Cannot connect to 1c1c:176f::2001:468:902:201: Protocol not supported Connected to cvsup5.FreeBSD.org [...] Now the only problem is that it would seem more logical to also print the address in the "Connected to" line, so that we have: Connecting to cvsup5.FreeBSD.org Cannot connect to 1c1c:176f::2001:468:902:201: Protocol not supported Connected to 128.205.32.21 But I'm reluctant to do this since that changes the makes us differ significantly from CVSup's output. Revision Changes Path 1.58 +28 -24 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 19:44:11 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA8A316A422; Thu, 2 Feb 2006 19:44:11 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E48443D5A; Thu, 2 Feb 2006 19:44:10 +0000 (GMT) (envelope-from mux@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 k12JiA2t011026; Thu, 2 Feb 2006 19:44:10 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12JiAV3011025; Thu, 2 Feb 2006 19:44:10 GMT (envelope-from mux) Message-Id: <200602021944.k12JiAV3011025@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 19:44:10 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup config.c config.h main.c proto.c proto.h X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:44:12 -0000 mux 2006-02-02 19:44:10 UTC FreeBSD projects repository Modified files: csup config.c config.h main.c proto.c proto.h Log: - Add the -4 and -6 options to force usage of IPv4 or IPv6. - Don't pass the port to config_init() who doesn't really need it, but pass it directly to proto_connect() and don't retain it in the struct config. Revision Changes Path 1.37 +2 -3 projects/csup/config.c 1.27 +2 -4 projects/csup/config.h 1.27 +16 -6 projects/csup/main.c 1.59 +5 -4 projects/csup/proto.c 1.11 +4 -2 projects/csup/proto.h From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 19:53:14 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16EF816A420; Thu, 2 Feb 2006 19:53:14 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2D9843D55; Thu, 2 Feb 2006 19:53:13 +0000 (GMT) (envelope-from mux@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 k12JrDnj011348; Thu, 2 Feb 2006 19:53:13 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12JrDIM011347; Thu, 2 Feb 2006 19:53:13 GMT (envelope-from mux) Message-Id: <200602021953.k12JrDIM011347@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 19:53:13 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup main.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:53:14 -0000 mux 2006-02-02 19:53:13 UTC FreeBSD projects repository Modified files: csup main.c Log: Better description for the -4 and -6 switches. Revision Changes Path 1.28 +3 -3 projects/csup/main.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 22:55:13 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D1C16A420; Thu, 2 Feb 2006 22:55:13 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F05C143D45; Thu, 2 Feb 2006 22:55:12 +0000 (GMT) (envelope-from mux@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 k12MtCcR026340; Thu, 2 Feb 2006 22:55:12 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12MtCML026339; Thu, 2 Feb 2006 22:55:12 GMT (envelope-from mux) Message-Id: <200602022255.k12MtCML026339@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 22:55:12 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup config.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 22:55:13 -0000 mux 2006-02-02 22:55:12 UTC FreeBSD projects repository Modified files: csup config.c Log: Damn! Test the correct pointers before calling free() in coll_free(). Revision Changes Path 1.38 +7 -7 projects/csup/config.c From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 23:15:04 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 776D416A420; Thu, 2 Feb 2006 23:15:04 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E99A143D53; Thu, 2 Feb 2006 23:15:03 +0000 (GMT) (envelope-from mux@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 k12NF3rL027331; Thu, 2 Feb 2006 23:15:03 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12NF3JO027330; Thu, 2 Feb 2006 23:15:03 GMT (envelope-from mux) Message-Id: <200602022315.k12NF3JO027330@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 23:15:03 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup config.c token.h token.l X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 23:15:04 -0000 mux 2006-02-02 23:15:03 UTC FreeBSD projects repository Modified files: csup config.c token.h token.l Log: Add support for the list=suffix option in the supfile. Revision Changes Path 1.39 +19 -2 projects/csup/config.c 1.9 +2 -1 projects/csup/token.h 1.16 +2 -1 projects/csup/token.l From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 23:16:16 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A08416A420; Thu, 2 Feb 2006 23:16:16 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2759943D45; Thu, 2 Feb 2006 23:16:16 +0000 (GMT) (envelope-from mux@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 k12NGGm0027415; Thu, 2 Feb 2006 23:16:16 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12NGG8k027414; Thu, 2 Feb 2006 23:16:16 GMT (envelope-from mux) Message-Id: <200602022316.k12NGG8k027414@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 23:16:16 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup config.h X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 23:16:17 -0000 mux 2006-02-02 23:16:16 UTC FreeBSD projects repository Modified files: csup config.h Log: Forgot this file in my last commit to add support for the list=suffix option in the supfile. Revision Changes Path 1.28 +2 -1 projects/csup/config.h From owner-cvs-projects@FreeBSD.ORG Thu Feb 2 23:22:26 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2782816A420; Thu, 2 Feb 2006 23:22:26 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D65F743D48; Thu, 2 Feb 2006 23:22:25 +0000 (GMT) (envelope-from mux@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 k12NMPY5027639; Thu, 2 Feb 2006 23:22:25 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12NMPp0027638; Thu, 2 Feb 2006 23:22:25 GMT (envelope-from mux) Message-Id: <200602022322.k12NMPp0027638@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 2 Feb 2006 23:22:25 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup config.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 23:22:26 -0000 mux 2006-02-02 23:22:25 UTC FreeBSD projects repository Modified files: csup config.c Log: Arggg! I was also testing completely unrelated fields before calling free() on others in coll_setopt(). That's incredible this stayed so long without causing much problems. Revision Changes Path 1.40 +5 -5 projects/csup/config.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 01:10:51 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8D9116A420; Fri, 3 Feb 2006 01:10:50 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A3743D48; Fri, 3 Feb 2006 01:10:50 +0000 (GMT) (envelope-from mux@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 k131AoVW042408; Fri, 3 Feb 2006 01:10:50 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k131AopU042407; Fri, 3 Feb 2006 01:10:50 GMT (envelope-from mux) Message-Id: <200602030110.k131AopU042407@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 01:10:50 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup fattr.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 01:10:51 -0000 mux 2006-02-03 01:10:50 UTC FreeBSD projects repository Modified files: csup fattr.c Log: Stop using %zd, some old compilers don't understand it and just print "zd" with it, which surprisingly doesn't work! Reported by: dougb Revision Changes Path 1.28 +27 -27 projects/csup/fattr.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 05:45:02 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B43F716A420; Fri, 3 Feb 2006 05:45:02 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80E6443D4C; Fri, 3 Feb 2006 05:45:02 +0000 (GMT) (envelope-from mux@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 k135j2Il060005; Fri, 3 Feb 2006 05:45:02 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k135j2ki060004; Fri, 3 Feb 2006 05:45:02 GMT (envelope-from mux) Message-Id: <200602030545.k135j2ki060004@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 05:45:02 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup fattr.c fattr.h proto.c status.c updater.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 05:45:03 -0000 mux 2006-02-03 05:45:02 UTC FreeBSD projects repository Modified files: csup fattr.c fattr.h proto.c status.c updater.c Log: fattr.c: - I tried to avoid having the need for a function to initialize the fattr API, but it makes things harder afterwards. So, have two new functins, fattr_init() and fattr_fini() to initialize and deinitialize the API. - Using this, we can now implement fattr_mergedefault() as intended, and get rid of fattr_default(). proto.c: - Call fattr_init() and fattr_fini() in appropriate places. status.c: - fattr_default() -> fattr_mergedefault(). updater.c: - Correct the code that computes the file attributes for a file we're checking out so that it works correctly, using the new function fattr_mergedefault(). More work is needed in this file, but as far as I can tell, csup now correctly sets all the attributes at checkout time. This fixes the many "SetAttrs" commands that were happening as a side effect to this bug. Revision Changes Path 1.29 +37 -15 projects/csup/fattr.c 1.20 +5 -1 projects/csup/fattr.h 1.60 +9 -1 projects/csup/proto.c 1.5 +2 -1 projects/csup/status.c 1.66 +9 -3 projects/csup/updater.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 15:47:17 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0777216A420; Fri, 3 Feb 2006 15:47:17 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC11643D5F; Fri, 3 Feb 2006 15:47:13 +0000 (GMT) (envelope-from mux@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 k13FlDUr002702; Fri, 3 Feb 2006 15:47:13 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13FlDfY002701; Fri, 3 Feb 2006 15:47:13 GMT (envelope-from mux) Message-Id: <200602031547.k13FlDfY002701@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 15:47:13 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup lister.c status.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 15:47:17 -0000 mux 2006-02-03 15:47:13 UTC FreeBSD projects repository Modified files: csup lister.c status.c Log: Use the new %f and %F formats of proto_printf() to print file attributes instead of calling fattr_encode() by hand in the lister thread and in the status file API. That significantly simplifies the code. Revision Changes Path 1.20 +26 -28 projects/csup/lister.c 1.6 +13 -20 projects/csup/status.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 16:23:03 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF4B616A420; Fri, 3 Feb 2006 16:23:03 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A836E43D45; Fri, 3 Feb 2006 16:23:03 +0000 (GMT) (envelope-from mux@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 k13GN3gZ004973; Fri, 3 Feb 2006 16:23:03 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13GN31T004972; Fri, 3 Feb 2006 16:23:03 GMT (envelope-from mux) Message-Id: <200602031623.k13GN31T004972@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 16:23:03 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup fattr.c fattr.h misc.c misc.h status.c updater.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 16:23:04 -0000 mux 2006-02-03 16:23:03 UTC FreeBSD projects repository Modified files: csup fattr.c fattr.h misc.c misc.h status.c updater.c Log: fattr.c: - Implement fattr_makenode(), only for directories for now. misc.c: - Add a mask parameter to mkdirhier(). Reimplemement mkdirhier() using the fattr API and the new fattr_makenode() function as in CVSup, so that we now respect the umask setting of the collection. status.c and updater.c: - Pass the collection's umask to mkdirhier(). Revision Changes Path 1.30 +24 -1 projects/csup/fattr.c 1.21 +2 -1 projects/csup/fattr.h 1.21 +8 -3 projects/csup/misc.c 1.20 +2 -2 projects/csup/misc.h 1.7 +1 -1 projects/csup/status.c 1.67 +2 -2 projects/csup/updater.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 17:22:35 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BB516A422; Fri, 3 Feb 2006 17:22:35 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D11343D45; Fri, 3 Feb 2006 17:22:35 +0000 (GMT) (envelope-from mux@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 k13HMYMK021481; Fri, 3 Feb 2006 17:22:34 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13HMYOg021480; Fri, 3 Feb 2006 17:22:34 GMT (envelope-from mux) Message-Id: <200602031722.k13HMYOg021480@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 17:22:34 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup misc.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 17:22:35 -0000 mux 2006-02-03 17:22:34 UTC FreeBSD projects repository Modified files: csup misc.c Log: Hmm, I need to call fattr_install() in mkdirhier() too. Revision Changes Path 1.22 +6 -3 projects/csup/misc.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 18:09:39 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA3EE16A420; Fri, 3 Feb 2006 18:09:39 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7638843D45; Fri, 3 Feb 2006 18:09:39 +0000 (GMT) (envelope-from mux@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 k13I9dJ5023637; Fri, 3 Feb 2006 18:09:39 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13I9dZq023636; Fri, 3 Feb 2006 18:09:39 GMT (envelope-from mux) Message-Id: <200602031809.k13I9dZq023636@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 18:09:39 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 18:09:39 -0000 mux 2006-02-03 18:09:39 UTC FreeBSD projects repository Modified files: csup proto.c Log: Bah, fix a bad bug in proto_get_ascii() where we would simply crash if we can't find a new token. Revision Changes Path 1.61 +3 -1 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 18:23:34 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAA4216A424; Fri, 3 Feb 2006 18:23:34 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F89B43D46; Fri, 3 Feb 2006 18:23:34 +0000 (GMT) (envelope-from mux@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 k13INYga024335; Fri, 3 Feb 2006 18:23:34 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13INY5j024334; Fri, 3 Feb 2006 18:23:34 GMT (envelope-from mux) Message-Id: <200602031823.k13INY5j024334@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 18:23:34 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup lister.c status.c status.h X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 18:23:35 -0000 mux 2006-02-03 18:23:34 UTC FreeBSD projects repository Modified files: csup lister.c status.c status.h Log: - Add status_errmsg() that will return an error message if an error has been encountered in the status file. - Set error messages everywhere appropriate in the status file API. It's a bit of a mess, but will do for now. - In the lister thread, if status_get() returns NULL, check if EOF has been seen with stream_eof(), and if not, print the error message with status_errmsg(). Revision Changes Path 1.21 +6 -4 projects/csup/lister.c 1.8 +79 -28 projects/csup/status.c 1.2 +1 -0 projects/csup/status.h From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 18:49:24 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CD9916A420; Fri, 3 Feb 2006 18:49:24 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B073243D49; Fri, 3 Feb 2006 18:49:23 +0000 (GMT) (envelope-from mux@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 k13InN96025225; Fri, 3 Feb 2006 18:49:23 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13InN2I025224; Fri, 3 Feb 2006 18:49:23 GMT (envelope-from mux) Message-Id: <200602031849.k13InN2I025224@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 18:49:23 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup detailer.c lister.c status.c status.h X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 18:49:24 -0000 mux 2006-02-03 18:49:23 UTC FreeBSD projects repository Modified files: csup detailer.c lister.c status.c status.h Log: - Change the prototype of status_get() so that it is possible to determine if there was an error happening when we call status_get() with a filename. - Now that we can, check and handle status file errors in the detailer thread. Revision Changes Path 1.37 +11 -4 projects/csup/detailer.c 1.22 +5 -4 projects/csup/lister.c 1.9 +34 -20 projects/csup/status.c 1.3 +8 -7 projects/csup/status.h From owner-cvs-projects@FreeBSD.ORG Sat Feb 4 02:04:55 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F7E616A422; Sat, 4 Feb 2006 02:04:55 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5378C43D46; Sat, 4 Feb 2006 02:04:55 +0000 (GMT) (envelope-from mux@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 k1424tTl061820; Sat, 4 Feb 2006 02:04:55 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1424tuj061819; Sat, 4 Feb 2006 02:04:55 GMT (envelope-from mux) Message-Id: <200602040204.k1424tuj061819@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 4 Feb 2006 02:04:55 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup updater.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 02:04:55 -0000 mux 2006-02-04 02:04:55 UTC FreeBSD projects repository Modified files: csup updater.c Log: - Get rid of the useless and wrong updater_install(). - Factor some common code in the diff updating path and in the checkout live file path in a new function, updater_updatefile(). It is quite similar to the UpdateFile() function of Updater.m3 in CVSup. This code was already in the checkout live file path. - Fix the broken file attribute computation in the diff updating code. It should be correct now. Also, use updater_updatefile(). - Handle status file errors and print appropriate error messages. Revision Changes Path 1.68 +82 -75 projects/csup/updater.c From owner-cvs-projects@FreeBSD.ORG Sat Feb 4 17:47:43 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7DE716A420; Sat, 4 Feb 2006 17:47:43 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A50A43D46; Sat, 4 Feb 2006 17:47:43 +0000 (GMT) (envelope-from mux@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 k14HlhHA036417; Sat, 4 Feb 2006 17:47:43 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k14HlgkH036416; Sat, 4 Feb 2006 17:47:42 GMT (envelope-from mux) Message-Id: <200602041747.k14HlgkH036416@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 4 Feb 2006 17:47:40 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup proto.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 17:47:44 -0000 mux 2006-02-04 17:47:39 UTC FreeBSD projects repository Modified files: csup proto.c Log: Minor code shuffing, no functional changes. Revision Changes Path 1.62 +11 -16 projects/csup/proto.c From owner-cvs-projects@FreeBSD.ORG Sat Feb 4 20:07:26 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B005916A420; Sat, 4 Feb 2006 20:07:26 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62BDE43D5A; Sat, 4 Feb 2006 20:07:23 +0000 (GMT) (envelope-from mux@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 k14K7NsV044829; Sat, 4 Feb 2006 20:07:23 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k14K7NDC044828; Sat, 4 Feb 2006 20:07:23 GMT (envelope-from mux) Message-Id: <200602042007.k14K7NDC044828@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 4 Feb 2006 20:07:23 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup csup.1 X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 20:07:26 -0000 mux 2006-02-04 20:07:23 UTC FreeBSD projects repository Modified files: csup csup.1 Log: With John's permission, remove the last two clauses of the BSD license in the csup.1 manual page, so that it matches the licenses in the rest of the source code. Revision Changes Path 1.2 +1 -6 projects/csup/csup.1