RE: [PATCH] support --version command line for common binaries

"Neha" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Red Chip
Message-ID <002d01c99004$505b7610$f1126230$@com>
Hi,

The patch mentioned in the mail below is for dumping the full kannel version
to stdout. I don’t want that. 
The problem I am facing is that I cannot start the service kannel even after
installing the kannel either through rpm or through the gateway.tar

Can anyone please help me out with this issue.

Thanks and Regards,
 
Neha 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Stipe Tolj
Sent: Saturday, February 14, 2009 8:43 PM
To: kannel_dev_mailinglist
Subject: [PATCH] support --version command line for common binaries

Hi list,

please find attached a simple patch, that allows to use

  $ <kannel binary> --version

to dump the full Kannel version string to stdout.

I moved the version dumping related functions from gw/shared.[ch] to
gwlib/utils.[ch] and embedded the '--version' in get_and_set_debugs(), so
there is need of change in the binary main functions itself.

Please have a review and vote. As this is just a simple "feature add", I'll
commit if there is no objection, which I don't expect ;)

Stipe

--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.10.24/1954 - Release Date: 02/15/09
18:09:00
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.