X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;h=5aec959c740a16a69888d9f5da76ad2d56778528;hb=f3668539947d5baed813a4f8436d6cf36abeedd2;hp=a3e14ba1f1ef27240b514cbe3c9985a6d00b350f;hpb=f51ecb48027e6b1eb46840ae25888a25b429f012;p=pspp-builds.git diff --git a/src/output/html.c b/src/output/html.c index a3e14ba1..5aec959c 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -23,19 +23,21 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "data/file-name.h" +#include "libpspp/assertion.h" +#include "libpspp/cast.h" +#include "libpspp/compiler.h" +#include "libpspp/message.h" +#include "libpspp/version.h" +#include "output/cairo.h" +#include "output/chart-item.h" +#include "output/driver-provider.h" +#include "output/message-item.h" +#include "output/options.h" +#include "output/output-item-provider.h" +#include "output/table-provider.h" +#include "output/table-item.h" +#include "output/text-item.h" #include "error.h" #include "xalloc.h" @@ -50,6 +52,7 @@ struct html_driver char *file_name; char *chart_file_name; + char *command_name; FILE *file; size_t chart_cnt; @@ -100,7 +103,7 @@ html_create (const char *file_name, enum settings_output_devices device_type, html->file = fn_open (html->file_name, "w"); if (html->file == NULL) { - error (0, errno, _("opening HTML output file: %s"), html->file_name); + error (0, errno, _("error opening output file `%s'"), html->file_name); goto error; } @@ -113,8 +116,8 @@ html_create (const char *file_name, enum settings_output_devices device_type, fputs ("\n", html->file); fputs ("\n", html->file); - fputs ("