From: Pavel Pisa Date: Mon, 31 Oct 2005 10:42:59 +0000 (+0100) Subject: Fixes to the base RTEMS-051009 snapshot in DOSFS and disable of problematic wcs funct... X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/commitdiff_plain/358fe240a131639611095b5467c3c8c93c90b6ae Fixes to the base RTEMS-051009 snapshot in DOSFS and disable of problematic wcs functions. darcs-hash:20051031104259-ff715-80fd985429685409be2dc1f894f1e970ee9a5366.gz --- diff --git a/rtems-patches/rtems-dosfs-fix1.patch b/rtems-patches/rtems-dosfs-fix1.patch new file mode 100644 index 0000000..5df2973 --- /dev/null +++ b/rtems-patches/rtems-dosfs-fix1.patch @@ -0,0 +1,31 @@ +Index: rtems-051009/cpukit/libfs/src/dosfs/msdos_misc.c +=================================================================== +--- rtems.orig/cpukit/libfs/src/dosfs/msdos_misc.c ++++ rtems/cpukit/libfs/src/dosfs/msdos_misc.c +@@ -252,7 +252,7 @@ msdos_find_name( + * error occured (errno set apropriately) + * + */ +-int ++msdos_status_t + msdos_get_name_node( + rtems_filesystem_location_info_t *parent_loc, + char *name, +@@ -762,7 +762,7 @@ msdos_dir_is_empty( + * appropriately) + * + */ +-int ++msdos_status_t + msdos_find_name_in_fat_file( + rtems_filesystem_mount_table_entry_t *mt_entry, + fat_file_fd_t *fat_fd, +@@ -880,7 +880,7 @@ msdos_find_name_in_fat_file( + * RC_OK on success, or error code if error occured + * + */ +-int ++msdos_status_t + msdos_find_node_by_cluster_num_in_fat_file( + rtems_filesystem_mount_table_entry_t *mt_entry, + fat_file_fd_t *fat_fd, diff --git a/rtems-patches/rtems-inttypes-wcs-disable-fix.patch b/rtems-patches/rtems-inttypes-wcs-disable-fix.patch new file mode 100644 index 0000000..570afd1 --- /dev/null +++ b/rtems-patches/rtems-inttypes-wcs-disable-fix.patch @@ -0,0 +1,15 @@ +Index: rtems/cpukit/libcsupport/include/inttypes.h +=================================================================== +--- rtems.orig/cpukit/libcsupport/include/inttypes.h ++++ rtems/cpukit/libcsupport/include/inttypes.h +@@ -281,8 +281,8 @@ extern intmax_t imaxabs(intmax_t j); + extern imaxdiv_t imaxdiv(intmax_t numer, intmax_t denomer); + extern intmax_t strtoimax(const char *__restrict, char **__restrict, int); + extern uintmax_t strtoumax(const char *__restrict, char **__restrict, int); +-extern intmax_t wcstoimax(const wchar_t *__restrict, wchar_t **__restrict, int); +-extern uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int); ++//extern intmax_t wcstoimax(const wchar_t *__restrict, wchar_t **__restrict, int); ++//extern uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int); + + #ifdef __cplusplus + }