Subject: Re: CVS commit: src/lib/libc/gen
To: Christos Zoulas <christos@zoulas.com>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 05/18/2006 21:21:49
christos@zoulas.com (Christos Zoulas) writes:
> On May 18,  9:15pm, david@l8s.co.uk (David Laight) wrote:
> -- Subject: Re: CVS commit: src/lib/libc/gen
>
> | On Thu, May 18, 2006 at 03:30:36PM +0000, Christos Zoulas wrote:
> | > 
> | > Module Name:	src
> | > Committed By:	christos
> | > Date:		Thu May 18 15:30:36 UTC 2006
> | > 
> | > Modified Files:
> | > 	src/lib/libc/gen: directory.3
> | > 
> | > Log Message:
> | > Explicitly mention that telldir values are only valid for the lifetime of
> | > the DIR pointer. Pointed out by Klaus Klein.
> | 
> | POSIX (or at least the opengroup website) allows them to be trashed
> | by rewinddir() as well.
>
> Thanks. I guess we are not trashing them now, so I will not
> explicitly mention this.

We should so people don't write code that assumes they have continuing
validity.

Perry