diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-31 16:03:17 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-31 16:03:17 +0000 |
commit | 035e89e554edf6d06736b1734b128e47164a4487 (patch) | |
tree | 537932021fc6c676eda7c25f66198886eab9de5b /nuttx/ChangeLog | |
parent | b121fbbb00aa877caef26e5ffb14b3687d36827f (diff) | |
download | px4-firmware-035e89e554edf6d06736b1734b128e47164a4487.tar.gz px4-firmware-035e89e554edf6d06736b1734b128e47164a4487.tar.bz2 px4-firmware-035e89e554edf6d06736b1734b128e47164a4487.zip |
Fix some places in library where semaphore is not released on error conditions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5071 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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. + |