[vlc-devel] commit: Update: make sure 1.0.4 > 1.0.4-rcX ( Rafaël Carré )
git version control
git at videolan.org
Tue Nov 3 22:08:16 CET 2009
vlc | branch: 1.0-bugfix | Rafaël Carré <rafael.carre at gmail.com> | Tue Nov 3 22:05:56 2009 +0100| [b258abce7a5d045abaa4185b5e9b085cab78086d] | committer: Rafaël Carré
Update: make sure 1.0.4 > 1.0.4-rcX
Also remove unneeded prototypes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b258abce7a5d045abaa4185b5e9b085cab78086d
---
src/misc/update.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/src/misc/update.c b/src/misc/update.c
index d7e6179..e4e5d01 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -89,14 +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 );
-
-
-/*****************************************************************************
* OpenPGP functions
*****************************************************************************/
@@ -1442,7 +1434,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