projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GNU standards require "file name" instead of "filename" in
[pspp-builds.git]
/
src
/
output
/
html.c
diff --git
a/src/output/html.c
b/src/output/html.c
index 3557085f398ab878d8a0d789d3f902ae6123b73a..d5b4f5d4fb8d2443fde655cf3a6334144d3e0deb 100644
(file)
--- a/
src/output/html.c
+++ b/
src/output/html.c
@@
-28,7
+28,7
@@
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
-#include <data/filename.h>
+#include <data/file
-
name.h>
#include "error.h"
#include "getline.h"
#include "getlogin_r.h"
#include "error.h"
#include "getline.h"
#include "getlogin_r.h"
@@
-190,7
+190,7
@@
html_submit (struct outp_driver *this, struct som_entity *s)
output_tab_table ( this, (struct tab_table *) s->ext);
break;
case SOM_CHART:
output_tab_table ( this, (struct tab_table *) s->ext);
break;
case SOM_CHART:
- link_image (x->file, ((struct chart *)s->ext)->filename);
+ link_image (x->file, ((struct chart *)s->ext)->file
_
name);
break;
default:
abort ();
break;
default:
abort ();
@@
-345,7
+345,7
@@
html_initialise_chart(struct outp_driver *d UNUSED, struct chart *ch)
FILE *fp;
FILE *fp;
- make_unique_file_stream(&fp, &ch->filename);
+ make_unique_file_stream(&fp, &ch->file
_
name);
#ifdef NO_CHARTS
ch->lp = 0;
#ifdef NO_CHARTS
ch->lp = 0;
@@
-359,7
+359,7
@@
html_initialise_chart(struct outp_driver *d UNUSED, struct chart *ch)
static void
html_finalise_chart(struct outp_driver *d UNUSED, struct chart *ch)
{
static void
html_finalise_chart(struct outp_driver *d UNUSED, struct chart *ch)
{
- free(ch->filename);
+ free(ch->file
_
name);
}
}