From owner-freebsd-ports Wed Sep 5 6:35:10 2001 Delivered-To: freebsd-ports@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id E5C2237B408; Wed, 5 Sep 2001 06:34:58 -0700 (PDT) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.11.5/8.11.5) with ESMTP id f85DY7o63331; Wed, 5 Sep 2001 09:34:10 -0400 (EDT) (envelope-from mi@aldan.algebra.com) Message-Id: <200109051334.f85DY7o63331@aldan.algebra.com> Date: Wed, 5 Sep 2001 09:34:04 -0400 (EDT) From: Mikhail Teterin Subject: Re: cvs commit: src/lib/libc/stdlib strtol.c strtoll.c strtoq.c strtoul.c strtoull.c strtouq.c To: sobomax@FreeBSD.org Cc: obrien@FreeBSD.org, ache@nagual.pp.ru, ru@FreeBSD.org, ports@FreeBSD.org, kris@obsecurity.org In-Reply-To: <3B9612A4.7F70AE5B@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=koi8-r Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 5 Sep, Maxim Sobolev wrote: >> BTW, most of the patches in the ports-tree don't have such IDs, but >> some do. Since those IDs are discarded as early as at the "make >> patch" stage, I think they are pretty useless -- they don't make it >> to the compiled binaries anyway. But what's the general opinion? > No, they are pretty useful, IMO. When the user has a problem you can > verify version of patches he has and after the problem is resolved > tell him "update patxh-xx to the rev.Y.X and you'll be fine". Can't we use the version strings of the ports' Makefiles? They are supposed to be in sync with the patches. Anyway, you don't say "update X to rev Y". You say: "update to the latest version of the port" -- nothing but the whole port, and no other version, but the latest one. Besides, you can always simply look at the timestamp of the patch. The usefullness of the rcs (and other) ids in the sources, is that they let the ids make it into the binaries, where they can be read by ident(1) and similar tools. Ids in patch files don't make into the binaries... > NetBSD for example has $NetBSD$ in all their patches, this is also > helpful when you need to steal patch from the NetBSD ports collection > and add it into FreeBSD one. I don't see, how the version string helps you steal a patch... -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message