Eliminate uses of g_stat()
commitd88a9dd3fc32fe0877eefac3d0211a421dea9a99
authorJiří Techet <techet@gmail.com>
Thu, 6 Oct 2016 15:20:36 +0000 (6 17:20 +0200)
committerJiří Techet <techet@gmail.com>
Thu, 6 Oct 2016 15:20:36 +0000 (6 17:20 +0200)
tree690216020cfecc60d3c25efec4e9fd9119de2ed9
parent992306aec3af31868cef702d87bf5d7b99a91112
Eliminate uses of g_stat()

Convert g_stat() to stat() and introduce eStat() to routines.c/h and use
it instead of getFileSize() and isExecutable().

On the way grab implementations of isSameFile() and tempFile() from
universal-ctags (I haven't checked in detail if all the ifdef cases do the
right thing but these functions aren't probably called in Geany so
we don't have to worry much). Also drop unused setCurrentDirectory().
ctags/main/read.c
ctags/main/routines.c
ctags/main/routines.h