From c2f6edd512ba4f131fbaf412f7028dfadd976a23 Mon Sep 17 00:00:00 2001 From: Roel van Meer Date: Tue, 22 Mar 2022 08:15:09 +0100 Subject: Make the build tool mkultcase.pl deterministic Original patch by Markus Wanner See also: https://salsa.debian.org/debian/courier-unicode/-/blob/master/debian/patches/0003-Make-mkultcase-deterministic.patch --- unicode/mkultcase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unicode/mkultcase.pl b/unicode/mkultcase.pl index 918637a..083f14d 100644 --- a/unicode/mkultcase.pl +++ b/unicode/mkultcase.pl @@ -99,7 +99,7 @@ for ($i=0; $i<$tabsize; $i++) print "\n" if ($idx % 4) == 3; ++$idx; } - } split(/\n/, $bucket[$i]); + } sort split(/\n/, $bucket[$i]); } print "{0,0,0,0}}; -- cgit v1.2.3 From a1828069b5d9d04061a9bf6d02a157a3e645bf0f Mon Sep 17 00:00:00 2001 From: Roel van Meer Date: Tue, 22 Mar 2022 08:20:27 +0100 Subject: Fix a few instances of misspellings of "occurred" See also: https://salsa.debian.org/debian/courier-unicode/-/blob/master/debian/patches/0004-Spelling-Fixes.patch --- cgi/cgidaemon.c | 2 +- imap/ChangeLog | 4 ++-- imap/imapd.c | 2 +- maildir/maildiraclt.h | 2 +- maildir/maildirwatch.h | 2 +- rfc1035/spf.c | 2 +- rfc2045/rfc3676parser.c | 2 +- rfc2045/rfc3676parser.h | 2 +- sqwebmail/html/en-us/eventshow.html | 4 ++-- sqwebmail/html/en-us/folders.html | 2 +- sqwebmail/html/en-us/gpgerr.html | 2 +- sqwebmail/html/en-us/newevent.html | 4 ++-- sqwebmail/msg2html.c | 2 +- unicode/book.xml | 6 +++--- unicode/courier-unicode.h.in | 12 ++++++------ 15 files changed, 25 insertions(+), 25 deletions(-) diff --git a/cgi/cgidaemon.c b/cgi/cgidaemon.c index 25bf01a..376a71a 100644 --- a/cgi/cgidaemon.c +++ b/cgi/cgidaemon.c @@ -46,7 +46,7 @@ static void err(const char *func, const char *msg) "Internal error\n" "

Internal Error

\n" "

The webmail system is temporarily unavailable. An error" - " occured in function %s: %s

\n", func, + " occurred in function %s: %s

