From 0c9d2c5a6f56c2ebce591652e71029fcc16828c7 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Tue, 3 Jan 2006 13:33:11 +0100 Subject: [PATCH 1/4] Let ftp-parser displays usage information when called with no arg or empty string, instead of core dump in debug mode. --- src/protocol/ftp/ftp-parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocol/ftp/ftp-parser.c b/src/protocol/ftp/ftp-parser.c index e9c7aa181..c254390ca 100644 --- a/src/protocol/ftp/ftp-parser.c +++ b/src/protocol/ftp/ftp-parser.c @@ -62,6 +62,9 @@ main(int argc, char *argv[]) } } + if (!responselen) + die("Usage: %s --response \"string\"", argv[0]); + if (parse_ftp_file_info(&ftp_info, response, responselen)) return 0; From 208d2b50fe19fcc595ef0ca06eab7152412d1e43 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Tue, 3 Jan 2006 13:37:15 +0100 Subject: [PATCH 2/4] Update year to 2006 in Copying message. --- src/dialogs/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/info.c b/src/dialogs/info.c index c70511ff2..9a0bff356 100644 --- a/src/dialogs/info.c +++ b/src/dialogs/info.c @@ -143,7 +143,7 @@ menu_copying(struct terminal *term, void *xxx, void *xxxx) "\n" "(C) 1999 - 2002 Mikulas Patocka\n" "(C) 2001 - 2004 Petr Baudis\n" - "(C) 2002 - 2005 Jonas Fonseca\n" + "(C) 2002 - 2006 Jonas Fonseca\n" "and others\n" "\n" "This program is free software; you can redistribute it " From 0cdc74833167781632eebcde70cf04972ab8116c Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Tue, 3 Jan 2006 13:44:15 +0100 Subject: [PATCH 3/4] French translation was updated. --- po/fr.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/po/fr.po b/po/fr.po index 18d724101..dacb1467a 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1,13 +1,13 @@ # French ELinks translation. # Fabrice Haberer-Proust -# Laurent Monin , 2001 - 2005 +# Laurent Monin , 2001 - 2006 # msgid "" msgstr "" -"Project-Id-Version: ELinks 0.11.GIT\n" +"Project-Id-Version: ELinks 0.12.GIT\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-01-01 17:49+0100\n" -"PO-Revision-Date: 2006-01-01 17:50+0100\n" +"POT-Creation-Date: 2006-01-03 13:41+0100\n" +"PO-Revision-Date: 2006-01-01 13:42+0100\n" "Last-Translator: Laurent Monin \n" "Language-Team: French \n" "MIME-Version: 1.0\n" @@ -4674,7 +4674,7 @@ msgid "" "\n" "(C) 1999 - 2002 Mikulas Patocka\n" "(C) 2001 - 2004 Petr Baudis\n" -"(C) 2002 - 2005 Jonas Fonseca\n" +"(C) 2002 - 2006 Jonas Fonseca\n" "and others\n" "\n" "This program is free software; you can redistribute it and/or modify it " @@ -4685,7 +4685,7 @@ msgstr "" "\n" "(C) 1999 - 2002 Mikulas Patocka\n" "(C) 2001 - 2004 Petr Baudis\n" -"(C) 2002 - 2005 Jonas Fonseca\n" +"(C) 2002 - 2006 Jonas Fonseca\n" "et d'autres\n" "\n" "Ce programme est un logiciel libre; vous pouvez le redistribuer et/ou le " @@ -5983,7 +5983,7 @@ msgstr "" "ici à la place de '.')." #. name: -#: src/mime/backend/default.c:227 +#: src/mime/backend/default.c:228 msgid "Option system" msgstr "Système de configuration" From 08928b3606fe98b996d73f9a65343851001a3657 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Tue, 3 Jan 2006 14:04:25 +0100 Subject: [PATCH 4/4] Fix update-po target which failed to notice a change in source tree. --- po/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/po/Makefile b/po/Makefile index e6990a556..a2d402734 100644 --- a/po/Makefile +++ b/po/Makefile @@ -11,6 +11,8 @@ MSGMERGE = msgmerge # xgettext) POTFILES_ABS_LIST = potfiles.list +POTFILES_REL = $(shell find $(top_srcdir)/src/ -name '*.[ch]' -o -name options.inc -o -name 'actions-*.inc' | sort) + quiet_cmd_gmsgfmt = ' [$(PO_COLOR)GMSGFMT$(END_COLOR)] $(RELPATH)$(@)' cmd_gmsgfmt = rm -f -- "$@" && $(GMSGFMT) --statistics -o "$@" -- "$<" @@ -45,7 +47,7 @@ all-local: $(CATALOGS) # This pulls in _all_ .c and .h files in the src directory. Even files that has # not been added to the git repo. Beware of junk entries! -$(srcdir)$(POTFILES_ABS_LIST): +$(srcdir)$(POTFILES_ABS_LIST): $(POTFILES_REL) @( cd $(top_srcdir); \ find src/ -type f -name '*.[ch]' -o -name options.inc -o -name 'actions-*.inc' | sort ) \ > $(srcdir)$(POTFILES_ABS_LIST)