[OpenSIPS-Devel] [ opensips-Patches-2577793 ] Avoid usage of unsupported grep option in db script

SourceForge.net noreply at sourceforge.net
Tue Feb 17 15:30:09 CET 2009


Patches item #2577793, was opened at 2009-02-07 18:51
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2577793&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: tools
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Sergio Gutierrez (saguti)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Avoid usage of unsupported grep option in db script

Initial Comment:
At charset_test() in opensipsdbctl.mysql script. grep is called with an option which is not supported by standard grep in Solaris.
This patch proposes a different approach for that case; it defines a variable which counts how many times user has failed in passing a supported charset; after 3 tries, script exits with error code of 1.

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-02-17 16:30

Message:
Hi Sergio,

Thanks for the fix - I applied it on the 1.5 and 1.4 versions.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2577793&group_id=232389



More information about the Devel mailing list