forked from NetBSDfr/pkgin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the primary sqlite3 interface for error logging, using a callback function to report any errors as they happen. This will allow us to interface directly to the database if necessary rather than having to go via the pkgindb_doquery() interface, and also provides useful error messages rather than the very unhelpful "callback aborted". Update the log output to include the date, format better for readability, and open in append mode so we don't potentially lose useful errors. While here reorganise some functions into logical order and move the remaining function declarations to pkgin.h
- Loading branch information
Jonathan Perkin
committed
Apr 25, 2018
1 parent
5ec92e0
commit e9f2264
Showing
3 changed files
with
79 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters