On Wed, Jul 11, 2012 at 3:36 PM, Артем Зуйков <azui...@concerteza.ru> wrote: > As I understand it could not set errno in unlink() called from this block: > > if( unlink(zPath)==(-1) && errno!=ENOENT ){ > return unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath); > }
That's not setting errno. That's reading errno. The unlink is failing with some error code other than ENOENT. Use truss(1) to find out what error is being returned. Nico -- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users