projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New wrapper for access to temporary files.
[pspp-builds.git]
/
src
/
data
/
value-labels.c
diff --git
a/src/data/value-labels.c
b/src/data/value-labels.c
index 6387f72fc44d4c321d4857cf7194e35bd794c3ce..9f6113b388576ee7c822380db69de9dc7fabc361 100644
(file)
--- a/
src/data/value-labels.c
+++ b/
src/data/value-labels.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000
, 2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-21,7
+21,6
@@
#include <stdlib.h>
#include <data/data-out.h>
#include <stdlib.h>
#include <data/data-out.h>
-#include <data/format.h>
#include <data/value.h>
#include <data/variable.h>
#include <libpspp/compiler.h>
#include <data/value.h>
#include <data/variable.h>
#include <libpspp/compiler.h>
@@
-384,9
+383,9
@@
hash_int_val_lab (const void *vl_, const void *vls_)
const struct val_labs *vls = vls_;
if (vls->width == 0)
const struct val_labs *vls = vls_;
if (vls->width == 0)
- return h
sh_hash_double (vl->value.f
);
+ return h
ash_double (vl->value.f, 0
);
else
else
- return h
sh_hash_bytes (vl->value.s, vls->width
);
+ return h
ash_bytes (vl->value.s, vls->width, 0
);
}
/* Free a value label. */
}
/* Free a value label. */
@@
-492,7
+491,7
@@
hash_atom (const void *atom_, const void *aux UNUSED)
{
const struct atom *atom = atom_;
{
const struct atom *atom = atom_;
- return h
sh_hash_string (atom->string
);
+ return h
ash_string (atom->string, 0
);
}
/* A hsh_free_func that destroys ATOM. */
}
/* A hsh_free_func that destroys ATOM. */