projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sat Dec 27 16:16:49 2003 Ben Pfaff <blp@gnu.org>
[pspp]
/
src
/
dfm.c
diff --git
a/src/dfm.c
b/src/dfm.c
index 0b231208b8a686b8eb9b8dc4f64e317efeed2f26..0cfa801fcf20c6d47715042818b544496adfc981 100644
(file)
--- a/
src/dfm.c
+++ b/
src/dfm.c
@@
-36,6
+36,7
@@
char *alloca ();
#endif
#include <assert.h>
#endif
#include <assert.h>
+#include "dfm.h"
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
@@
-485,6
+486,8
@@
eof:
char *
dfm_get_record (struct file_handle *h, int *len)
{
char *
dfm_get_record (struct file_handle *h, int *len)
{
+ assert (h != NULL);
+
if (h->class == NULL)
{
if (!open_file_r (h))
if (h->class == NULL)
{
if (!open_file_r (h))