emacs-devel
[Top][All Lists]
Advanced

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

Re: What to do with too-large group ids?


From: Kai Großjohann
Subject: Re: What to do with too-large group ids?
Date: Mon, 29 Jul 2002 12:04:22 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Andreas Schwab <address@hidden> writes:

> address@hidden (Kai writes:
>
> |> But if you prefer, I'll return them as strings and update the
> |> documentation for file-attributes accordingly.  (Something like the
> |> following, wording needs to be changed: If the user id is too large
> |> for an int, it is returned as a string.  This never happens for normal
> |> files, but it might happen when there is a filename handler.)
>
> Why can't this happen for normal files?

Because the current file-attributes implementation never creates a
cons (or a string) for user/group id.

I don't know what happens when the id is too large for such a file.
But surely a cons/string is not what happens.

Maybe make_number automatically creates a float when the number is too
large for a Lisp int?  Then the handlers should do that, too, I guess.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



reply via email to

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