From d9ec7993f9705a100043fc890eaa050bcba05349 Mon Sep 17 00:00:00 2001 From: germeier Date: Tue, 24 Sep 2002 15:38:03 +0000 Subject: fixed issues with 8.3 names in directory.c actually use mpio_filetype_t to tag files during writing of internal memory writing of Config.dat does work now (though it needs some code in mpiosh) --- mpiosh/callback.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mpiosh') diff --git a/mpiosh/callback.c b/mpiosh/callback.c index 8fd1e5f..cc99d29 100644 --- a/mpiosh/callback.c +++ b/mpiosh/callback.c @@ -2,7 +2,7 @@ * * Author: Andreas Büsching * - * $Id: callback.c,v 1.18 2002/09/23 22:38:03 germeier Exp $ + * $Id: callback.c,v 1.19 2002/09/24 15:38:03 germeier Exp $ * * Copyright (C) 2001 Andreas Büsching * @@ -352,7 +352,7 @@ mpiosh_cmd_put(char *args[]) MPIOSH_CHECK_CONNECTION_CLOSED; MPIOSH_CHECK_ARG; - if ((size = mpio_file_put(mpiosh.dev, mpiosh.card, args[0], + if ((size = mpio_file_put(mpiosh.dev, mpiosh.card, args[0], FTYPE_MUSIC, mpiosh_callback_put)) == -1) { mpio_perror("error"); } else { @@ -400,8 +400,8 @@ mpiosh_cmd_mput(char *args[]) if (!(error = regexec(®ex, (*run)->d_name, 0, NULL, 0))) { printf("putting '%s' ... \n", (*run)->d_name); - if (mpio_file_put(mpiosh.dev, mpiosh.card, - (*run)->d_name, mpiosh_callback_put) == -1) { + if (mpio_file_put(mpiosh.dev, mpiosh.card, (*run)->d_name, + FTYPE_MUSIC, mpiosh_callback_put) == -1) { mpio_perror("error"); /* an existing file is no reason for a complete abort!! */ if (mpio_errno()==MPIO_ERR_FILE_EXISTS) -- cgit v1.2.3