summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-25 15:59:54 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-25 15:59:54 +0300
commitccd19b05755ced2b6bf7eddd744c1e5ceddcd516 (patch)
tree2d30cf3479eab0931cf7e032c0d1561f97b9c147
parentf1afd377c55f948f685ddfa2f668491fb4f9b021 (diff)
downloadfileserv-ccd19b05755ced2b6bf7eddd744c1e5ceddcd516.tar.gz
fileserv-ccd19b05755ced2b6bf7eddd744c1e5ceddcd516.tar.bz2
Housekeeping changes.
Remove left-over files; update/add copyright headers.
-rw-r--r--GNUmakefile6
-rw-r--r--mimetypes/Makefile.am16
-rw-r--r--mimetypes/err.c16
-rw-r--r--mimetypes/eval.c16
-rw-r--r--mimetypes/grammar.y2
-rw-r--r--mimetypes/ident.c15
-rw-r--r--mimetypes/lexer.l2
-rw-r--r--mimetypes/linetrack.c2
-rw-r--r--mimetypes/locus.c2
-rw-r--r--mimetypes/locus.h2
-rw-r--r--mimetypes/mtint.h15
-rw-r--r--mimetypes/prloc.c15
-rw-r--r--src/catfile.c16
-rw-r--r--src/config.c16
-rw-r--r--src/dirls.c15
-rw-r--r--src/dirls.h15
-rw-r--r--src/fileserv.c2
-rw-r--r--src/fileserv.h2
-rw-r--r--src/ftoc.sed6
-rw-r--r--src/httperr.c16
-rw-r--r--src/icon.c16
-rw-r--r--src/idx.c16
-rw-r--r--src/lang.c16
-rw-r--r--src/logger.c2
-rw-r--r--src/mem.c16
-rw-r--r--src/remoteip.c16
-rw-r--r--src/runas.c16
-rw-r--r--src/wordsplit.c2388
-rw-r--r--src/wordsplit.h261
29 files changed, 285 insertions, 2659 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c36f6cd..b109490 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,3 +1,9 @@
1# Maintainer's makefile for fileserv
2# Copyright (C) 2019 Sergey Poznyakoff
3# Distributed under the terms of the GNU General Public License, either
4# version 3, or (at your option) any later version. See file COPYING
5# for the text of the license.
6
1ifneq (,$(wildcard Makefile)) 7ifneq (,$(wildcard Makefile))
2 include Makefile 8 include Makefile
3 9
diff --git a/mimetypes/Makefile.am b/mimetypes/Makefile.am
index 3517a76..3ab0774 100644
--- a/mimetypes/Makefile.am
+++ b/mimetypes/Makefile.am
@@ -1,3 +1,19 @@
1# This file is part of fileserv.
2# Copyright (C) 2017-2019 Sergey Poznyakoff
3#
4# Fileserv is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3, or (at your option)
7# any later version.
8#
9# Fileserv is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with fileserv. If not, see <http://www.gnu.org/licenses/>.
16
1noinst_LIBRARIES = libmimetypes.a 17noinst_LIBRARIES = libmimetypes.a
2libmimetypes_a_SOURCES = \ 18libmimetypes_a_SOURCES = \
3 mimetypes.h\ 19 mimetypes.h\
diff --git a/mimetypes/err.c b/mimetypes/err.c
index 125bd2f..89e4cd8 100644
--- a/mimetypes/err.c
+++ b/mimetypes/err.c
@@ -1,3 +1,19 @@
1/* This file is part of fileserv.
2 Copyright (C) 2017, 2019 Sergey Poznyakoff
3
4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
8
9 Fileserv is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with fileserv. If not, see <http://www.gnu.org/licenses/>. */
16
1#ifdef HAVE_CONFIG_H 17#ifdef HAVE_CONFIG_H
2# include <config.h> 18# include <config.h>
3#endif 19#endif
diff --git a/mimetypes/eval.c b/mimetypes/eval.c
index 120d041..03ed761 100644
--- a/mimetypes/eval.c
+++ b/mimetypes/eval.c
@@ -1,3 +1,19 @@
1/* This file is part of fileserv.
2 Copyright (C) 2017, 2019 Sergey Poznyakoff
3
4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
8
9 Fileserv is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with fileserv. If not, see <http://www.gnu.org/licenses/>. */
16
1#ifdef HAVE_CONFIG_H 17#ifdef HAVE_CONFIG_H
2# include <config.h> 18# include <config.h>
3#endif 19#endif
diff --git a/mimetypes/grammar.y b/mimetypes/grammar.y
index 1864289..45c21c5 100644
--- a/mimetypes/grammar.y
+++ b/mimetypes/grammar.y
@@ -1,6 +1,6 @@
1%{ 1%{
2/* This file is part of fileserv. 2/* This file is part of fileserv.
3 Copyright (C) 2017, 2018 Sergey Poznyakoff 3 Copyright (C) 2017-2019 Sergey Poznyakoff
4 4
5 Fileserv is free software; you can redistribute it and/or modify 5 Fileserv is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
diff --git a/mimetypes/ident.c b/mimetypes/ident.c
index 6478e76..2438393 100644
--- a/mimetypes/ident.c
+++ b/mimetypes/ident.c
@@ -1,3 +1,18 @@
1/* This file is part of fileserv.
2 Copyright (C) 2017-2019 Sergey Poznyakoff
3
4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
8
9 Fileserv is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with fileserv. If not, see <http://www.gnu.org/licenses/>. */
1#include <stdlib.h> 16#include <stdlib.h>
2#include <errno.h> 17#include <errno.h>
3#include <string.h> 18#include <string.h>
diff --git a/mimetypes/lexer.l b/mimetypes/lexer.l
index dbd12a1..dbe3bde 100644
--- a/mimetypes/lexer.l
+++ b/mimetypes/lexer.l
@@ -1,6 +1,6 @@
1%top { 1%top {
2/* This file is part of fileserv. 2/* This file is part of fileserv.
3 Copyright (C) 2017, 2018 Sergey Poznyakoff 3 Copyright (C) 2017-2019 Sergey Poznyakoff
4 4
5 Fileserv is free software; you can redistribute it and/or modify 5 Fileserv is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
diff --git a/mimetypes/linetrack.c b/mimetypes/linetrack.c
index dda1636..e020782 100644
--- a/mimetypes/linetrack.c
+++ b/mimetypes/linetrack.c
@@ -1,5 +1,5 @@
1/* This file is part of fileserv. 1/* This file is part of fileserv.
2 Copyright (C) 2017, 2018 Sergey Poznyakoff 2 Copyright (C) 2017-2019 Sergey Poznyakoff
3 3
4 Fileserv is free software; you can redistribute it and/or modify 4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/mimetypes/locus.c b/mimetypes/locus.c
index e3eba86..c383770 100644
--- a/mimetypes/locus.c
+++ b/mimetypes/locus.c
@@ -1,5 +1,5 @@
1/* This file is part of fileserv. 1/* This file is part of fileserv.
2 Copyright (C) 2017, 2018 Sergey Poznyakoff 2 Copyright (C) 2017-2019 Sergey Poznyakoff
3 3
4 Fileserv is free software; you can redistribute it and/or modify 4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/mimetypes/locus.h b/mimetypes/locus.h
index 8a56995..08154ce 100644
--- a/mimetypes/locus.h
+++ b/mimetypes/locus.h
@@ -1,5 +1,5 @@
1/* This file is part of fileserv. 1/* This file is part of fileserv.
2 Copyright (C) 2017, 2018 Sergey Poznyakoff 2 Copyright (C) 2017-2019 Sergey Poznyakoff
3 3
4 Fileserv is free software; you can redistribute it and/or modify 4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/mimetypes/mtint.h b/mimetypes/mtint.h
index a3324d1..9ca7b50 100644
--- a/mimetypes/mtint.h
+++ b/mimetypes/mtint.h
@@ -1,3 +1,18 @@
1/* This file is part of fileserv.
2 Copyright (C) 2017-2019 Sergey Poznyakoff
3
4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
8
9 Fileserv is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with fileserv. If not, see <http://www.gnu.org/licenses/>. */
1#include <stdlib.h> 16#include <stdlib.h>
2#include <stdio.h> 17#include <stdio.h>
3#include <regex.h> 18#include <regex.h>
diff --git a/mimetypes/prloc.c b/mimetypes/prloc.c
index 4555a56..8eab11a 100644
--- a/mimetypes/prloc.c
+++ b/mimetypes/prloc.c
@@ -1,3 +1,18 @@
1/* This file is part of fileserv.
2 Copyright (C) 2017-2019 Sergey Poznyakoff
3
4 Fileserv is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
8