From: FrantiÅ¡ek DvoÅák <va...@us...> - 2008-11-16 00:00:02
|
Update of /cvsroot/xine/xine-ui/src/common In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10081/src/common Modified Files: config_wrapper.c config_wrapper.h libcommon.h Log Message: Basic warnings, valgrind, and build (FreeBSD) fixes. Update due to newer CACA API. Index: config_wrapper.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/common/config_wrapper.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config_wrapper.c 12 Mar 2008 11:43:42 -0000 1.3 +++ config_wrapper.c 15 Nov 2008 23:59:53 -0000 1.4 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2004 the xine project + * Copyright (C) 2000-2008 the xine project * * This file is part of __xineui_global_xine_instance, a unix video player. * @@ -85,7 +85,7 @@ fprintf(stderr, "WOW, range key %s isn't registered\n", key); } -void config_update_string(const char *key, const char *string) { +void config_update_string(const char *key, char *string) { xine_cfg_entry_t entry; if((xine_config_lookup_entry(__xineui_global_xine_instance, key, &entry)) && string) Index: config_wrapper.h =================================================================== RCS file: /cvsroot/xine/xine-ui/src/common/config_wrapper.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- config_wrapper.h 12 Mar 2008 03:52:30 -0000 1.2 +++ config_wrapper.h 15 Nov 2008 23:59:53 -0000 1.3 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2004 the xine project + * Copyright (C) 2000-2008 the xine project * * This file is part of xine, a unix video player. * @@ -25,7 +25,7 @@ #define CONFIG_WRAPPER_H void config_update_range(const char *key, int min, int max); -void config_update_string(const char *key, const char *string); +void config_update_string(const char *key, char *string); void config_update_enum(const char *key, int value); void config_update_bool(const char *key, int value); void config_update_num(const char *key, int value); Index: libcommon.h =================================================================== RCS file: /cvsroot/xine/xine-ui/src/common/libcommon.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- libcommon.h 13 Nov 2007 21:12:16 -0000 1.6 +++ libcommon.h 15 Nov 2008 23:59:53 -0000 1.7 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2006 the xine project + * Copyright (C) 2000-2008 the xine project * * This file is part of xine, a unix video player. * @@ -26,7 +26,7 @@ #include "utils.h" #ifndef HAVE_GETLINE -ssize_t getline(char *lineptr, size_t *n, FILE *f); +ssize_t getline(char **lineptr, size_t *n, FILE *f); #endif #ifndef HAVE_GETSUBOPT |