Commit c530759ad88e8c3af322c923d8c541cb122014f7
1 parent
980bed44
Exists in
master
and in
3 other branches
Corrigindo empacotamento no Ubuntu
Showing
4 changed files
with
8 additions
and
8 deletions
Show diff stats
Makefile.in
| ... | ... | @@ -55,8 +55,8 @@ LD=@CC@ |
| 55 | 55 | HOST_CC=@HOST_CC@ |
| 56 | 56 | STRIP=@STRIP@ |
| 57 | 57 | INSTALL=@INSTALL@ |
| 58 | -INSTALL_PROGRAM=@INSTALL_PROGRAM@ | |
| 59 | -INSTALL_DATA=@INSTALL_DATA@ | |
| 58 | +INSTALL_PROGRAM=$(INSTALL) -m 755 | |
| 59 | +INSTALL_DATA=$(INSTALL) -m 644 | |
| 60 | 60 | VALGRIND=@VALGRIND@ |
| 61 | 61 | XGETTEXT=@XGETTEXT@ |
| 62 | 62 | MSGCAT=@MSGCAT@ | ... | ... |
| ... | ... | @@ -746,7 +746,7 @@ static void rpq_dump_warnings(H3270 *hSession) |
| 746 | 746 | /* If there's something to complain about, only complain once. */ |
| 747 | 747 | if (!hSession->rpq_complained && hSession->rpq_wbcnt) |
| 748 | 748 | { |
| 749 | - popup_an_error(hSession,hSession->rpq_warnbuf); | |
| 749 | + popup_an_error(hSession,"%s",hSession->rpq_warnbuf); | |
| 750 | 750 | hSession->rpq_wbcnt = 0; |
| 751 | 751 | hSession->rpq_complained = 1; |
| 752 | 752 | ... | ... |
session.c
| ... | ... | @@ -145,9 +145,9 @@ static void message(H3270 *session, LIB3270_NOTIFY id , const char *title, const |
| 145 | 145 | __android_log_print(ANDROID_LOG_VERBOSE, PACKAGE_NAME, "%s\n",msg); |
| 146 | 146 | __android_log_print(ANDROID_LOG_VERBOSE, PACKAGE_NAME, "%s\n",text); |
| 147 | 147 | #else |
| 148 | - lib3270_write_log(session,"%s",title); | |
| 149 | - lib3270_write_log(session,"%s",msg); | |
| 150 | - lib3270_write_log(session,"%s",text); | |
| 148 | + lib3270_write_log(session,"lib3270","%s",title); | |
| 149 | + lib3270_write_log(session,"lib3270","%s",msg); | |
| 150 | + lib3270_write_log(session,"lib3270","%s",text); | |
| 151 | 151 | #endif // ANDROID |
| 152 | 152 | } |
| 153 | 153 | ... | ... |
telnet.c
| ... | ... | @@ -616,7 +616,7 @@ int net_connect(H3270 *session, const char *host, char *portname, Boolean ls, Bo |
| 616 | 616 | { |
| 617 | 617 | if (resolve_host_and_port(session,session->proxy_host, session->proxy_portname,&session->proxy_port, &haddr.sa, &ha_len, errmsg,sizeof(errmsg)) < 0) |
| 618 | 618 | { |
| 619 | - popup_an_error(session,errmsg); | |
| 619 | + popup_an_error(session,"%s",errmsg); | |
| 620 | 620 | return -1; |
| 621 | 621 | } |
| 622 | 622 | } |
| ... | ... | @@ -624,7 +624,7 @@ int net_connect(H3270 *session, const char *host, char *portname, Boolean ls, Bo |
| 624 | 624 | { |
| 625 | 625 | if (resolve_host_and_port(session,host, portname,&session->current_port, &haddr.sa, &ha_len,errmsg, sizeof(errmsg)) < 0) |
| 626 | 626 | { |
| 627 | - popup_an_error(session,errmsg); | |
| 627 | + popup_an_error(session,"%s",errmsg); | |
| 628 | 628 | return -1; |
| 629 | 629 | } |
| 630 | 630 | } | ... | ... |