projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed my authorship lines.
[pspp-builds.git]
/
src
/
libpspp
/
getl.c
diff --git
a/src/libpspp/getl.c
b/src/libpspp/getl.c
index 4a320960226d8f2db2c7ec4c43bef6a931b1376d..e2452c548f171ea120b61fae44562482d53e851b 100644
(file)
--- a/
src/libpspp/getl.c
+++ b/
src/libpspp/getl.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-18,7
+17,6
@@
02110-1301, USA. */
#include <stdlib.h>
02110-1301, USA. */
#include <stdlib.h>
-
#include <config.h>
#include "getl.h"
#include <config.h>
#include "getl.h"
@@
-28,8
+26,6
@@
#include <libpspp/version.h>
#include <libpspp/alloc.h>
#include <libpspp/version.h>
#include <libpspp/alloc.h>
-#include <data/file-name.h>
-
struct getl_source
{
struct getl_source *included_from; /* File that this is nested inside. */
struct getl_source
{
struct getl_source *included_from; /* File that this is nested inside. */
@@
-62,12
+58,16
@@
current_source (const struct source_stream *ss)
/* Initialize getl. */
struct source_stream *
/* Initialize getl. */
struct source_stream *
-create_source_stream (
void
)
+create_source_stream (
const char *initial_include_path
)
{
struct source_stream *ss = xzalloc (sizeof (*ss));
ll_init (&ss->sources);
{
struct source_stream *ss = xzalloc (sizeof (*ss));
ll_init (&ss->sources);
+#if 0
ds_init_cstr (&ss->the_include_path,
fn_getenv_default ("STAT_INCLUDE_PATH", include_path));
ds_init_cstr (&ss->the_include_path,
fn_getenv_default ("STAT_INCLUDE_PATH", include_path));
+#endif
+ ds_init_cstr (&ss->the_include_path, initial_include_path);
+
return ss;
}
return ss;
}