[vlc-devel] commit: Update: make sure 1.1.0 > 1.1.0-git ( Rafaël Carré )
git version control
git at videolan.org
Tue Nov 3 22:00:36 CET 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Nov 3 21:22:30 2009 +0100| [feac5bc60e51fe0d84ac5b4136fc9cabd3f392d8] | committer: Rafaël Carré
Update: make sure 1.1.0 > 1.1.0-git
Also remove unneeded prototypes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=feac5bc60e51fe0d84ac5b4136fc9cabd3f392d8
---
src/misc/update.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/src/misc/update.c b/src/misc/update.c
index fc19309..c087985 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -89,15 +89,6 @@
/*****************************************************************************
- * Local Prototypes
- *****************************************************************************/
-static void EmptyRelease( update_t *p_update );
-static bool GetUpdateFile( update_t *p_update );
-static char * size_str( long int l_size );
-
-
-
-/*****************************************************************************
* Update_t functions
*****************************************************************************/
@@ -451,7 +442,9 @@ bool update_NeedUpgrade( update_t *p_update )
*PACKAGE_VERSION_MAJOR - '0',
*PACKAGE_VERSION_MINOR - '0',
*PACKAGE_VERSION_REVISION - '0',
- *PACKAGE_VERSION_EXTRA
+ /* extra string of development versions is "-git", "-rc" ..
+ * so make sure version a.b.c is newer than a.b.c-XXX */
+ (*PACKAGE_VERSION_EXTRA == '-') ? -1 : *PACKAGE_VERSION_EXTRA
};
int latest_version[] = {
p_update->release.i_major,
More information about the vlc-devel
mailing list