This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Cleanup configure.in (1/n)



+/* See description of `AC_HEADER_DIRENT' in the Autoconf manual.  */
 #ifdef HAVE_DIRENT_H
 # include <dirent.h>
+# define NAMELEN(dirent) strlen((dirent)->d_name)
 #else
+# define dirent direct
+# define NAMELEN(dirent) (dirent)->d_namelen
So I should ARI something like:

/d_namelen/
/strlen.*d_name/

pointing out that NAMELEN() should be used?

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]