]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/bsd-misc.c
The man2html from jbasney on pkilab2 works whereas the standard one doesn't.
[gssapi-openssh.git] / openssh / openbsd-compat / bsd-misc.c
index df2b4b560db43cbaf364082ff2e9e30eba005380..d87d56218c8a856c39e185f3ca62b0295b45a604 100644 (file)
@@ -99,33 +99,3 @@ int utimes(char *filename, struct timeval *tvp)
        return(utime(filename, &ub));
 }
 #endif 
-
-#ifndef HAVE_TRUNCATE
-int truncate (const char *path, off_t length)
-{
-       int fd, ret, saverrno;
-
-       fd = open(path, O_WRONLY);
-       if (fd < 0)
-               return -1;
-
-       ret = ftruncate(fd, length);
-       saverrno = errno;
-       (void) close (fd);
-       if (ret == -1)
-               errno = saverrno;
-       return(ret);
-}
-#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 
-
This page took 0.103732 seconds and 4 git commands to generate.