aboutsummaryrefslogtreecommitdiff
path: root/mpiosh
diff options
context:
space:
mode:
authorgermeier <germeier>2002-09-24 15:38:03 +0000
committergermeier <germeier>2002-09-24 15:38:03 +0000
commitd9ec7993f9705a100043fc890eaa050bcba05349 (patch)
treeb90d070abdf68018624f459cc602ad354bc7eb6e /mpiosh
parent0606ee0c8abd344763d6fa46519e8f6db485538e (diff)
downloadmpiosh-d9ec7993f9705a100043fc890eaa050bcba05349.tar.gz
mpiosh-d9ec7993f9705a100043fc890eaa050bcba05349.tar.bz2
mpiosh-d9ec7993f9705a100043fc890eaa050bcba05349.zip
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)
Diffstat (limited to 'mpiosh')
-rw-r--r--mpiosh/callback.c8
1 files changed, 4 insertions, 4 deletions
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 <crunchy@tzi.de>
*
- * $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 <crunchy@tzi.de>
*
@@ -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(&regex, (*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)