\n", func, msg); fflush(stdout); exit(0); diff --git a/imap/ChangeLog b/imap/ChangeLog index b2c7d20..4b62227 100644 --- a/imap/ChangeLog +++ b/imap/ChangeLog @@ -1101,7 +1101,7 @@ "emailAddress", for compatibility with OpenSSL. * tcpd/libcouriergnutls.c (verify_client): Check for the required - certificate occured in the wrong spot. + certificate occurred in the wrong spot. * tcpd/libcouriergnutls.c (tls_connect): Add call to gnutls_certificate_set_subject() to actually request the client cert. @@ -1785,7 +1785,7 @@ 2004-05-08 Brian Candler - * pop3dserver.c (do_retr): If error occured during RETR drop the + * pop3dserver.c (do_retr): If error occurred during RETR drop the connection (only sane thing to do). 2004-05-02 Brian Candler diff --git a/imap/imapd.c b/imap/imapd.c index 71af3fe..8529657 100644 --- a/imap/imapd.c +++ b/imap/imapd.c @@ -6023,7 +6023,7 @@ int uid=0; libmail_kwmDestroy(storeinfo_s.keywords); free(msgset); writes(tag); - writes(" NO An error occured while" + writes(" NO An error occurred while" " updating keywords: "); writes(strerror(errno)); writes(".\r\n"); diff --git a/maildir/maildiraclt.h b/maildir/maildiraclt.h index 3f39a98..e5829db 100644 --- a/maildir/maildiraclt.h +++ b/maildir/maildiraclt.h @@ -213,7 +213,7 @@ int maildir_acl_delete(const char *maildir, ** ** The callback function should return >0 if identifier refers to the entity ** whose access rights are to be computed; 0 if it does not, <0 if an error -** occured. +** occurred. ** ** As a special case, maildir_acl_compute() handles "anonymous" and "anyone" ** identifiers on its own. diff --git a/maildir/maildirwatch.h b/maildir/maildirwatch.h index 5f49623..6545c09 100644 --- a/maildir/maildirwatch.h +++ b/maildir/maildirwatch.h @@ -85,7 +85,7 @@ int maildirwatch_start(struct maildirwatch *p, ** Returns: 1 - Monitoring has started, or we're in fallback mode. ** 0 - Not yet, *fdret is initialized to file descriptor to wait on. ** (not used at this time). -** -1 - A fatal error occured, fall back to polling mode. +** -1 - A fatal error occurred, fall back to polling mode. ** ** maildirwatch_started() returns right away, without blocking. */ diff --git a/rfc1035/spf.c b/rfc1035/spf.c index 7b9d40b..63735ff 100644 --- a/rfc1035/spf.c +++ b/rfc1035/spf.c @@ -1046,7 +1046,7 @@ static void setexp(const char *exp, { set_err_msg(info->errmsg_buf, info->errmsg_buf_size, - "A DNS lookup error occured while" + "A DNS lookup error occurred while" " fetching the SPF explanation record."); } else diff --git a/rfc2045/rfc3676parser.c b/rfc2045/rfc3676parser.c index e52da45..79519e3 100644 --- a/rfc2045/rfc3676parser.c +++ b/rfc2045/rfc3676parser.c @@ -210,7 +210,7 @@ int rfc3676parser(rfc3676_parser_t handle, size_t txt_cnt) { if (handle->errflag) - return handle->errflag; /* Error occured previously */ + return handle->errflag; /* Error occurred previously */ /* Convert to unicode and invoke parse_unicode() */ diff --git a/rfc2045/rfc3676parser.h b/rfc2045/rfc3676parser.h index 497792c..b16343b 100644 --- a/rfc2045/rfc3676parser.h +++ b/rfc2045/rfc3676parser.h @@ -163,7 +163,7 @@ namespace mail { void end( /* - ** Set to true if a unicode conversion error occured. + ** Set to true if a unicode conversion error occurred. */ bool &unicode_errflag); diff --git a/sqwebmail/html/en-us/eventshow.html b/sqwebmail/html/en-us/eventshow.html index 27afc9a..696ff98 100644 --- a/sqwebmail/html/en-us/eventshow.html +++ b/sqwebmail/html/en-us/eventshow.html @@ -21,9 +21,9 @@ [#$NOTFOUNDERR=ERROR: Event not found.

#] -[#$CALENDARERR=ERROR: An error has occured when updating the calendar:
%s


#] +[#$CALENDARERR=ERROR: An error has occurred when updating the calendar:
%s


#] -[#$LOCKERR=ERROR: An error has occured trying to lock the calendar. Please try again.

#] +[#$LOCKERR=ERROR: An error has occurred trying to lock the calendar. Please try again.

#] [#$CANCELIMAGE=@@cancel.png, width="28" height="20" alt="Cancel event" title="Cancel event" border="0"@@#] [#$UNCANCELIMAGE=@@uncancel.png, width="28" height="20" alt="Uncancel event" title="Uncancel event" border="0"@@#] diff --git a/sqwebmail/html/en-us/folders.html b/sqwebmail/html/en-us/folders.html index 3a0090a..aa1f13e 100644 --- a/sqwebmail/html/en-us/folders.html +++ b/sqwebmail/html/en-us/folders.html @@ -32,7 +32,7 @@ [#$CALENDAR=#] [#$NOEVENTS=No upcoming calendar events#] -[#$CALENDARLOGINERR=The following error occured when trying to log in to the calendar server:#] +[#$CALENDARLOGINERR=The following error occurred when trying to log in to the calendar server:#] [#$CANCELLED=CANCELLED: #] [#$BOOKED=PENDING: #] [#$PUBLICFOLDERS=Public Folders#] diff --git a/sqwebmail/html/en-us/gpgerr.html b/sqwebmail/html/en-us/gpgerr.html index 81924b2..257615f 100644 --- a/sqwebmail/html/en-us/gpgerr.html +++ b/sqwebmail/html/en-us/gpgerr.html @@ -56,7 +56,7 @@ [#include:navbar#] -

The following error has occured while encrypting or signing this +

The following error has occurred while encrypting or signing this message:

