search for: have_trunc

Displaying 7 results from an estimated 7 matches for "have_trunc".

Did you mean: dhave_trunc
2005 Feb 24
1
[PATCH] Drop SETGROUPS_NOOP
...file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.c,v retrieving revision 1.25 diff -p -u -r1.25 bsd-misc.c --- openbsd-compat/bsd-misc.c 15 Aug 2004 08:41:00 -0000 1.25 +++ openbsd-compat/bsd-misc.c 24 Feb 2005 12:59:53 -0000 @@ -122,17 +122,6 @@ int truncate(const char *path, off_t len } #endif /* HAVE_TRUNCATE */ -#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) -/* - * Cygwin setgroups should be a noop. - */ -int -setgroups(size_t size, const gid_t *list) -{ - return (0); -} -#endif - #if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP) int nanosleep(const struct timespec...
2012 Apr 04
0
bug in rsync write-devices patch
...te a hack to check if fd corresponds to a device instead (simple code changes below), which seemed to make things work although it should be coded more cleanly. Thanks. Ryan Informal description of changes from receiver.c line 369: Original code (after applying write-devices patch): #ifdef HAVE_TRUNCATE If((inplace #ifdef PREALLOCATE_NEEDS_TRUNCATE || preallocated_len > offset #endif ) && fd != -1 && !IS_DEVICE(file->mode) && do_ftruncate(fd, offset) < 0) { Code after change: #ifdef HAVE_TRUNCATE { STRUCT_STAT...
2002 Jun 13
1
[2.PATCH]: Eliminate typo in bsd-misc.*
...==== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.h,v retrieving revision 1.5 diff -u -p -r1.5 bsd-misc.h --- openbsd-compat/bsd-misc.h 12 Jun 2002 16:57:15 -0000 1.5 +++ openbsd-compat/bsd-misc.h 13 Jun 2002 20:43:04 -0000 @@ -77,7 +77,7 @@ int truncate (const char *path, off_t le #endif /* HAVE_TRUNCATE */ #if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) -int setgroups(size_t size, const git_t *list); +int setgroups(size_t size, const gid_t *list); #endif -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen at redhat.com
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...PS 1 #define HAVE_SETREUID 1 #define HAVE_SETRLIMIT 1 #define HAVE_SETSID 1 #define HAVE_SETVBUF 1 #define HAVE_SIGACTION 1 #define HAVE_SNPRINTF 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRERROR 1 #define HAVE_STRLCAT 1 #define HAVE_STRLCPY 1 #define HAVE_SYSCONF 1 #define HAVE_TCGETPGRP 1 #define HAVE_TRUNCATE 1 #define HAVE_UTIMES 1 #define HAVE_VHANGUP 1 #define HAVE_VSNPRINTF 1 #define HAVE_WAITPID 1 #define HAVE_DIRNAME 1 #define HAVE_LIBGEN_H 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_TIME 1 #define HAVE_ENDUTENT 1 #define HAVE_GETUTENT 1 #define HAVE_GETUTID 1 #define HAVE_GETUTLINE 1 #define HA...
2016 Jan 19
2
OpenSSH portability & buildsystem fixes
...bsd-misc.h index 0d81d17..7e77bd2 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -63,7 +63,7 @@ struct timeval { } #endif /* HAVE_STRUCT_TIMEVAL */ -int utimes(char *, struct timeval *); +int utimes(const char *, struct timeval *); #endif /* HAVE_UTIMES */ #ifndef HAVE_TRUNCATE diff --git a/openbsd-compat/strptime.c b/openbsd-compat/strptime.c index d8d83d9..8958767 100644 --- a/openbsd-compat/strptime.c +++ b/openbsd-compat/strptime.c @@ -68,7 +68,9 @@ _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) { unsigned char c; const unsigned cha...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
.../* #undef HAVE_SYS_SYSLOG_H */ #define HAVE_SYS_SYSMACROS_H 1 /* #undef HAVE_SYS_TIMERS_H */ #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_TCGETPGRP 1 #define HAVE_TCSENDBREAK 1 #define HAVE_TIME 1 #define HAVE_TIME_H 1 /* #undef HAVE_TMPDIR_H */ #define HAVE_TRUNCATE 1 #define HAVE_TTYENT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSETENV 1 #define HAVE_UPDWTMP 1 #define HAVE_UPDWTMPX 1 /* #undef HAVE_USERSEC_H */ /* #undef HAVE_UTIL_H */ #define HAVE_UTIMES 1 #define HAVE_UTIME_H 1 #define HAVE_UTMPNAME 1 #define HAVE_UTMPXNAME 1 #define HAVE_UTMPX_H 1 #defi...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...ERR 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_TCGETPGRP 1 #define HAVE_TCSENDBREAK 1 #define HAVE_TIME 1 #define HAVE_TIME_H 1 #define HAVE_TIME_IN_UTMP 1 #define HAVE_TIME_IN_UTMPX 1 #define HAVE_TRUNCATE 1 #define HAVE_TV_IN_UTMPX 1 #define HAVE_TYPE_IN_UTMP 1 #define HAVE_TYPE_IN_UTMPX 1 #define HAVE_UINTXX_T 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSETENV 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define HAVE_UPDWTMP 1 #define HAVE_UTIMES 1 #define HAVE_UTIME_H 1 #define HAVE_UTMPNAME 1 #define HAVE...