From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] POSIX ACL support Date: Wed, 21 Nov 2012 07:36:09 -0800 Organization: UCLA Computer Science Department Message-ID: <50ACF4E9.60604@cs.ucla.edu> References: <878v9yr1h1.fsf@silenus.orebokech.com> <87ehjpp9b7.fsf@silenus.orebokech.com> <87mwybm84m.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353512203 12817 80.91.229.3 (21 Nov 2012 15:36:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2012 15:36:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 16:36:54 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TbCM7-0008Lh-Vc for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2012 16:36:52 +0100 Original-Received: from localhost ([::1]:44453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbCLx-00028N-C9 for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2012 10:36:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbCLo-000287-3j for emacs-devel@gnu.org; Wed, 21 Nov 2012 10:36:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbCLj-0001WH-Ac for emacs-devel@gnu.org; Wed, 21 Nov 2012 10:36:32 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:35860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbCLj-0001Uo-4d for emacs-devel@gnu.org; Wed, 21 Nov 2012 10:36:27 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2B7B739E8100; Wed, 21 Nov 2012 07:36:19 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r+GKH+XjUY8o; Wed, 21 Nov 2012 07:36:18 -0800 (PST) Original-Received: from [192.168.1.3] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 8589639E8118; Wed, 21 Nov 2012 07:36:18 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155024 Archived-At: On 11/21/2012 06:25 AM, Stefan Monnier wrote: > I'd start with whichever is easiest. I suggest something that's even simpler at the C level: an API that simply clones attributes from one file to another. The two files can be represented by file names and file descriptors. There's no need to build a runtime representation in C or Lisp of the metadata. Just copy the metadata directly, from one file to the other.