diff --git a/sqwebmail/html/en-us/newevent.html b/sqwebmail/html/en-us/newevent.html index 0a82190..ca6ebf5 100644 --- a/sqwebmail/html/en-us/newevent.html +++ b/sqwebmail/html/en-us/newevent.html @@ -21,9 +21,9 @@ [#$CONFLICTERR2=SCHEDULING CONFLICT: #] -[#$CALENDARERR=ERROR: The following error has occured when saving this event:
%s
If the calendar server is down, save/postpone this event, and try logging in again from the main menu.


#] +[#$CALENDARERR=ERROR: The following error has occurred when saving this event:
%s
If the calendar server is down, save/postpone this event, and try logging in again from the main menu.


#] -[#$LOCKERR=ERROR: An error has occured trying to lock the calendar for update. Please try again.

#] +[#$LOCKERR=ERROR: An error has occurred trying to lock the calendar for update. Please try again.

#] [#$NOTFOUNDERR=ERROR: The original event was not found. This can happen if this event was updated or modified by someone else. Save this event info, and check your calendar for updates to this event.

#] diff --git a/sqwebmail/msg2html.c b/sqwebmail/msg2html.c index a3025ae..74ecfb6 100644 --- a/sqwebmail/msg2html.c +++ b/sqwebmail/msg2html.c @@ -1322,7 +1322,7 @@ struct msg2html_textplain_info { */ int flowed; - int conv_err; /* A transcoding error has occured */ + int conv_err; /* A transcoding error has occurred */ /* ** Optionally replace smiley sequences with image URLs diff --git a/unicode/book.xml b/unicode/book.xml index 7744501..f6a5dfd 100644 --- a/unicode/book.xml +++ b/unicode/book.xml @@ -2829,7 +2829,7 @@ if (unicode_composition_init(str, strsize, flags, &compositions) == 0) unicode_convert_toutf8() returns a non NULL value *error gets set to a non-zero value if - a character conversion error has occured, and some characters + a character conversion error has occurred, and some characters could not be converted. @@ -3395,7 +3395,7 @@ if (unicode_composition_init(str, strsize, flags, &compositions) == 0) The callback function should return 0. A non-zero value indicates to the line breaking algorithm that an error has - occured. + occurred. unicode_lb_next() and unicode_lb_next_cnt() return zero either if they never invoked the callback function, or if each call to the @@ -3712,7 +3712,7 @@ if (unicode_composition_init(str, strsize, flags, &compositions) == 0) The callback function should return 0. A non-zero value indicates to the word breaking algorithm that an error has - occured. + occurred. unicode_wb_next() and unicode_wb_next_cnt() return zero either if they never invoked the callback function, or if each call to the diff --git a/unicode/courier-unicode.h.in b/unicode/courier-unicode.h.in index b9e2ee9..8ef2dc5 100644 --- a/unicode/courier-unicode.h.in +++ b/unicode/courier-unicode.h.in @@ -1112,7 +1112,7 @@ unicode_convert_tocbuf_fromutf8_init(const char *dst_chset, ** Convert a character string to UTF-8. ** ** Returns a malloc-ed buffer holding the UTF-8 string, or NULL if an -** error occured. +** error occurred. */ char *unicode_convert_toutf8(/* Text to convert to UTF-8 */ const char *text, @@ -1123,7 +1123,7 @@ char *unicode_convert_toutf8(/* Text to convert to UTF-8 */ /* ** If non-NULL, and a non-NULL pointer is ** returned, *error is set to non-zero if - ** a character conversion error has occured. + ** a character conversion error has occurred. */ int *error); @@ -1131,7 +1131,7 @@ char *unicode_convert_toutf8(/* Text to convert to UTF-8 */ ** Convert UTF-8 text to another character set. ** ** Returns a malloc-ed buffer holding the string converted to the specified -** character set, or NULL if an error occured. +** character set, or NULL if an error occurred. */ char *unicode_convert_fromutf8(/* A UTF-8 string */ @@ -1147,7 +1147,7 @@ char *unicode_convert_fromutf8(/* A UTF-8 string */ /* ** If non-NULL, and a non-NULL pointer is ** returned, *error is set to non-zero if - ** a character conversion error has occured. + ** a character conversion error has occurred. */ int *error); @@ -1156,7 +1156,7 @@ char *unicode_convert_fromutf8(/* A UTF-8 string */ ** buffer. ** ** Returns a malloc-ed buffer holding the string converted to the specified -** character set, or NULL if an error occured. +** character set, or NULL if an error occurred. */ char *unicode_convert_tobuf(/* A string to convert */ @@ -1176,7 +1176,7 @@ char *unicode_convert_tobuf(/* A string to convert */ /* ** If non-NULL, and a non-NULL pointer is ** returned, *error is set to non-zero if - ** a character conversion error has occured. + ** a character conversion error has occurred. */ int *error); -- cgit v1.2.3