if ( level == OPKG_ERROR ){
push_error_list(&error_list, msg);
} else
if ( level == OPKG_ERROR ){
push_error_list(&error_list, msg);
} else
char* default_opkg_response_callback(char *question)
{
char *response = NULL;
char* default_opkg_response_callback(char *question)
{
char *response = NULL;
fflush(stdout);
do {
response = (char *)file_read_line_alloc(stdin);
fflush(stdout);
do {
response = (char *)file_read_line_alloc(stdin);
free (list_file_name);
free (url);
#else
free (list_file_name);
free (url);
#else
- /* XXX: Note: Signiture check for %s skipped because GPG support was not
+ /* XXX: Note: Signature check for %s skipped because GPG support was not
* enabled in this build
*/
#endif
* enabled in this build
*/
#endif
free (tmp_file_name);
free (url);
#else
free (tmp_file_name);
free (url);
#else
- opkg_message (conf, OPKG_NOTICE, "Signiture check for %s skipped "
+ opkg_message (conf, OPKG_NOTICE, "Signature check for %s skipped "
"because GPG support was not enabled in this build\n", src->name);
#endif
free(list_file_name);
"because GPG support was not enabled in this build\n", src->name);
#endif
free(list_file_name);
perror (ctx->statedir);
sprintf_alloc (&cmd, "rm -rf %s", ctx->statedir);
perror (ctx->statedir);
sprintf_alloc (&cmd, "rm -rf %s", ctx->statedir);
free (cmd);
free (ctx->statedir);
free (cmd);
free (ctx->statedir);
void pkg_print_info(pkg_t *pkg, FILE *file)
{
void pkg_print_info(pkg_t *pkg, FILE *file)
{
char * buff;
if (pkg == NULL) {
return;
char * buff;
if (pkg == NULL) {
return;
if ( buff == NULL )
return;
if (strlen(buff)>2){
if ( buff == NULL )
return;
if (strlen(buff)>2){
- fwrite(buff, 1, strlen(buff), file);
+ t = fwrite(buff, 1, strlen(buff), file); //#~rzr:TODO