From owner-freebsd-chat@FreeBSD.ORG Sun Feb 8 11:14:00 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6641E16A4CE for ; Sun, 8 Feb 2004 11:14:00 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3853E43D1D for ; Sun, 8 Feb 2004 11:14:00 -0800 (PST) (envelope-from lofi@lofi.dyndns.org) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id A357816768E; Sun, 8 Feb 2004 20:13:58 +0100 (CET) Received: from lofi.dyndns.org (www@localhost [127.0.0.1]) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i18JDwrx011584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Feb 2004 20:13:58 +0100 (CET) (envelope-from lofi@lofi.dyndns.org) Received: (from www@localhost) by lofi.dyndns.org (8.12.10/8.12.10/Submit) id i18JDun6011583; Sun, 8 Feb 2004 20:13:56 +0100 (CET) (envelope-from lofi@lofi.dyndns.org) X-Authentication-Warning: lofi.dyndns.org: www set sender to lofi@lofi.dyndns.org using -f Received: from 80.144.39.34 (SquirrelMail authenticated user lofi) by new.host.name with HTTP; Sun, 8 Feb 2004 20:13:56 +0100 (CET) Message-ID: <43534.80.144.39.34.1076267636.squirrel@new.host.name> In-Reply-To: <40267012.6070107@freebsd.org> References: <1174.1076245659@critter.freebsd.dk> <20040208.100914.96242618.imp@bsdimp.com> <40267012.6070107@freebsd.org> Date: Sun, 8 Feb 2004 20:13:56 +0100 (CET) From: "Michael Nottebrock" To: chat@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new cc: phk@phk.freebsd.dk cc: michaelnottebrock@gmx.net cc: "M. Warner Losh" Subject: Re: this here orkut thing X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: michaelnottebrock@gmx.net List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 19:14:00 -0000 Scott Long sagte: > Not to put anyone down, but I find the idea of using email to discuss > an IM service to be highly ironic =-) Replies set to chat@ It's hardly an IM service. -- Michael Nottebrock From owner-freebsd-chat@FreeBSD.ORG Mon Feb 9 01:46:42 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4767416A4CE for ; Mon, 9 Feb 2004 01:46:42 -0800 (PST) Received: from hannibal.servitor.co.uk (hannibal.servitor.co.uk [195.188.15.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 085FD43D1D for ; Mon, 9 Feb 2004 01:46:42 -0800 (PST) (envelope-from paul@hannibal.servitor.co.uk) Received: from paul by hannibal.servitor.co.uk with local (Exim 4.14) id 1Aq806-0001eO-HB; Mon, 09 Feb 2004 09:46:46 +0000 Date: Mon, 9 Feb 2004 09:46:46 +0000 From: Paul Robinson To: michaelnottebrock@gmx.net Message-ID: <20040209094646.GG14319@iconoplex.co.uk> References: <1174.1076245659@critter.freebsd.dk> <20040208.100914.96242618.imp@bsdimp.com> <40267012.6070107@freebsd.org> <43534.80.144.39.34.1076267636.squirrel@new.host.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43534.80.144.39.34.1076267636.squirrel@new.host.name> Sender: Paul Robinson cc: phk@phk.freebsd.dk cc: chat@freebsd.org cc: "M. Warner Losh" Subject: Re: this here orkut thing X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 09:46:42 -0000 On Sun, Feb 08, 2004 at 08:13:56PM +0100, Michael Nottebrock wrote: > Scott Long sagte: > > Not to put anyone down, but I find the idea of using email to discuss > > an IM service to be highly ironic =-) Replies set to chat@ > > It's hardly an IM service. It's hardly a service come to think of it. -- Paul Robinson From owner-freebsd-chat@FreeBSD.ORG Mon Feb 9 18:01:16 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E622416A4CE for ; Mon, 9 Feb 2004 18:01:15 -0800 (PST) Received: from newsletter.class.it (unknown [62.101.72.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1303743D1D for ; Mon, 9 Feb 2004 18:01:15 -0800 (PST) (envelope-from badmailio@class.it) Received: from web_nt06 ([192.168.204.35]) by newsletter.class.it with Microsoft SMTPSVC(5.0.2195.5329); Tue, 10 Feb 2004 03:01:12 +0100 From: "Marketing Oggi" To: chat@freebsd.org Date: Mon, 09 Feb 2004 22:04:12 +0100 Message-ID: <20040209-22041247-230-0@web_nt06> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--=CFDEA39100A24D528A4C_04FB_34A3_9BC9" X-OriginalArrivalTime: 10 Feb 2004 02:01:12.0916 (UTC) FILETIME=[C276E940:01C3EF79] X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Newsletter 10/02 X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 02:01:16 -0000 ----=CFDEA39100A24D528A4C_04FB_34A3_9BC9 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" =0D=0D=0D=0D=0D ----=CFDEA39100A24D528A4C_04FB_34A3_9BC9-- From owner-freebsd-chat@FreeBSD.ORG Mon Feb 9 23:48:39 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEA8516A4CE for ; Mon, 9 Feb 2004 23:48:39 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0C2743D1D for ; Mon, 9 Feb 2004 23:48:38 -0800 (PST) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp191-66.lns1.bne1.internode.on.net [150.101.191.66])i1A5ifsB057244; Tue, 10 Feb 2004 16:15:42 +1030 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p2/8.11.6) with ESMTP id i1A5iQSZ013208; Tue, 10 Feb 2004 15:44:26 +1000 (EST) (envelope-from mckay) Message-Id: <200402100544.i1A5iQSZ013208@dungeon.home> To: freebsd-chat@freebsd.org Date: Tue, 10 Feb 2004 15:44:26 +1000 From: Stephen McKay cc: Stephen McKay Subject: ctm cvs-cur going to hit 10000 very soon X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 07:48:39 -0000 (I tried to send this to ctm-announce, but the new policies mean I can't. It's quite off-putting you know, since ctm-announce is the only ctm list.) Hi guys! cvs-cur 9998 just arrived. That means it can't be more than a few hours until 9999 and then 10000 drop into my mailbox. I'm crossing my fingers even though I'm one of the people who has actually done a rollover test. :-) There should be some sort of recognition of this milestone. Maybe a note on the web page: "10000 updates served". I'll at least wave my arms and shout "Yay!" I haven't the skills to bake a cake, but I have one handy and I'll nibble a celebratory slice. The ctm system is now 9 years old and I'm happy that the part of it that I wrote is still serving a useful purpose long after the obsolescence of the software I wrote in my day job. Stephen. From owner-freebsd-chat@FreeBSD.ORG Tue Feb 10 12:12:44 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0D0016A4D4 for ; Tue, 10 Feb 2004 12:12:44 -0800 (PST) Received: from internet.potentialtech.com (h-66-167-251-6.PHLAPAFG.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBEB243D1D for ; Tue, 10 Feb 2004 12:12:44 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id 0253669A4B for ; Tue, 10 Feb 2004 15:12:44 -0500 (EST) Message-ID: <40293B38.30401@potentialtech.com> Date: Tue, 10 Feb 2004 15:12:40 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-chat@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Could use some help with variable length argument lists X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 20:12:45 -0000 I'm so frustrated I could cry. I want my application to be able to do all kinds of logging, so I wrote a log function: void _log(int level, const char *message, ...) { va_list ap; char **format, **errmsg; va_start(ap, message); if (level <= LOGLEVEL) { asprintf(format, "PID %d: %s", getpid(), message); vasprintf(errmsg, *format, ap); free(*format); syslog(LOG_INFO | LOG_LOCAL1, *errmsg); if (LOGLEVEL == 10) printf(*errmsg); free(*errmsg); } va_end(ap); } Doesn't seem too difficult, right? However, if I call the function from elsewhere in my application like this: _log(1, "Log test"); I get a coredump! gdb complains that message is "out of bounds" on the line "asprintf(format, "PID %d: %s", getpid(), message);" I'm at the end of my rope with this. I really need a way to easily log with variable arguments or I'll never get some other issues with this application debugged! If I tweak the _log function to this: void _log(int level, char *message) { if (level <= LOGLEVEL) { syslog(LOG_INFO | LOG_LOCAL1, "PID %d: %s", getpid(), message); if (LOGLEVEL == 10) printf("PID %d: %s", getpid(), message); } } everything works just dandy (I haven't changed any other code anywhere else! I'm not _using_ variable arguments to _log() yet) What is is between these two functions that causes the first one to coredump, yet the second one works fine? I can only guess that my usage of va_* isn't quite right, but how is that affecting the message pointer? -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-chat@FreeBSD.ORG Tue Feb 10 12:20:27 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CE4E16A4CE for ; Tue, 10 Feb 2004 12:20:27 -0800 (PST) Received: from strontium.bcxs.net (strontium.bcxs.net [81.174.236.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAC9643D1F for ; Tue, 10 Feb 2004 12:20:26 -0800 (PST) (envelope-from ben@FreeBSD.org) Received: from ben by strontium.bcxs.net with local (Exim 4.30) id 1AqeMs-000OZF-08; Tue, 10 Feb 2004 20:20:26 +0000 Date: Tue, 10 Feb 2004 20:20:25 +0000 From: Ben Smithurst To: Bill Moran Message-ID: <20040210202025.GA93986@strontium.bcxs.net> References: <40293B38.30401@potentialtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <40293B38.30401@potentialtech.com> User-Agent: Mutt/1.4.1i X-PGP-Key: http://www.smithurst.org/ben/pgp-key.txt cc: freebsd-chat@freebsd.org Subject: Re: Could use some help with variable length argument lists X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 20:20:27 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bill Moran wrote: > char **format, **errmsg; >=20 > va_start(ap, message); > if (level <=3D LOGLEVEL) { > asprintf(format, "PID %d: %s", getpid(), message); =2E.. > Doesn't seem too difficult, right? However, if I call the function > from elsewhere in my application like this: >=20 > _log(1, "Log test"); >=20 > I get a coredump! gdb complains that message is "out of bounds" > on the line "asprintf(format, "PID %d: %s", getpid(), message);" are you sure it isn't the format variable causing the problem? It's a while since I've used asprintf() but from memory you should write something more like char *format; =2E.. asprintf(&format, "PID %d: %s", getpid(), message); Your code above is passing format uninitialized (you should have got a compile time warning about that). Or maybe I'm misunderstanding something. :-) --=20 Ben Smithurst / ben@FreeBSD.org FreeBSD: The Power To Serve http://www.FreeBSD.org/ --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAKT0JbPzJ+yzvRCwRAu+3AKCzkW07ait8hjbFAmEgQLqYwCFvsgCfbAYw IqL9xzbG7pz2KQMlxCACfik= =keic -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-chat@FreeBSD.ORG Tue Feb 10 12:34:22 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE13D16A4CE for ; Tue, 10 Feb 2004 12:34:22 -0800 (PST) Received: from gldis.ca (constans.gldis.ca [66.11.169.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2686243D1F for ; Tue, 10 Feb 2004 12:34:22 -0800 (PST) (envelope-from gldisater@gldis.ca) Received: from gldis.ca (localhost [127.0.0.1]) by gldis.ca (8.12.8p2/8.12.8) with ESMTP id i1AKTbM9070269; Tue, 10 Feb 2004 15:29:37 -0500 (EST) (envelope-from gldisater@gldis.ca) Message-ID: <402940EC.2030403@gldis.ca> Date: Tue, 10 Feb 2004 15:37:00 -0500 From: Jeremy Faulkner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040120 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Moran References: <40293B38.30401@potentialtech.com> In-Reply-To: <40293B38.30401@potentialtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on constans.gldis.ca cc: freebsd-chat@freebsd.org Subject: Re: Could use some help with variable length argument lists X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 20:34:22 -0000 Bill Moran wrote: > I'm so frustrated I could cry. > > I want my application to be able to do all kinds of logging, so I wrote > a log > function: > > void > _log(int level, const char *message, ...) > { > va_list ap; > char **format, **errmsg; > > va_start(ap, message); > if (level <= LOGLEVEL) { > asprintf(format, "PID %d: %s", getpid(), message); > vasprintf(errmsg, *format, ap); > free(*format); > syslog(LOG_INFO | LOG_LOCAL1, *errmsg); > if (LOGLEVEL == 10) > printf(*errmsg); > free(*errmsg); > } > va_end(ap); > } > > Doesn't seem too difficult, right? However, if I call the function > from elsewhere in my application like this: > > _log(1, "Log test"); > > I get a coredump! gdb complains that message is "out of bounds" > on the line "asprintf(format, "PID %d: %s", getpid(), message);" > > I'm at the end of my rope with this. I really need a way to easily > log with variable arguments or I'll never get some other issues with > this application debugged! If I tweak the _log function to this: > > void > _log(int level, char *message) > { > if (level <= LOGLEVEL) { > syslog(LOG_INFO | LOG_LOCAL1, "PID %d: %s", getpid(), message); > if (LOGLEVEL == 10) > printf("PID %d: %s", getpid(), message); > } > } > > everything works just dandy (I haven't changed any other code anywhere > else! I'm not _using_ variable arguments to _log() yet) > > What is is between these two functions that causes the first one to > coredump, yet the second one works fine? I can only guess that my > usage of va_* isn't quite right, but how is that affecting the message > pointer? > va_start says that the last required variable is "message". You can't use ap because it's not in the list of variables when you called the function. _log(1, "Log test"); ^ There's nothing there to be "ap" So it "Segmentation fault (core dumped)"'s _log(1, "Log test", NULL); -- Jeremy Faulkner http://www.gldis.ca From owner-freebsd-chat@FreeBSD.ORG Tue Feb 10 12:34:43 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F115116A4CE; Tue, 10 Feb 2004 12:34:43 -0800 (PST) Received: from internet.potentialtech.com (h-66-167-251-6.PHLAPAFG.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDBD343D1F; Tue, 10 Feb 2004 12:34:43 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id D3CF369A70; Tue, 10 Feb 2004 15:34:42 -0500 (EST) Message-ID: <4029405F.1090609@potentialtech.com> Date: Tue, 10 Feb 2004 15:34:39 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ben Smithurst References: <40293B38.30401@potentialtech.com> <20040210202025.GA93986@strontium.bcxs.net> In-Reply-To: <20040210202025.GA93986@strontium.bcxs.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-chat@freebsd.org Subject: Re: Could use some help with variable length argument lists X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 20:34:44 -0000 Ben Smithurst wrote: > Bill Moran wrote: > >> char **format, **errmsg; >> >> va_start(ap, message); >> if (level <= LOGLEVEL) { >> asprintf(format, "PID %d: %s", getpid(), message); > ... > >>Doesn't seem too difficult, right? However, if I call the function >>from elsewhere in my application like this: >> >>_log(1, "Log test"); >> >>I get a coredump! gdb complains that message is "out of bounds" >>on the line "asprintf(format, "PID %d: %s", getpid(), message);" > > are you sure it isn't the format variable causing the problem? It's > a while since I've used asprintf() but from memory you should write > something more like > > char *format; > ... > asprintf(&format, "PID %d: %s", getpid(), message); > > Your code above is passing format uninitialized (you should have got a > compile time warning about that). > > Or maybe I'm misunderstanding something. :-) Nope. You're understanding far more clearly than I, today. Your suggestion fixed it! I owe you a big one, if you're ever in western PA, give me a call, the drinks are on me - you've earned it! I guess it just goes to show that I've been sitting in front of this computer too long ;) -- Bill Moran Potential Technologies http://www.potentialtech.com From owner-freebsd-chat@FreeBSD.ORG Tue Feb 10 15:06:15 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61EAF16A4CE for ; Tue, 10 Feb 2004 15:06:15 -0800 (PST) Received: from www.bluecirclesoft.com (cpe-024-165-114-048.cinci.rr.com [24.165.114.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 149BD43D1D for ; Tue, 10 Feb 2004 15:06:15 -0800 (PST) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from www.bluecirclesoft.com (localhost [127.0.0.1]) i1AN6DPh040002; Tue, 10 Feb 2004 18:06:13 -0500 (EST) (envelope-from mrami@bluecirclesoft.com) Received: (from mrami@localhost) by www.bluecirclesoft.com (8.12.9p2/8.12.9/Submit) id i1AN6Ciw040001; Tue, 10 Feb 2004 18:06:12 -0500 (EST) (envelope-from mrami) Date: Tue, 10 Feb 2004 18:06:12 -0500 From: Marc Ramirez To: Jeremy Faulkner Message-ID: <20040210230611.GB39506@www.bluecirclesoft.com> References: <40293B38.30401@potentialtech.com> <402940EC.2030403@gldis.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <402940EC.2030403@gldis.ca> User-Agent: Mutt/1.4.1i cc: Bill Moran cc: freebsd-chat@freebsd.org Subject: Re: Could use some help with variable length argument lists X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 23:06:15 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 10, 2004 at 03:37:00PM -0500, Jeremy Faulkner wrote: >=20 >=20 > va_start says that the last required variable is "message". >=20 > You can't use ap because it's not in the list of variables when you=20 > called the function. ap doesn't represent a parameter, it represents the list. C/C++ have no way of knowing how many parameters were passed in. The information in "message" tells the function how many parameters are in the list. > _log(1, "Log test"); > ^ There's nothing there to be "ap" >=20 > So it "Segmentation fault (core dumped)"'s >=20 > _log(1, "Log test", NULL); If that were true, then printf("Hello, world!"); could never work. Marc. > --=20 > Jeremy Faulkner http://www.gldis.ca > _______________________________________________ > freebsd-chat@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org" --=20 Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD4DBQFAKWPig1EgpGw750IRArrhAJUZR4qHXkFWwz6GZOXSd/7VXX//AJ9Fk9/K OwpY/MNzZfh8bXGAKwAyXg== =aveT -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k-- From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 15:08:59 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A837A16A4CE for ; Wed, 11 Feb 2004 15:08:59 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C98F43D2F for ; Wed, 11 Feb 2004 15:08:59 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 11 Feb 2004 17:09:07 -0600 Message-ID: <402AB5D0.8070008@daleco.biz> Date: Wed, 11 Feb 2004 17:08:00 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chat@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Feb 2004 23:09:07.0750 (UTC) FILETIME=[0D031C60:01C3F0F4] Subject: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 23:08:59 -0000 Running a desktop box with a dialup PPP connection to the 'Net, my "portupgrade -aRr" tends to take a couple of days .... I'd taken to dealing with it once a month. It occurs to me that it might actually be less painful to do it more often ... What's your plan? Kevin Kinsey From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 15:12:41 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 224E316A4CE for ; Wed, 11 Feb 2004 15:12:41 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-106-71.dsl.lsan03.pacbell.net [64.169.106.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B7C43D1D for ; Wed, 11 Feb 2004 15:12:40 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6736B66CC9; Wed, 11 Feb 2004 15:12:40 -0800 (PST) Date: Wed, 11 Feb 2004 15:12:40 -0800 From: Kris Kennaway To: "Kevin D. Kinsey, DaleCo, S.P." Message-ID: <20040211231240.GA427@xor.obsecurity.org> References: <402AB5D0.8070008@daleco.biz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <402AB5D0.8070008@daleco.biz> User-Agent: Mutt/1.4.1i cc: chat@freebsd.org Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 23:12:41 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 11, 2004 at 05:08:00PM -0600, Kevin D. Kinsey, DaleCo, S.P. wro= te: > Running a desktop box with a dialup PPP connection > to the 'Net, my "portupgrade -aRr" tends to take a > couple of days .... >=20 > I'd taken to dealing with it once a month. >=20 > It occurs to me that it might actually be less > painful to do it more often ... >=20 > What's your plan? Keep an eye on changes to the ports collection and upgrade when needed (security fixes, bug fixes, new version with new features in the applications I use), and when safe (no reported instability). Kris --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAKrboWry0BWjoQKURAgvlAJ95bOEcb+BwAXB6cFBmEEwd3DkSEwCffGlA edXOTFXiuxbMVklEUSTIbNg= =VXNo -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 15:22:21 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D451616A4D0 for ; Wed, 11 Feb 2004 15:22:21 -0800 (PST) Received: from enterprise.sd73.bc.ca (romulus-net.sd73.bc.ca [142.24.13.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id A42E943D1F for ; Wed, 11 Feb 2004 15:22:21 -0800 (PST) (envelope-from fcash-ml@sd73.bc.ca) Received: from 192.168.0.200 (romulus-net.sd73.bc.ca [142.24.13.134]) i1BNEX7O003435 for ; Wed, 11 Feb 2004 15:14:33 -0800 From: Freddie Cash Organization: School District 73 To: freebsd-chat@freebsd.org Date: Wed, 11 Feb 2004 15:22:01 -0800 User-Agent: KMail/1.6 References: <402AB5D0.8070008@daleco.biz> In-Reply-To: <402AB5D0.8070008@daleco.biz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402111522.01546.fcash-ml@sd73.bc.ca> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (enterprise.sd73.bc.ca) Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fcash-ml@sd73.bc.ca List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 23:22:22 -0000 On February 11, 2004 03:08 pm, Kevin D. Kinsey, DaleCo, S.P. wrote: > Running a desktop box with a dialup PPP connection > to the 'Net, my "portupgrade -aRr" tends to take a > couple of days .... > I'd taken to dealing with it once a month. > It occurs to me that it might actually be less > painful to do it more often ... > What's your plan? Do the upgrade in steps. First, fetch any needed distfiles for all updated programs. Then you can do the actual compiles / upgrades at your leisure, without having to be connected. Run portupgrade twice, once with the -F parameter, and once without. I haven't had to deal with dial-up in awhile, but a few of our remote sites only have switched-56K, 64K wireless, or slow 128K ADSL. Doing it this way makes life so much easier for everybody. I schedule the downloads at night, and do the actual updates in the background during the day. I update the ports tree and INDEX files every Tuesday via cron, or manually when there's security upgrades involved (freshports is great). But, I do all my upgrades manually, only upgrading the bits I want or need, and only if there's more than a minor version bump. I have yet to run a portupgrade with -arR. :) Of course, these are all production servers, and my work laptop. :) -- Freddie Cash fcash-ml@sd73.bc.ca From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 15:25:44 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526B016A4CE for ; Wed, 11 Feb 2004 15:25:44 -0800 (PST) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C2F543D1D for ; Wed, 11 Feb 2004 15:25:44 -0800 (PST) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) i1BNPhFY015440 for ; Wed, 11 Feb 2004 15:25:43 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.10/8.12.10/Submit) id i1BNPhWK015439 for chat@freebsd.org; Wed, 11 Feb 2004 15:25:43 -0800 (PST) (envelope-from david) Date: Wed, 11 Feb 2004 15:25:43 -0800 (PST) From: David Wolfskill Message-Id: <200402112325.i1BNPhWK015439@bunrab.catwhisker.org> To: chat@freebsd.org In-Reply-To: <402AB5D0.8070008@daleco.biz> Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 23:25:44 -0000 >Date: Wed, 11 Feb 2004 17:08:00 -0600 >From: "Kevin D. Kinsey, DaleCo, S.P." >To: chat@freebsd.org >Subject: Curious...how often do *you* portupgrade(1) ? >Sender: owner-freebsd-chat@freebsd.org >Running a desktop box with a dialup PPP connection >to the 'Net, my "portupgrade -aRr" tends to take a >couple of days .... Hmm.... You may find "portupgrade -aF" ("just fetch") useful during periods when you don't especially want to destabilize the machine, but you have connectivity. >I'd taken to dealing with it once a month. >It occurs to me that it might actually be less >painful to do it more often ... Maybe. :-} >What's your plan? Well, I have 4 machines that are (mostly) at home. (3 are at home; the 4th is my laptop, which is with me at work, though I'm writing from one of the home machines via an ssh tunnel.) I have the beginnings of some moderately-detailed notes on my approach at http://www.catwhisker.org/~david/FreeBSD/upgrade.html. Briefly, on my laptop and my (SMP) "build machine," I track each of -STABLE and -CURRENT daily, and upgrade all of the ports on each daily. (Each also has a copy of the FreeBSD CVS repository: the laptop gets it from the build machine, which gets it from one of the official mirrors.) When I upgrade the ports on the build machine, I use the "-p" flag to portupgrade, so it builds packages as it goes. For some ports that take a long time to build (e.g., mozilla), after the package is built on the build machine, I copy it (via scp) to my laptop, then tell portpugrade on the laptop to take advantage of any packages it finds locally. Every week, I upgrade the ports on the other 2 machines by NFS-mounting the build machine's "ports" directory on each. Again, I tell portupgrade to take advantage of any local packages. Once this is done, I clear /usr/ports/packages/* on the build machine. For that matter, once the build machine's duties are done for the day, I turn it off. (These last 2 machines also track -STABLE about every couple of weeks, using a snapshot built on the build machine.) I've been doing this for a little over 2 years now, and it's been working out fairly well for me so far. For example, from the machine on which this message is being composed: bunrab(4.9-S)[11] uname -a FreeBSD bunrab.catwhisker.org 4.9-STABLE FreeBSD 4.9-STABLE #60: Sun Feb 8 06:10:44 PST 2004 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/BUNRAB i386 bunrab(4.9-S)[12] Peace, david -- David H. Wolfskill david@catwhisker.org I do not "unsubscribe" from email "services" to which I have not explicitly subscribed. Rather, I block spammers' access to SMTP servers I control, and encourage others who are in a position to do so to do likewise. From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 18:37:13 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E15016A4CE for ; Wed, 11 Feb 2004 18:37:13 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6768443D1F for ; Wed, 11 Feb 2004 18:37:13 -0800 (PST) (envelope-from rsidd@online.fr) Received: from user-0cdfet4.cable.mindspring.com ([24.215.187.164] helo=papagena.rockefeller.edu) by conure.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1Ar6j2-0005Zo-00 for chat@freebsd.org; Wed, 11 Feb 2004 18:37:12 -0800 Received: (qmail 1553 invoked by uid 1002); 12 Feb 2004 02:37:11 -0000 Date: Wed, 11 Feb 2004 21:37:11 -0500 From: Rahul Siddharthan To: David Wolfskill Message-ID: <20040212023711.GA1544@online.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402112325.i1BNPhWK015439@bunrab.catwhisker.org> X-Operating-System: Linux 2.4.23 i686 User-Agent: Mutt/1.5.5.1+cvs20040105i cc: chat@freebsd.org Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 02:37:13 -0000 David Wolfskill wrote: >>Running a desktop box with a dialup PPP connection >>to the 'Net, my "portupgrade -aRr" tends to take a >couple of days .... > >Hmm.... You may find "portupgrade -aF" ("just fetch") useful during >periods when you don't especially want to destabilize the machine, but >you have connectivity. Or if you have access to another machine with a fast connection and a CD burner, you could use "-n" (don't do anything) to see what packages would be upgraded, fetch those distfiles on the other machine, and bring them to your dialup-connected machine on a CD. Rahul From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 19:00:04 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C74A216A4CE for ; Wed, 11 Feb 2004 19:00:04 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99E7C43D39 for ; Wed, 11 Feb 2004 19:00:04 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 11 Feb 2004 21:00:12 -0600 Message-ID: <402AEBF9.5000201@daleco.biz> Date: Wed, 11 Feb 2004 20:59:05 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rahul Siddharthan References: <20040212023711.GA1544@online.fr> In-Reply-To: <20040212023711.GA1544@online.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Feb 2004 03:00:13.0078 (UTC) FILETIME=[55644360:01C3F114] cc: chat@freebsd.org cc: David Wolfskill Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 03:00:04 -0000 Rahul Siddharthan wrote: >David Wolfskill wrote: > > >>>Running a desktop box with a dialup PPP connection >>>to the 'Net, my "portupgrade -aRr" tends to take a >>> >>> >>couple of days .... >> >>Hmm.... You may find "portupgrade -aF" ("just fetch") useful during >>periods when you don't especially want to destabilize the machine, but >>you have connectivity. >> >> > >Or if you have access to another machine with a fast connection and a >CD burner, you could use "-n" (don't do anything) to see what packages >would be upgraded, fetch those distfiles on the other machine, and >bring them to your dialup-connected machine on a CD. > >Rahul > > Now that sounds like it may be a great idea --- scheduling via cron at the colo; now I'll just have to get a burner on those servers, hmm.... Thanks! KDK From owner-freebsd-chat@FreeBSD.ORG Wed Feb 11 20:40:53 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5D0C16A4CE for ; Wed, 11 Feb 2004 20:40:53 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id B556443D1F for ; Wed, 11 Feb 2004 20:40:53 -0800 (PST) (envelope-from freebsd-chat@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ar8eh-0006Jq-00 for ; Thu, 12 Feb 2004 05:40:52 +0100 Received: from pcd165088.netvigator.com ([203.218.10.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu Feb 12 04:40:52 2004 Received: from xhidem by pcd165088.netvigator.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu Feb 12 04:40:52 2004 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-chat@freebsd.org From: Kevin Leung Date: Thu, 12 Feb 2004 11:52:26 +0800 Lines: 12 Message-ID: References: <402AB5D0.8070008@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcd165088.netvigator.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040212 X-Accept-Language: en-us, en In-Reply-To: <402AB5D0.8070008@daleco.biz> Sender: news Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 04:40:54 -0000 Kevin D. Kinsey, DaleCo, S.P. wrote: > Running a desktop box with a dialup PPP connection > to the 'Net, my "portupgrade -aRr" tends to take a > couple of days .... I think just `portupgrade -aR` is ok, since all libraries should remain binary compatible. If not, they increase their major version number. And most of the time, you will find a port that is for the binary incompatible library. Eg gtk12, gtk20. That save you so much time when trying to upgrade. I usually portupgrade every three or four days. From owner-freebsd-chat@FreeBSD.ORG Fri Feb 13 10:47:14 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8974916A4CE for ; Fri, 13 Feb 2004 10:47:14 -0800 (PST) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF90843D1F for ; Fri, 13 Feb 2004 10:47:13 -0800 (PST) (envelope-from tilman@arved.de) Received: from huckfinn-wi0.arved.de (localhost [127.0.0.1]) i1DIjpQT077187; Fri, 13 Feb 2004 19:47:12 +0100 (CET) (envelope-from tilman@arved.de) Received: (from tilman@localhost) by huckfinn-wi0.arved.de (8.12.11/8.12.6/Submit) id i1DIjpjB077186; Fri, 13 Feb 2004 19:45:51 +0100 (CET) X-Authentication-Warning: huckfinn-wi0.arved.de: tilman set sender to tilman@arved.de using -f Date: Fri, 13 Feb 2004 19:45:51 +0100 From: Tilman Linneweh To: Andrey Chernov Message-ID: <20040213184551.GA77031@huckfinn.arved.de> References: <20040213062611.GA53727@nagual.pp.ru> <20040213152501.GB59857@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20040213152501.GB59857@nagual.pp.ru> User-Agent: Mutt/1.4.2i cc: freebsd-chat@FreeBSD.org Subject: Re: test, ignore it X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 18:47:14 -0000 * Andrey Chernov [Fr, 13 Feb 2004 at 16:25 GMT]: [Switching to -chat, as this is not on-topic on -hubs] > On Fri, Feb 13, 2004 at 09:47:32AM +0100, Tilman Linneweh wrote: >> * Andrey Chernov [Fr, 13 Feb 2004 at 07:26 GMT]: >>=3D20 >> freebsd-test@FreeBSD.org exists. > > I need to test other lists too to know, which one accepts mail from > non-members of the list. Surprisingly I found that only 3 lists I > subscribed (announce, current and security) disallow non-members postings, > all other allows SPAM. It has been FreeBSD policy for years, that lists are open for non-members, so it should not suprise you. Except for -current this is also documented on http://lists.freebsd.org/mailman/listinfo/.=20 Additional it would have been less disturbing if you had just asked the=20 listmasters instead of sending email to hundreds of subcribers,=20 especially as you claim to be concerned about SPAM.=20 regards tilman From owner-freebsd-chat@FreeBSD.ORG Sat Feb 14 09:23:59 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B7916A4CE for ; Sat, 14 Feb 2004 09:23:59 -0800 (PST) Received: from mailgate.packet.org.uk (spr1-with1-3-0-cust50.manc.broadband.ntl.com [80.5.52.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F4043D1D for ; Sat, 14 Feb 2004 09:23:59 -0800 (PST) (envelope-from fbsd-x@packet.org.uk) Received: from xaphod by mailgate.packet.org.uk with local (Exim 4.24; FreeBSD 4.8) id 1As3WH-000Ig5-AE; Sat, 14 Feb 2004 17:23:57 +0000 Date: Sat, 14 Feb 2004 17:23:57 +0000 From: Peter McGarvey To: "Kevin D. Kinsey, DaleCo, S.P." Message-ID: <20040214172357.GA71428@packet.org.uk> References: <402AB5D0.8070008@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <402AB5D0.8070008@daleco.biz> User-Agent: Mutt/1.4.1i cc: chat@freebsd.org Subject: Re: Curious...how often do *you* portupgrade(1) ? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 17:24:00 -0000 * Kevin D. Kinsey, DaleCo, S.P. [2004-02-11 23:10:50 GMT]: > Running a desktop box with a dialup PPP connection > to the 'Net, my "portupgrade -aRr" tends to take a > couple of days .... > > I'd taken to dealing with it once a month. > > It occurs to me that it might actually be less > painful to do it more often ... I run cvsup and portsclean from cron every night. And I add this: weekly_status_pkg_enable="YES" to /etc/periodic.conf to add a package status report to the weekly reports... and I actually /read/ the reports. Then I do a port upgrade when the number of non-important packages pass a fuzzy threshold (about 5 usually - more if I'm feeling lazy, less if I'm feeling keen). If it's something important (like, say, an exim upgrade on a core mail server) I upgrade everything else a day or so before, and upgrade the important stuff by itself. But I never upgrade the important stuff without checking the CVS logs to see why a port has been upgraded. If I'm starting work on a box I'll run /etc/periodic/weekly/400.status-pkg Manually to see if there are any out of date ports which could have any relevance to what I'm about to do. If there are I'll upgrade them. -- TTFN, FNORD Peter McGarvey Freelance FreeBSD Hacker (will work for bandwidth)