From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: group on non-unix like systems [was: ls-lisp and remote files] Date: Sun, 23 Nov 2003 00:11:36 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3FBFED28.2070604@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069543008 28540 80.91.224.253 (22 Nov 2003 23:16:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2003 23:16:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 23 00:16:46 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ANgzd-0001Na-00 for ; Sun, 23 Nov 2003 00:16:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ANgzd-0007MK-00 for ; Sun, 23 Nov 2003 00:16:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ANht5-0004jb-Dg for emacs-devel@quimby.gnus.org; Sat, 22 Nov 2003 19:14:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ANhsv-0004jE-MJ for emacs-devel@gnu.org; Sat, 22 Nov 2003 19:13:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ANhsP-0004cu-O2 for emacs-devel@gnu.org; Sat, 22 Nov 2003 19:13:52 -0500 Original-Received: from [62.84.220.10] (helo=post.kabelnettet.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ANhsP-0004az-1e for emacs-devel@gnu.org; Sat, 22 Nov 2003 19:13:21 -0500 Original-Received: from math.ku.dk [62.84.220.219] by post.kabelnettet.dk with ESMTP (SMTPD32-8.03) id AD5111BA00E0; Sun, 23 Nov 2003 00:12:17 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18041 Yesterday I installed changes that add a new optional parameter id-format to file-attributes and directory-files-and-attributes. Today I realize that those changes don't compile on windows and mac because these systems don't have the getgrgid function. To fix that, I have implemented the missing function in src/w32.c and src/mac.c and defined struct group in new files nt/inc/grp.h and mac/inc/grp.h. The function getgrgid is just a stub that always returns "root" as group name. Maybe the people that maintain windows and mac ports want to check my changes. If so, thank you for your help! By the way, the files nt/inc/grp.h and mac/inc/grp.h are new, so they need tags. How do one create them?