Commit bab58484 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Update copyright years

parent 9771cf1e
......@@ -25,7 +25,7 @@ today = time.strftime('%Y-%m-%d', time.gmtime(maxdate))
# -- Project configuration ------------------------------------------------
project = 'zathura'
copyright = '2009-2015, pwmt.org'
copyright = '2009-2018, pwmt.org'
version = '0.2.7'
release = '0.2.7'
......
......@@ -37,11 +37,12 @@
#include <sys/file.h>
#define file_lock_set(fd, cmd) flock(fd, cmd)
#else
#define file_lock_set(fd, cmd) \
{ \
struct flock lock = { .l_type = cmd, .l_start = 0, .l_whence = SEEK_SET, .l_len = 0}; \
fcntl(fd, F_SETLK, lock); \
}
static int
file_lock_set(int fd, short cmd)
{
struct flock lock = { .l_type = cmd, .l_start = 0, .l_whence = SEEK_SET, .l_len = 0};
return fcntl(fd, F_SETLK, lock);
}
#endif
static void zathura_database_interface_init(ZathuraDatabaseInterface* iface);
......
......@@ -760,7 +760,6 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument,
girara_debug("bisecting between first and last page because there are no jumps");
zathura->bisect.start = 0;
zathura->bisect.end = num_pages - 1;
} else if (jump->page != cur_page || jump->page != zathura->bisect.last_jump) {
girara_debug("last jump doesn't match up, starting new bisecting");
zathura->bisect.start = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment