Fixes to the base RTEMS-051009 snapshot in DOSFS and disable of problematic wcs funct...
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 31 Oct 2005 10:42:59 +0000 (11:42 +0100)
committerPavel Pisa <pi@thor.(none)>
Sat, 28 Nov 2009 23:29:46 +0000 (00:29 +0100)
darcs-hash:20051031104259-ff715-80fd985429685409be2dc1f894f1e970ee9a5366.gz

rtems-patches/rtems-dosfs-fix1.patch [new file with mode: 0644]
rtems-patches/rtems-inttypes-wcs-disable-fix.patch [new file with mode: 0644]

diff --git a/rtems-patches/rtems-dosfs-fix1.patch b/rtems-patches/rtems-dosfs-fix1.patch
new file mode 100644 (file)
index 0000000..5df2973
--- /dev/null
@@ -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 (file)
index 0000000..570afd1
--- /dev/null
@@ -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
+ }