Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2009 07:01:45 +0000 (UTC)
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190406 - head/contrib/csup
Message-ID:  <200903250701.n2P71j1k068523@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lulf
Date: Wed Mar 25 07:01:45 2009
New Revision: 190406
URL: http://svn.freebsd.org/changeset/base/190406

Log:
  - Remember to set umask before setting attributes of RCS file.
  
  Tested by:	dougb
  MFC after:	2 days

Modified:
  head/contrib/csup/updater.c

Modified: head/contrib/csup/updater.c
==============================================================================
--- head/contrib/csup/updater.c	Wed Mar 25 06:27:56 2009	(r190405)
+++ head/contrib/csup/updater.c	Wed Mar 25 07:01:45 2009	(r190406)
@@ -1661,6 +1661,7 @@ updater_rcsedit(struct updater *up, stru
 		else
 			lprintf(1, " Touch %s", fup->coname);
 		/* Install new attributes. */
+		fattr_umask(sr->sr_serverattr, coll->co_umask);
 		fattr_install(sr->sr_serverattr, fup->destpath, NULL);
 		if (fup->attic)
 			lprintf(1, " -> Attic");



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