We (Peter and me) have been having problems with the following lines of code
from the sqlite3.c of the SQLite 3.7.16.1.
*Problem 1: *
Undefined symbol "isDelete". Any idea what this variable does? Or where it
is defined?
static int fillInUnixFile( . . . )
{
. . .
#if OS_VXWORKS
if( rc!=SQLITE_OK ){
if( h>=0 ) robust_close(pNew, h, __LINE__);
h = -1;
osUnlink(zFilename);
isDelete = 0;
}
if( isDelete ) pNew->ctrlFlags |= UNIXFILE_DELETE;
#endif
. . .
}
*Problem 2:*
fchown not defined in VxWorks, because it isn't a multi use OS. Is it safe
to comment out?
static int posixFchown(int fd, uid_t uid, gid_t gid){
return geteuid() ? 0 : fchown(fd,uid,gid);
}
--
View this message in context:
http://sqlite.1065341.n5.nabble.com/Port-SQLite-to-VxWorks-6-8-tp68430p68446.html
Sent from the SQLite mailing list archive at Nabble.com.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users