along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
+
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
+
+#include <data/file-name.h>
#include <language/command.h>
-#include <libpspp/message.h>
-#include <libpspp/getl.h>
-#include <language/syntax-file.h>
#include <language/lexer/lexer.h>
+#include <language/syntax-file.h>
+#include <libpspp/getl.h>
+#include <libpspp/message.h>
#include <libpspp/str.h>
-#include <data/file-name.h>
#include "dirname.h"
-#include "canonicalize.h"
#include "xalloc.h"
#include "gettext.h"
return CMD_FAILURE;
}
- *filename = canonicalize_file_name (relative_filename);
+ *filename = relative_filename;
if (*filename == NULL)
{
msg (SE, _("Unable to open `%s': %s."),
free (relative_filename);
return CMD_FAILURE;
}
- free (relative_filename);
return CMD_SUCCESS;
}