Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2009 08:44:29 +0000 (UTC)
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r190542 - stable/7/contrib/csup
Message-ID:  <200903300844.n2U8iTm0058421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lulf
Date: Mon Mar 30 08:44:29 2009
New Revision: 190542
URL: http://svn.freebsd.org/changeset/base/190542

Log:
  MFC r190406:
  - Remember to set umask before setting attributes of RCS file.
  
  Approved by:	re (kib)

Modified:
  stable/7/contrib/csup/   (props changed)
  stable/7/contrib/csup/updater.c

Modified: stable/7/contrib/csup/updater.c
==============================================================================
--- stable/7/contrib/csup/updater.c	Mon Mar 30 08:39:42 2009	(r190541)
+++ stable/7/contrib/csup/updater.c	Mon Mar 30 08:44:29 2009	(r190542)
@@ -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?200903300844.n2U8iTm0058421>