summaryrefslogtreecommitdiff
path: root/databases/abook/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-11-29 01:39:17 +0000
committerminskim <minskim@pkgsrc.org>2004-11-29 01:39:17 +0000
commit4bc37dfc4f9a032a481c9a67307a5d9d3c5622f8 (patch)
tree20932872889249153c802e0c1455c4e4d0994ffe /databases/abook/patches
parentb23b15cc968c3f424c05d3eadfee4196ff2b4dd8 (diff)
downloadpkgsrc-4bc37dfc4f9a032a481c9a67307a5d9d3c5622f8.tar.gz
Update abook to 0.5.3.
Changes: - add allcvs filters (Christoph Sobotka) - removed a lefover debug message - fixed mutt import filter nickname cutoff - wrap searches - contrib updates
Diffstat (limited to 'databases/abook/patches')
-rw-r--r--databases/abook/patches/patch-aa32
1 files changed, 0 insertions, 32 deletions
diff --git a/databases/abook/patches/patch-aa b/databases/abook/patches/patch-aa
deleted file mode 100644
index 3af1a4dff0a..00000000000
--- a/databases/abook/patches/patch-aa
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/07/28 02:51:31 kim Exp $
-
---- filter.c 2004/01/23 07:14:32 1.29
-+++ filter.c 2004/03/25 18:19:38 1.30
-@@ -618,6 +618,7 @@
- mutt_read_line(FILE *in, char **alias, char **rest)
- {
- char *line, *ptr, *tmp;
-+ size_t alias_len;
-
- if( !(line = ptr = getaline(in)) )
- return 1; /* error / EOF */
-@@ -640,13 +641,16 @@
- while( ! ISSPACE(*ptr) )
- ptr++;
-
-- if( (*alias = (char *)malloc(ptr - tmp)) == NULL) {
-+ /* includes also the trailing zero */
-+ alias_len = (size_t)(ptr - tmp + 1);
-+
-+ if( (*alias = (char *)malloc(alias_len)) == NULL) {
- free(line);
- return 1;
- }
-
-- strncpy(*alias, tmp, ptr - tmp - 1);
-- *(*alias + (ptr - tmp - 1)) = 0;
-+ strncpy(*alias, tmp, alias_len - 1);
-+ *(*alias + alias_len - 1) = 0;
-
- while(ISSPACE(*ptr))
- ptr++;