Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
alpine
chappa-ignoresize.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chappa-ignoresize.patch of Package alpine
--- alpine/mailcmd.c | 3 +++ pith/conf.c | 2 ++ pith/conftype.h | 1 + pith/pine.hlp | 35 +++++++++++++++++++++++++++++++++++ pith/save.c | 1 + 5 files changed, 42 insertions(+) Index: alpine-2.20/alpine/mailcmd.c =================================================================== --- alpine-2.20.orig/alpine/mailcmd.c +++ alpine-2.20/alpine/mailcmd.c @@ -3491,6 +3491,9 @@ save_size_changed_prompt(long msgno, int {-1, 0, NULL, NULL} }; + if(F_ON(F_IGNORE_SIZE, ps_global)) + return 'y'; + if(flags & SSCP_INIT || flags & SSCP_END){ if(flags & SSCP_END && possible_corruption) q_status_message(SM_ORDER, 3, 3, "There is possible data corruption, check the results"); Index: alpine-2.20/pith/conf.c =================================================================== --- alpine-2.20.orig/pith/conf.c +++ alpine-2.20/pith/conf.c @@ -3140,6 +3140,8 @@ feature_list(int index) F_FULL_AUTO_EXPUNGE, h_config_full_auto_expunge, PREF_MISC, 0}, {"force-arrow-cursor", NULL, F_FORCE_ARROW, h_config_force_arrow, PREF_MISC, 0}, + {"ignore-size-changes", NULL, + F_IGNORE_SIZE, h_config_ignore_size, PREF_MISC, 0}, {"maildrops-preserve-state", NULL, F_MAILDROPS_PRESERVE_STATE, h_config_maildrops_preserve_state, PREF_MISC, 0}, Index: alpine-2.20/pith/conftype.h =================================================================== --- alpine-2.20.orig/pith/conftype.h +++ alpine-2.20/pith/conftype.h @@ -347,6 +347,7 @@ typedef enum { F_FORCE_ARROW, F_PRUNE_USES_ISO, F_ALT_ED_NOW, + F_IGNORE_SIZE, F_SHOW_DELAY_CUE, F_CANCEL_CONFIRM, F_AUTO_OPEN_NEXT_UNREAD, Index: alpine-2.20/pith/pine.hlp =================================================================== --- alpine-2.20.orig/pith/pine.hlp +++ alpine-2.20/pith/pine.hlp @@ -3565,6 +3565,7 @@ There are also additional details on <li><a href="h_config_full_auto_expunge">FEATURE: <!--#echo var="FEAT_expunge-without-confirm-everywhere"--></a> <li><a href="h_config_no_fcc_attach">FEATURE: <!--#echo var="FEAT_fcc-without-attachments"--></a> <li><a href="h_config_force_arrow">FEATURE: <!--#echo var="FEAT_force-arrow-cursor"--></a> +<li><a href="h_config_ignore_size">FEATURE: <!--#echo var="FEAT_ignore-size-changes"--></a> <li><a href="h_config_forward_as_attachment">FEATURE: <!--#echo var="FEAT_forward-as-attachment"--></a> <li><a href="h_config_preserve_field">FEATURE: <!--#echo var="FEAT_preserve-original-fields"--></a> <li><a href="h_config_quell_empty_dirs">FEATURE: <!--#echo var="FEAT_quell-empty-directories"--></a> @@ -31183,6 +31184,40 @@ but that is not implemented. <P> <End of help on this topic> +</BODY> +</HTML> +====== h_config_ignore_size ===== +<HTML> +<HEAD> +<TITLE>FEATURE: <!--#echo var="FEAT_ignore-size-changes"--></TITLE> +</HEAD> +<BODY> +<H1>FEATURE: <!--#echo var="FEAT_ignore-size-changes"--></H1> + +When you have an account residing in an IMAP server, Alpine gets the size of +each message from the server. However, when Alpine saves a message residing +in an IMAP server, Alpine computes the size of the message independently. If +these two numbers do not match for a message, Alpine asks you if you still +want to take the risk of saving the message, since data corruption or loss +of data could result of this save. + +<P> +Sometimes the root of this problem is that the server is defective, and +there will not be loss of information when saving such message. Enabling +this feature will make Aline ignore such error and continue saving the +message. If you can determine that this is the case, enable this feature +so that the saving operation will succeed. An example of a defective server +is the Gmail IMAP server. Another example is some versions of the Exchange +server. + +<P> +It is recommended that this feature be disabled most of the time and only +enabled when you find a server which you can determine that has the above +mentioned defect, but be disabled again after making this operation +succeed. + +<P> +<End of help on this topic> </BODY> </HTML> ====== h_config_force_low_speed ===== Index: alpine-2.20/pith/save.c =================================================================== --- alpine-2.20.orig/pith/save.c +++ alpine-2.20/pith/save.c @@ -1157,6 +1157,7 @@ long save_fetch_append_cb(MAILSTREAM *st snprintf(buf, sizeof(buf), "Message to save shrank: source msg # %ld may be saved incorrectly", mn_raw2m(pkg->msgmap, raw)); + if(F_OFF(F_IGNORE_SIZE, ps_global)) q_status_message(SM_ORDER, 0, 3, buf); } else{
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor