[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Config problems on Solaris9
From: |
Hugh Sasse |
Subject: |
Re: Config problems on Solaris9 |
Date: |
Tue, 19 Apr 2005 17:04:20 +0100 (WEST) |
On Tue, 19 Apr 2005, Paul Jarc wrote:
Hugh Sasse <hgs@dmu.ac.uk> wrote:
Where does it normally live?
<dirent.h>, or another file included there.
glark -r \bDIR\b /usr/include:/usr/local/include
The shell processes one level of escaping/quoting.
<blush/> I've only known that for, well, too many years! Thank you
glark -r '\bDIR\b' /usr/include:/usr/local/include
/usr/include/sys/bpp_reg.h:
138 #define BPP_DS_IRQ_EN 0x0200 /* DIR+ interrupt enable
*/
/usr/include/sys/fdreg.h:
123 /* DIR - Digital Input register - 82077 only */
/usr/include/libxml2/libxml/nanoftp.h:
93 * CD/DIR/GET handlers
/usr/include/Xm/Xmos_r.h:
482 * struct dirent *_XReaddir(DIR *dir_pointer, _Xreaddirparams);
549 extern int _Preaddir_r(DIR *, struct dirent *, struct dirent **);
/usr/include/dirent.h:
42 } DIR; /* stream data from opendir() */
52 } DIR; /* stream data from opendir() */
76 extern DIR *opendir(const char *);
79 extern DIR *fdopendir(int);
81 extern struct dirent *readdir(DIR *);
84 extern long telldir(DIR *);
85 extern void seekdir(DIR *, long);
87 extern void rewinddir(DIR *);
88 extern int closedir(DIR *);
93 extern struct dirent64 *readdir64(DIR *);
98 extern DIR *opendir();
101 extern DIR *fdopendir();
150 extern int readdir_r(DIR *, struct dirent *, struct dirent **);
155 readdir_r(DIR *__dp, struct dirent *__ent, struct dirent **__res)
157 extern int __posix_readdir_r(DIR *, struct dirent *, struct dirent **);
164 extern struct dirent *readdir_r(DIR *__dp, struct dirent *__ent);
183 extern int readdir_r(DIR *, struct dirent *, struct dirent **);
190 extern int readdir64_r(DIR *, struct dirent64 *, struct dirent64
**);
205 readdir_r(DIR *__dp, struct dirent *__ent, struct dirent **__res)
/usr/local/include/tidy/tidyenum.h:
333 TidyTag_DIR, /**< DIR */
480 TidyAttr_DIR, /**< DIR= */
/usr/local/include/python2.3/pyconfig.h:
84 /* Define to 1 if you have the <dirent.h> header file, and it defines
`DIR'.
307 /* Define to 1 if you have the <ndir.h> header file, and it defines
`DIR'. */
507 /* Define to 1 if you have the <sys/dir.h> header file, and it defines
`DIR'.
523 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines
`DIR'.
/usr/local/include/readline/history.h:
175 absolute index into the list. DIR, if negative, says to search
OK, so what about my config.h then...?
grep -i dirent /scratch/hgs/bash-3.0/config.h
gives
#define HAVE_STRUCT_DIRENT_D_INO 1
/* #undef HAVE_STRUCT_DIRENT_D_FILENO */
/* #undef HAVE_STRUCT_DIRENT_D_NAMLEN */
/* Define if you have the <dirent.h> header file. */
#define HAVE_DIRENT_H 1
which seems OK. I'm not sure what to look for next, though.
paul
Thank you,
Hugh