diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-31 16:03:17 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-31 16:03:17 +0000 |
commit | d982646fc68602ca7840a7b826cb49efd1963d6c (patch) | |
tree | 537932021fc6c676eda7c25f66198886eab9de5b /nuttx/ChangeLog | |
parent | 79c7065433ae27932ad8b781d38b8f7832b01581 (diff) | |
download | nuttx-d982646fc68602ca7840a7b826cb49efd1963d6c.tar.gz nuttx-d982646fc68602ca7840a7b826cb49efd1963d6c.tar.bz2 nuttx-d982646fc68602ca7840a7b826cb49efd1963d6c.zip |
Fix some places in library where semaphore is not released on error conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5071 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 9cf8f14be..3e17ffe7c 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3224,4 +3224,14 @@ * sched/os_bring.c, configs/*/defconfig, tools/mkconfig.c, and others: Added configuration variable CONFIG_USER_ENTRYPOINT that may be used to change the default entry from user_start to some other symbol. Contributed by - Kate. + Kate. NOTE: This change does introduce a minor backward incompatibility. + For example, if your application uses NSH as its start-up program, then your + code will not fail because it will be unable to find "user_start". The fix + for this link failure is to add the following to your configuration file: + CONFIG_USER_ENTRYPOINT="nsh_main". + * libs/stdio/lib_libfread.c and lib_*flush*.c: Correct a couple of + error cases where the lib semaphore was not be released on error + exits (thanks Ronen Vainish). Also, improved some error reporting: + the generic ERROR was being used instead of the specific errno + value; the errno variable was not always set correctly. + |