diff --git a/LICENSE b/LICENSE index a6b0c1a..2b0ee50 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Gophernicus - Copyright (c) 2009-2012 Kim Holviala +Gophernicus - Copyright (c) 2009-2014 Kim Holviala All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Makefile b/Makefile index 1d46319..7a58e4e 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ NAME = gophernicus PACKAGE = $(NAME) BINARY = in.$(NAME) -VERSION = 1.4 +VERSION = 1.5 SOURCES = $(NAME).c file.c menu.c string.c platform.c session.c options.c HEADERS = functions.h files.h @@ -246,3 +246,11 @@ release: dist defines: $(CC) -dM -E $(NAME).c + +# +# LOC +# +loc: + @wc -l *.c + + diff --git a/README b/README index 961c52e..a24e024 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Gophernicus - Copyright (c) 2009-2012 Kim Holviala +Gophernicus - Copyright (c) 2009-2014 Kim Holviala Gophernicus is a modern full-featured (and hopefully) secure gopher daemon for inetd. It is licensed under the BSD license. diff --git a/debian/copyright b/debian/copyright index 562a65a..2b0ee50 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,4 +1,4 @@ -Gophernicus - Copyright (c) 2009-2010 Kim Holviala +Gophernicus - Copyright (c) 2009-2014 Kim Holviala All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/file.c b/file.c index 466cff5..a419343 100644 --- a/file.c +++ b/file.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/gophernicus.c b/gophernicus.c index d0f40f8..1cda96e 100644 --- a/gophernicus.c +++ b/gophernicus.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/gophernicus.h b/gophernicus.h index 6ae413e..e5f10e9 100644 --- a/gophernicus.h +++ b/gophernicus.h @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/menu.c b/menu.c index 33847e7..11004d3 100644 --- a/menu.c +++ b/menu.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -307,6 +307,7 @@ int gophermap(state *st, char *mapfile, int depth) /* Read lines one by one */ while (fgets(line, sizeof(line) - 1, fp)) { + /* Parse type & name */ chomp(line); type = line[0]; diff --git a/options.c b/options.c index 86f64d2..63a2e3a 100644 --- a/options.c +++ b/options.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/platform.c b/platform.c index 3247cfc..158d314 100644 --- a/platform.c +++ b/platform.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/session.c b/session.c index 9497d0d..3019b1f 100644 --- a/session.c +++ b/session.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/string.c b/string.c index 004e227..0e085be 100644 --- a/string.c +++ b/string.c @@ -1,5 +1,5 @@ /* - * Gophernicus - Copyright (c) 2009-2012 Kim Holviala + * Gophernicus - Copyright (c) 2009-2014 Kim Holviala * All rights reserved. * * Redistribution and use in source and binary forms, with or without