From 719e64af991d1eff3874896caa80f2436b8f97da Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 14 Jun 2017 13:13:57 +0300 Subject: Bugfixes * libmu_sieve/sieve-lex.l: Allocate new ctx structure (restore accidentally deleted file. * libmailutils/locus/debug.c: Add missing copyleft. * libmailutils/locus/genprloc.c: Likewise. * libmailutils/locus/ident.c: Likewise. * libmailutils/locus/linetrack.c: Likewise. * libmailutils/locus/locus.c: Likewise. * mu-aux/gencl: Likewise. * mu-aux/gitinfo: Likewise. * mu-aux/gylwrap: Likewise. --- libmailutils/locus/debug.c | 17 +++++++++++++++++ libmailutils/locus/genprloc.c | 17 +++++++++++++++++ libmailutils/locus/ident.c | 17 +++++++++++++++++ libmailutils/locus/linetrack.c | 17 +++++++++++++++++ libmailutils/locus/locus.c | 17 +++++++++++++++++ libmu_sieve/sieve-lex.l | 1 + mu-aux/gencl | 20 ++++++++++++++++++++ mu-aux/gitinfo | 3 +++ mu-aux/gylwrap | 19 +++++++++++++++++++ 9 files changed, 128 insertions(+) diff --git a/libmailutils/locus/debug.c b/libmailutils/locus/debug.c index 9ea9d6f00..3e95af16d 100644 --- a/libmailutils/locus/debug.c +++ b/libmailutils/locus/debug.c @@ -1,3 +1,20 @@ +/* GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 2017 Free Software Foundation, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library. If not, see + . */ + #include #include #include diff --git a/libmailutils/locus/genprloc.c b/libmailutils/locus/genprloc.c index c2913345f..cc1503078 100644 --- a/libmailutils/locus/genprloc.c +++ b/libmailutils/locus/genprloc.c @@ -1,3 +1,20 @@ +/* GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 2017 Free Software Foundation, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library. If not, see + . */ + #ifndef STREAM_TYPE # error "STREAM_TYPE not defined" #endif diff --git a/libmailutils/locus/ident.c b/libmailutils/locus/ident.c index 8434084ef..029a12f61 100644 --- a/libmailutils/locus/ident.c +++ b/libmailutils/locus/ident.c @@ -1,3 +1,20 @@ +/* GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 2017 Free Software Foundation, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library. If not, see + . */ + #include #include #include diff --git a/libmailutils/locus/linetrack.c b/libmailutils/locus/linetrack.c index 07030d966..86a3dd823 100644 --- a/libmailutils/locus/linetrack.c +++ b/libmailutils/locus/linetrack.c @@ -1,3 +1,20 @@ +/* GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 2017 Free Software Foundation, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library. If not, see + . */ + #include #include #include diff --git a/libmailutils/locus/locus.c b/libmailutils/locus/locus.c index 4f2dc9000..8183294c8 100644 --- a/libmailutils/locus/locus.c +++ b/libmailutils/locus/locus.c @@ -1,3 +1,20 @@ +/* GNU Mailutils -- a suite of utilities for electronic mail + Copyright (C) 2017 Free Software Foundation, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library. If not, see + . */ + #include #include #include diff --git a/libmu_sieve/sieve-lex.l b/libmu_sieve/sieve-lex.l index a93245e70..fd145bfe1 100644 --- a/libmu_sieve/sieve-lex.l +++ b/libmu_sieve/sieve-lex.l @@ -188,6 +188,7 @@ push_source (const char *name) /* Push current context */ if (trk) { + ctx = mu_sieve_malloc (mu_sieve_machine, sizeof (*ctx)); ctx->trk = trk; mu_locus_range_copy (&ctx->incl_range, &yylloc); ctx->i_node = sieve_source_inode; diff --git a/mu-aux/gencl b/mu-aux/gencl index 6e7ca5844..4373bfd1e 100755 --- a/mu-aux/gencl +++ b/mu-aux/gencl @@ -2,6 +2,22 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" "$@"' & eval 'exec perl -wS "$0" $argv:q' if 0; +# This file is part of GNU Mailutils. +# Copyright (C) 2017 Free Software Foundation, Inc. +# +# GNU Mailutils is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3, or (at +# your option) any later version. +# +# GNU Mailutils is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Mailutils. If not, see . + use strict; use POSIX qw(strftime); use Getopt::Long qw(:config gnu_getopt no_ignore_case); @@ -589,3 +605,7 @@ EOT $fd = select($fd); close $fd; } + +# Local Variables: +# mode: perl +# End: diff --git a/mu-aux/gitinfo b/mu-aux/gitinfo index a932f2a66..a830ff3bc 100755 --- a/mu-aux/gitinfo +++ b/mu-aux/gitinfo @@ -522,3 +522,6 @@ if (ref($format) eq 'CODE') { print eval_format($format); } +# Local Variables: +# mode: perl +# End: diff --git a/mu-aux/gylwrap b/mu-aux/gylwrap index 0fbd595ae..3f3b6f57b 100755 --- a/mu-aux/gylwrap +++ b/mu-aux/gylwrap @@ -2,6 +2,22 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" "$@"' & eval 'exec perl -wS "$0" $argv:q' if 0; +# This file is part of GNU Mailutils. +# Copyright (C) 2017 Free Software Foundation, Inc. +# +# GNU Mailutils is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3, or (at +# your option) any later version. +# +# GNU Mailutils is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Mailutils. If not, see . + use strict; use warnings; use Getopt::Long qw(:config gnu_getopt no_ignore_case require_order auto_version); @@ -372,5 +388,8 @@ while (my $from = shift @output) { exit 0; +# Local Variables: +# mode: perl +# End: -- cgit v1.2.1