Displaying 1 result from an estimated 1 matches for "have_broken_readdir".
2002 Jan 07
0
rsync-2.5.1 / updated syscall.c "const" patch
...oid *start, int len, int prot, int flags, int fd, OFF_T
offset)
{
-#if HAVE_OFF64_T
+#ifdef HAVE_OFF64_T
return mmap64(start, len, prot, flags, fd, offset);
#else
return mmap(start, len, prot, flags, fd, offset);
@@ -188,7 +191,7 @@
char *d_name(struct dirent *di)
{
-#if HAVE_BROKEN_READDIR
+#ifdef HAVE_BROKEN_READDIR
return (di->d_name - 2);
#else
return di->d_name;