From 6c506576732c8a5688bbacad04349c9e45a4f511 Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Wed, 16 Apr 2008 07:38:10 +0000 Subject: [PATCH] - Added disk type definitions to mount_convertinfo.c and unistd_common_pathconf.c, prompted by Thore Boeckelmann. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15187 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/GNUmakefile.68k | 4 ++-- library/amiga_rexxvars.c | 4 ++-- library/mount_convertinfo.c | 16 +++++++++++++++- library/unistd_common_pathconf.c | 14 +++++++++++++- 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/library/GNUmakefile.68k b/library/GNUmakefile.68k index 886df12..de08c78 100644 --- a/library/GNUmakefile.68k +++ b/library/GNUmakefile.68k @@ -1,5 +1,5 @@ # -# $Id: GNUmakefile.68k,v 1.105 2008-03-11 07:41:27 damato Exp $ +# $Id: GNUmakefile.68k,v 1.106 2008-04-16 07:38:10 obarthel Exp $ # # :ts=8 # @@ -29,7 +29,7 @@ ifneq ($(HOST), AmigaOS) RANLIB = m68k-amigaos-ranlib COPY = cp DELETE = rm -rf - MAKEDIR = mkdir + MAKEDIR = mkdir -p endif ############################################################################## diff --git a/library/amiga_rexxvars.c b/library/amiga_rexxvars.c index 864336c..c9f3cb7 100644 --- a/library/amiga_rexxvars.c +++ b/library/amiga_rexxvars.c @@ -1,5 +1,5 @@ /* - * $Id: amiga_rexxvars.c,v 1.16 2008-04-15 16:22:51 obarthel Exp $ + * $Id: amiga_rexxvars.c,v 1.17 2008-04-16 07:38:10 obarthel Exp $ * * :ts=4 * @@ -661,7 +661,7 @@ SetRexxVar(struct RexxMsg *context,STRPTR variable_name,STRPTR value,LONG length } /* Install the value string. */ - _SetValue(environment,value_string,symbol_table_node + _SetValue(environment,value_string,symbol_table_node); error = 0; diff --git a/library/mount_convertinfo.c b/library/mount_convertinfo.c index 85d5306..116c9ca 100644 --- a/library/mount_convertinfo.c +++ b/library/mount_convertinfo.c @@ -1,5 +1,5 @@ /* - * $Id: mount_convertinfo.c,v 1.6 2006-01-08 12:04:24 obarthel Exp $ + * $Id: mount_convertinfo.c,v 1.7 2008-04-16 07:38:10 obarthel Exp $ * * :ts=4 * @@ -42,6 +42,20 @@ /****************************************************************************/ +#ifndef ID_BUSY_DISK +#define ID_BUSY_DISK (0x42555359L) /* 'BUSY' */ +#endif /* ID_LONGNAME_DOS_DISK */ + +#ifndef ID_LONGNAME_DOS_DISK +#define ID_LONGNAME_DOS_DISK (0x444F5306L) /* 'DOS\6' */ +#endif /* ID_LONGNAME_DOS_DISK */ + +#ifndef ID_LONGNAME_FFS_DISK +#define ID_LONGNAME_FFS_DISK (0x444F5307L) /* 'DOS\7' */ +#endif /* ID_LONGNAME_FFS_DISK */ + +/****************************************************************************/ + void __convert_info_to_statfs(struct InfoData * id,struct statfs * f) { diff --git a/library/unistd_common_pathconf.c b/library/unistd_common_pathconf.c index 09f13d8..2ed4888 100644 --- a/library/unistd_common_pathconf.c +++ b/library/unistd_common_pathconf.c @@ -1,5 +1,5 @@ /* - * $Id: unistd_common_pathconf.c,v 1.3 2006-09-21 09:24:20 obarthel Exp $ + * $Id: unistd_common_pathconf.c,v 1.4 2008-04-16 07:38:10 obarthel Exp $ * * :ts=4 * @@ -55,6 +55,18 @@ #define ID_RAWCON (0x52415700L) /* 'RAW\0' */ #endif /* ID_RAWCON */ +#ifndef ID_BUSY_DISK +#define ID_BUSY_DISK (0x42555359L) /* 'BUSY' */ +#endif /* ID_LONGNAME_DOS_DISK */ + +#ifndef ID_LONGNAME_DOS_DISK +#define ID_LONGNAME_DOS_DISK (0x444F5306L) /* 'DOS\6' */ +#endif /* ID_LONGNAME_DOS_DISK */ + +#ifndef ID_LONGNAME_FFS_DISK +#define ID_LONGNAME_FFS_DISK (0x444F5307L) /* 'DOS\7' */ +#endif /* ID_LONGNAME_FFS_DISK */ + /****************************************************************************/ struct fs_info