diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-06-18 10:18:26 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-06-18 10:18:26 -0500 |
commit | 49023ff78cf1efeb861b475c40dd04262efe61d3 (patch) | |
tree | 4062e4d695289cb3c3424123b0624dc5216bb4ad | |
parent | eb2aeacf983a2a88a2b31e8fee067c38bd10abd3 (diff) | |
parent | fc0608ac144c4b283c38ce5713bd1efa28c60018 (diff) | |
download | qemu-49023ff78cf1efeb861b475c40dd04262efe61d3.zip qemu-49023ff78cf1efeb861b475c40dd04262efe61d3.tar.gz qemu-49023ff78cf1efeb861b475c40dd04262efe61d3.tar.bz2 |
Merge remote-tracking branch 'sweil/for-anthony' into staging
* sweil/for-anthony:
Fix some more license versions (GPL2+ instead of GPL2)
dump: Fix license version (GPL2+ instead of GPL2)
configure: Fix build for some versions of glibc (9pfs)
monitor: Fix memory leak with readline completion
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | dump-stub.c | 4 | ||||
-rw-r--r-- | dump.c | 4 | ||||
-rw-r--r-- | dump.h | 4 | ||||
-rw-r--r-- | memory_mapping-stub.c | 4 | ||||
-rw-r--r-- | memory_mapping.c | 4 | ||||
-rw-r--r-- | memory_mapping.h | 4 | ||||
-rw-r--r-- | readline.c | 3 | ||||
-rw-r--r-- | target-i386/arch_dump.c | 4 | ||||
-rw-r--r-- | target-i386/arch_memory_mapping.c | 4 |
10 files changed, 23 insertions, 16 deletions
@@ -2812,7 +2812,11 @@ fi open_by_hande_at=no cat > $TMPC << EOF #include <fcntl.h> +#if !defined(AT_EMPTY_PATH) +# error missing definition +#else int main(void) { struct file_handle fh; return open_by_handle_at(0, &fh, 0); } +#endif EOF if compile_prog "" "" ; then open_by_handle_at=yes diff --git a/dump-stub.c b/dump-stub.c index 165c005..56d4564 100644 --- a/dump-stub.c +++ b/dump-stub.c @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ diff --git a/memory_mapping-stub.c b/memory_mapping-stub.c index 104281d..76be34d 100644 --- a/memory_mapping-stub.c +++ b/memory_mapping-stub.c @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ diff --git a/memory_mapping.c b/memory_mapping.c index 1125e3f..6f5a2e3 100644 --- a/memory_mapping.c +++ b/memory_mapping.c @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ diff --git a/memory_mapping.h b/memory_mapping.h index 3f00358..ef72b0a 100644 --- a/memory_mapping.h +++ b/memory_mapping.h @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ @@ -337,6 +337,9 @@ static void readline_completion(ReadLineState *rs) } readline_show_prompt(rs); } + for (i = 0; i < rs->nb_completions; i++) { + g_free(rs->completions[i]); + } } /* return true if command handled */ diff --git a/target-i386/arch_dump.c b/target-i386/arch_dump.c index 7c2b514..4240278 100644 --- a/target-i386/arch_dump.c +++ b/target-i386/arch_dump.c @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ diff --git a/target-i386/arch_memory_mapping.c b/target-i386/arch_memory_mapping.c index efb0211..8e5a56a 100644 --- a/target-i386/arch_memory_mapping.c +++ b/target-i386/arch_memory_mapping.c @@ -6,8 +6,8 @@ * Authors: * Wen Congyang <wency@cn.fujitsu.com> * - * This work is licensed under the terms of the GNU GPL, version 2. See - * the COPYING file in the top-level directory. + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. * */ |