Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 11:20:39 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        Akinori -Aki- MUSHA <knu@idaemons.org>
Cc:        Will Andrews <will@FreeBSD.org>, Maxim Sobolev <sobomax@FreeBSD.org>, Yukihiro Nakai <nakai@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/mail/sonicmail - Imported sources
Message-ID:  <20000913112039.A11227@radon.gryphonsoft.com>
In-Reply-To: <8666o0b73k.wl@archon.local.idaemons.org>; from knu@idaemons.org on Thu, Sep 14, 2000 at 01:16:15AM %2B0900
References:  <200009131456.HAA66530@freefall.freebsd.org> <39BF9671.24BD85AB@FreeBSD.org> <8666o0b73k.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 14, 2000 at 01:16:15AM +0900, Akinori -Aki- MUSHA wrote:
> Will, please (ask the person in charge to) apply the following patch
> to freefall:/usr/local/bin/modulesupdate, to stop whitespace bloat in
> CVSROOT/modules.
> 
> I've once told you about this, however it doesn't seem fixed yet..

Yeah, I planned to fix this myself, but now that you have done this..
I'll edit modulesupdate myself and fix it.  :)

> --- modulesupdate.orig	Fri Aug 18 17:45:24 2000
> +++ modulesupdate	Thu Sep 14 01:11:02 2000
> @@ -93,7 +93,8 @@
>  
>  print "Inserting new module...\n";
>  open(ED, "|ed modules/modules") || die "Cannot start ed\n";
> -print ED "$cmd$modulename " . ' ' x (15 - length($modulename)) .
> +$len = length($modulename);
> +print ED "$cmd$modulename" . "\t" x ($len < 8 ? 2 : 1) .
>        "$modulepath\n.\nw\nq\n";
>  close(ED);

Thanks much!  This should do the job.  I'll clean up CVSROOT/modules
after applying this patch.

-- 
Will Andrews <will@physics.purdue.edu> <will@FreeBSD.org>
GCS/E/S @d- s+:+ a--- C++ UB++++$ P+ L- E--- W+ N-- !o ?K w---
O- M+ V- PS+ PE++ Y+ PGP+>+++ t++ 5 X+ R+ tv+ b++ DI+++ D+ 
G++ e>++++ h! r- y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000913112039.A11227>