search for: have_struct_stat_st_blksize

Displaying 5 results from an estimated 5 matches for "have_struct_stat_st_blksize".

2002 Dec 03
1
scp "Bad address" errors with strange filesystem block sizes
....c =================================================================== RCS file: /x/freebsd/src/crypto/openssh/scp.c,v retrieving revision 1.1.1.9 diff -u -r1.1.1.9 scp.c --- scp.c 27 Jun 2002 22:31:12 -0000 1.1.1.9 +++ scp.c 3 Dec 2002 01:54:49 -0000 @@ -1030,6 +1030,9 @@ { size_t size; #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE +#ifndef roundup +#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ +#endif struct stat stb; if (fstat(fd, &stb) < 0) { @@ -1039,8 +1042,7 @@ if (stb.st_blksize == 0) size = blksize; else - size = blksize + (stb.st_blksize - blksize % stb.st_blksize) % - stb...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...ar *dir, visitor_function f, void *opaque); diff --git a/configure.ac b/configure.ac index 0b2c0e0..01f1b3b 100644 --- a/configure.ac +++ b/configure.ac @@ -270,6 +270,12 @@ dnl Check if stat has the required fields. AC_STRUCT_ST_BLOCKS AC_CHECK_MEMBER([struct stat.st_blksize],[ AC_DEFINE([HAVE_STRUCT_STAT_ST_BLKSIZE],[1],[Define to 1 if 'st_blksize' is a member of 'struct stat'.])]) +AC_CHECK_MEMBER([struct stat.st_atim.tv_nsec],[ + AC_DEFINE([HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC],[1],[Define to 1 if 'st_mtim.tv_nsec' is a member of 'struct stat'.])]) +AC_CHECK_MEMBER([struct sta...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...ine HAVE_STRERROR 1 #define HAVE_STRFTIME 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT */ /* #undef HAVE_STRLCPY */ /* #undef HAVE_STRMODE */ /* #undef HAVE_STRNVIS */ #define HAVE_STRSEP 1 #define HAVE_STRTOLL 1 /* #undef HAVE_STRTONUM */ #define HAVE_STRTOUL 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_SYSCONF 1 /* #undef HAVE_SYS_AUDIT_H */ #define HAVE_SYS_BITYPES_H 1 /* #undef HAVE_SYS_BSDTTY_H */ #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_MMAN_H 1 /* #undef HAVE_SYS_NDIR_H */ #define HAVE_SYS_PRCTL_H 1 /* #undef HAVE_SYS_...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...ine HAVE_STDINT_H 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRFTIME 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRLCAT 1 #define HAVE_STRLCPY 1 #define HAVE_STRSEP 1 #define HAVE_STRTOLL 1 #define HAVE_STRTOUL 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_STRUCT_TIMEVAL 1 #define HAVE_SYSCONF 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_ERRLIST 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_NERR 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_TIME_H...
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings: Patches 1-12 split configure.ac into smaller files using the m4_include mechanism. Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into three new manual pages: guestfs-hacking(3) - how to extend and contribute to libguestfs guestfs-internals(3) - architecture and internals guestfs-security(3) - security and CVEs Patch 16 is a