Update copyright years

This commit is contained in:
Sebastian Ramacher 2018-09-04 18:00:48 +02:00
parent 9771cf1e8e
commit bab5848464
3 changed files with 7 additions and 7 deletions

View File

@ -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'

View File

@ -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);

View File

@ -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;