#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
+#include <limits.h>
#include "calendar.h"
#include "identifier.h"
identity->device = 0;
identity->inode = 0;
identity->name = xstrdup (ok ? cname : file_name);
- str_lowercase (identity->file_name);
+ str_lowercase (identity->name);
#endif /* Windows */
return identity;
#include <libpspp/misc.h>
#include <stdbool.h>
+#include <stddef.h>
#include "minmax.h"
/* "Short" strings, which are generally those no more than 8
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
+#include <limits.h>
#include <language/tests/check-model.h>