Displaying 4 results from an estimated 4 matches for "get_cwd".
2014 Dec 08
2
Contributing to Xapian
...I cloned the code :
git clone https://github.com/v-hasu/xapian
git checkout gsoc2014-evaluation
rm xapian-letor/nobootstrap
./bootstrap
./configure --no-documentation
make CXXFLAGS='-w'
and I get a different set of errors
---
ranker.cc: In member function 'std::string Xapian::Ranker::get_cwd()':
ranker.cc:80:36: error: 'getcwd' was not declared in this scope
make[3]: *** [ranker.lo] Error 1
make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
mak...
2017 Mar 06
3
PATH directive searches in reverse order with wrong separator
...quot;\n", path);
+ f = fopen(path, "rb"); /* for full path */
+ if (f)
+ return f;
+
list_for_each_entry(entry, &PATH, list) {
bool slash = false;
but I'm worried that the code in the com32/lib/ tree expects to use
chdir,(), get_cwd() and friends to manipulate the current working
directory. (see core/fs/lib/searchconfig.c) But that leads into a
maze of twisty passages of virtual functions, default implementations
and other stuff I haven't figured out yet. Also, what's the
difference between CurrentDirName[] and confi...
2014 Dec 07
2
Contributing to Xapian
I use Ubuntu12.04, GNU Make 3.81 and I am not sure if I use some special
configure options. The commands I use after clone the repo are as follows:
cd xapian
./bootstarp
./configure
make
cd xapian-letor
aclocal -I ../xapian-core/m4
libtoolize --force
autoconf
autoheader
automake --add-missing
./configure
make
Is this normal?
2014-12-07 22:37 GMT+08:00 James Aylett <james-xapian at
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up