From caa0d15c4902a8d376a2a79bfbfdb21bf047366a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 13 Jun 2013 12:29:01 -0400 Subject: If we write the annotation but not the microdescriptor, rewind. This fixes bug 9047 (and some parts of 9031, 8922, 8883 that weren't fixed in 8822). Bugfix on 0.2.2.6-alpha. --- src/common/compat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/compat.h') diff --git a/src/common/compat.h b/src/common/compat.h index f0a34aae41..8ab7190526 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -411,6 +411,7 @@ tor_lockfile_t *tor_lockfile_lock(const char *filename, int blocking, void tor_lockfile_unlock(tor_lockfile_t *lockfile); off_t tor_fd_getpos(int fd); +int tor_fd_setpos(int fd, off_t pos); int tor_fd_seekend(int fd); #ifdef _WIN32 -- cgit v1.2.3-54-g00ecf