bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Fileutils - chauthor.


From: Alfred M. Szmidt
Subject: Re: GNU Fileutils - chauthor.
Date: 11 Apr 2002 12:21:46 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

* Niels Möller writes:
> You should probably change this to be more similar to the handling
> of DF_PROG. I.e. use
>   EXTRA_PROGRAMS = df chauthor
> and
>   mkfifo mknod mv rm rmdir shred sync touch @CHAUTHOR_PROG@
> @DF_PROG@

> in the bin_PROGRAMS list. Then have configure.in use AC_SUBST to set
> CHAUTHOR_PROG to a suitable value, based on the existence of the
> author field in struct stat or something like that (iirc, you
> already have configure tests for that).

Good point, but I think that just checking for the st_author field is wrong
as the code uses a couple Hurd specific functions. And I seriously doubt
that when someone adds the st_author field to GNU/Linux (as an example)
they will implement file_name_lookup() or file_chauthor(). So I still would
rather just check for the presence of hurd.h. But the overall idea is good,
and will change it to use that when I have some free time. Thanks.

-- 
Alfred M. Szmidt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]