Module Name: src Committed By: yamt Date: Mon Jul 30 23:11:13 UTC 2012
Modified Files: src/include: dirent.h Log Message: comments To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/include/dirent.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/dirent.h diff -u src/include/dirent.h:1.34 src/include/dirent.h:1.35 --- src/include/dirent.h:1.34 Sun Sep 26 02:26:59 2010 +++ src/include/dirent.h Mon Jul 30 23:11:13 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: dirent.h,v 1.34 2010/09/26 02:26:59 yamt Exp $ */ +/* $NetBSD: dirent.h,v 1.35 2012/07/30 23:11:13 yamt Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -56,7 +56,13 @@ typedef struct _dirdesc DIR; /* structure describing an open directory. */ struct _dirdesc { + /* + * dd_fd should be kept intact to preserve ABI compat. see dirfd(). + */ int dd_fd; /* file descriptor associated with directory */ + /* + * the rest is hidden from user. + */ long dd_loc; /* offset in current buffer */ long dd_size; /* amount of data returned by getdents */ char *dd_buf; /* data buffer */