Jonathan Brandmeyer
33c82ddba1
shell: Correct argument order of mfill
...
Close #3722 .
(cherry picked from commit 2e8a66d13f )
2019-03-14 09:57:40 -04:00
Sebastian Huber
dc6bd8bb66
score: Fix ISR enable in _Thread_Dispatch_enable()
...
This bug had probably no effect since the interrupt enable is idempotent
on all CPU ports.
Close #3497 .
2018-08-20 08:40:24 +02:00
Sebastian Huber
3abc731b22
rfs: Remove erroneous call of rtems_disk_release()
...
The function rtems_rfs_buffer_sync() erroneously calls
rtems_disk_release(). This screws up the reference counting of the disk.
Close #3494 .
2018-08-10 06:57:10 +02:00
Sebastian Huber
d4165e7173
sptests/sp36: Remove obsolete test program
...
It tests the (never really working) strict order mutex option.
Update #3406 .
2018-06-19 07:58:13 +02:00
Chris Johns
c3353ae565
cpukit/mttpd: Add a callback to generate a per file HTTP etag.
...
Closes #3324
2018-03-08 15:34:15 +11:00
Chris Johns
7093cb5e5d
libtest/dl01: Add dlerror tests.
...
Update #2747
4.11.3
2018-02-08 14:21:13 +11:00
Patrick Gauvin
5812a26eeb
Update dlerror usage
...
Handles possible NULL return value
Updates #2747
2018-02-08 14:21:13 +11:00
Patrick Gauvin
dc746b50ca
libdl: Fix dlerror return type
...
POSIX specifies char *, not const char *
Updates #2747
2018-02-08 14:21:13 +11:00
Patrick Gauvin
a346408e4e
libdl: dlerror return NULL when no error
...
Updates #2747
2018-02-08 14:21:13 +11:00
Patrick Gauvin
a2a9751823
libdl: Clear error between dlerror invocations
...
Updates #2747
2018-02-08 14:21:13 +11:00
Chris Johns
1a304307a2
testsuites/libtest: Set EXENT to .exe so executable are correctly named.
...
The configure order effects how it works.
Close #3297
2018-02-08 14:20:26 +11:00
Christian Mauderer
d438427cbe
dosfs: Allow creating a file with similar name.
...
If there is already a file with a long file name it isn't possible to
create a second file which has a name that ends on the first files name
(for example ets.beam and sets.beam). This patch fixes that.
Close #3258 .
2017-12-07 08:04:11 +01:00
Christian Mauderer
004a63efef
dosfs: Fix files with same name as volume name.
...
Take care that a file in the root directory with the same name as the
volume name can be found.
Close #3257 .
2017-12-05 08:02:42 +01:00
Sebastian Huber
c139a70597
posix: Fix aio_cancel()
...
Close #3164 .
2017-10-04 09:26:40 +02:00
Sebastian Huber
1a21831b3c
i2c: Fix EEPROM driver program timeout handling
...
The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it
to calculate the program timeout in ticks. Check program done condition
after the timeout check to account for pre-emptions.
Close #3162 .
2017-10-02 13:44:36 +02:00
Sebastian Huber
8ca15e26ba
i2c: Send MSB of address first for EEPROMs
...
Close #3161 .
2017-10-02 13:44:32 +02:00
Sebastian Huber
a3199d91f3
dosfs: Fix fat_file_update()
...
Do not update the non-existant meta-data of the root directory.
Close #2944 .
2017-09-06 14:40:38 +02:00
Sebastian Huber
a76c31e13d
dosfs: Fix find name next entry preparation
...
Close #2964 .
2017-09-06 14:09:11 +02:00
Sebastian Huber
e1c3dc0909
dosfs: Fix msdos_dir_read()
...
Set a proper name buffer length for each converter invocation.
Close #2987 .
2017-09-06 13:24:34 +02:00
Chris Johns
2ed53cb982
testsuite/dl: Add C++ by default for DL tests which use C++.
...
- Add AM C++ support to the testsuite configure.ac script.
- Fix the dependences in the DL tests.
Closes #3024 .
2017-08-23 09:48:56 +10:00
Chris Johns
89fd08eae6
libmisc/shell: Make some internal shell functions public.
...
- Add 'rtems_shell_init_environment()' so a user can create the
shell environment without needing to run a shell.
- Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd',
and 'rtems_shell_execute_cmd' from the internal interface to
the public interface.
Closes #3104 .
2017-08-23 09:48:56 +10:00
Sebastian Huber
492c95eee6
confdefs: Fix POSIX keys configuration
...
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size
configuration.
Close #3105 .
2017-08-22 08:03:10 +02:00
Sebastian Huber
7d097c5c69
arm: Validate IT[7:0] bit field of PSR
...
Close #3093 .
2017-08-10 09:24:26 +02:00
Sebastian Huber
5cc276e7c1
arm: Fix CPU context validation for Cortex-R4
...
Do not touch the FPSCR[QC] bit since this is DNM/RAZ on Cortex-R4.
Close #3092 .
2017-08-10 08:21:04 +02:00
Sebastian Huber
7e91901303
arm: Fix ARMv7-M interrupt processing
...
Right after a "msr basepri_max, %[basepri]" instruction an interrupt
service may still take place (observed at least on Cortex-M7). However,
pendable service calls that are activated during this interrupt service
may be delayed until interrupts are enable again. The
_ARMV7M_Pendable_service_call() did not check that a thread dispatch is
allowed. Move this test from _ARMV7M_Interrupt_service_leave() to
_ARMV7M_Pendable_service_call().
Close #3060 .
4.11.2
2017-07-07 13:27:24 +02:00
Sebastian Huber
09cbe713ff
bsps/arm: Fix bit field offset in GIC support
...
Close #3002 .
2017-05-11 09:57:53 +02:00
Chris Johns
d2e31f70c1
libdl: Back port C++ exception throw and catch from 4.12.
...
Closes #2956 .
2017-04-04 13:26:01 +10:00
Sebastian Huber
d51538bdbe
dosfs: Fix file name search
...
Do not use our long file name entry count to optimize the file name
search. The Unicode comparison must be taken into account.
Close #2939 .
2017-03-21 16:15:25 +01:00
Sebastian Huber
89164c67bc
dosfs: Fix race condition msdos_dir_read()
...
Obtain file system instance lock before member access.
Close #2937 .
2017-03-21 16:15:21 +01:00
Sebastian Huber
4c4869f483
dosfs: Rename fat_entries to lfn_entries
...
The name "fat_entries" for long file name directory entries is quite
misleading.
2017-03-21 16:15:17 +01:00
Sebastian Huber
7011f26061
dosfs: Fix long file name padding
...
Close #2934 .
2017-03-21 16:15:11 +01:00
Sebastian Huber
49eb6061ec
dosfs: msdos_filename_utf8_to_short_name_for_save
...
Simplify.
2017-03-21 16:15:09 +01:00
Sebastian Huber
5ed41a6d82
dosfs: Fix msdos_add_file()
...
Make sure that long file names work accross cluster boundaries.
Close #2929 .
2017-03-21 16:15:04 +01:00
Sebastian Huber
58e8131184
dosfs: Simplify msdos_add_file()
...
Update #2929 .
2017-03-21 16:15:00 +01:00
Sebastian Huber
565b1a57b7
dosfs: Add and use msdos_lfn_checksum()
...
Update #2929 .
2017-03-21 16:14:59 +01:00
Sebastian Huber
ad3a744ac4
dosfs: Simplify fat_file_open()
...
Update #2929 .
2017-03-21 16:14:57 +01:00
Sebastian Huber
201f3797b3
dosfs: Simplify msdos_creat_node()
...
Update #2929 .
2017-03-21 16:14:53 +01:00
Sebastian Huber
c38f1fcf8f
dosfs: Fix fat_file_write()
...
Remove forced overwrite which leads to file data corruption. The logic
to determine a forced overwrite was fundamentally broken. For simplity,
disable this feature.
Close #2622 .
2017-03-21 16:14:44 +01:00
Sebastian Huber
21d7154b07
dosfs: Fix msdos_utf8_normalize_and_fold()
...
It is all right in case the result uses the full destination buffer.
Without this fix the handling of a maximum 8.3 short file name is
broken.
Close #2928 .
2017-03-21 16:14:37 +01:00
Sebastian Huber
f08c71339c
libio: Fix deadlock in location management
...
Perform a context-dependent deferred location release to avoid a
deadlock on the file system instance locks, for example during a
chdir().
Close #2936 .
2017-03-21 16:13:11 +01:00
Chris Johns
2ea436a167
Config (.cfg) files are only valid if deeper than 5.
...
Closes #2827 .
2017-03-21 14:38:59 +11:00
Sebastian Huber
a27128c5dc
termios: Fix infinite loop in receive path
...
In canonical mode, the raw input buffer or the canonical buffer may
overflow without an end of line. Avoid an infinite loop in this case.
Update #2915 .
2017-02-28 09:55:58 +01:00
Sebastian Huber
0e8d205559
termios: Protect raw input buffer with device lock
...
Use the device lock to protect the raw input buffer management, e.g.
tail, head and buffer content updates.
Update #2914 .
2017-02-28 09:55:55 +01:00
Sebastian Huber
35a3d81581
termios: Simplify rtems_termios_read_tty()
...
Remove dead code.
Update #2914 .
2017-02-28 09:53:21 +01:00
Sebastian Huber
17f81ee3cb
dosfs: Fix FAT32 formatter
...
The second FAT entry contains a bit to indicate if the FAT32 filesystem
is not dirty and a bit to indicate if there was no IO error. Set both
bits for a fresh filesystem. This prevents a warning if mounted on
Windows.
Update #2913 .
2017-02-28 09:50:58 +01:00
Sebastian Huber
6ec60de37d
dosfs: Directories should have a file size of 0
...
Update #2755 .
2017-02-28 09:50:53 +01:00
Nick Withers
7e0a02a70f
Remove old CVS keywords
...
Close #2388 .
2017-02-15 14:53:07 +01:00
Sudarshan Rajagopalan
5b5ef4e479
Fix exception handler for supporting FPU
...
Close #2401 .
2017-02-15 14:18:53 +01:00
Sebastian Huber
04684cbc43
dosfs: Fix msdos_find_file_in_directory()
...
For a filename match the entry must match without anything remaining.
Update #2908 .
2017-02-14 08:09:57 +01:00
Sebastian Huber
69ae534cbb
Change version to 4.11.1.99
...
Update #2886 .
2017-01-26 08:31:50 +01:00