Displaying 9 results from an estimated 9 matches for "012345678".
Did you mean:
01234567g
2009 Aug 28
5
Finding data which, when tweaked, matches.
Say I have a string : "012345678".
I have a column in a table which also stores strings. I want to find all
rows which match that string of numbers in that order.
That is, "012345678" will match, but "012-34-5678" will, and
"012sneeze345bless67you8thanks" also will.
Do I have to do something lik...
2014 Sep 19
0
vsnprintf_s and vsnprintf
...use vnsprintf?
>
> Ok, we need to drop vsnprintf_s to support WinXP. I'd prefer vsnprintf
> over vsprintf but have no way of testing any of these options.
I wrote a small program that fills a buffer[] with "abcdefghijklmnopqrstuvwxyz\0"
pattern and then tries to write "0123456789" string into it.
It calls either
ret = vsnprintf_s(buffer, buf_size, _TRUNCATE, fmt, va);
or
ret = vsnprintf(buffer, buf_size, fmt, va);
The results are:
---------------------------------------------------------------------------
vsnprintf_s (MSVC, MinGW):
buf_size = 8; ret...
2016 Feb 03
3
Re: [PATCH 1/3] launch: add internal helper for socket paths creation
On Tuesday 02 February 2016 19:47:12 Richard W.M. Jones wrote:
> On Tue, Feb 02, 2016 at 03:27:39PM +0100, Pino Toscano wrote:
> > diff --git a/src/launch.c b/src/launch.c
> > index f59818f..ec061e3 100644
> > --- a/src/launch.c
> > +++ b/src/launch.c
> > @@ -418,6 +418,21 @@ guestfs_int_get_cpu_model (int kvm)
> > #endif
> > }
> >
> >
2014 Sep 18
3
patch for win_utf8_io.c: vsnprintf_s vs. MinGW
lvqcl wrote:
> Oops. It seems that vsnprintf_s isn't always available on MinGW platform:
> MinGW declares this function only if MINGW_HAS_SECURE_API macro is defined.
> That's because WinXP version of msvcrt.dll doesn't contain secure functions
> like vsnprintf_s.
>
> Maybe it's better to revert vsnprintf_s to vsprintf or to use vnsprintf?
Ok, we need to drop
2016 Jun 04
6
Including doesn't have any effect
Hi list,
n00b question, but I can't figure it out:
[callthrough]
exten => _+X.,1,NoOp(nothing here)
#include "blockedall.conf"
exten => _+X.,n(hangup),Hangup
exten => _+X.,n(nohangup),GotoIf($["${CALLERID(num)}" =
"anonymous"]?nocli:cli)
... more stuff that is handling the call ...
I'm putting CLIs that I don't want to be able to call my
2016 Feb 03
0
Re: [PATCH 1/3] launch: add internal helper for socket paths creation
...ger than UNIX_PATH_MAX, then
> *sockpath won't be 0-terminated.
That's not true though:
--------------------------------------------------------- test.c -----
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
char s[10];
snprintf (s, sizeof s, "%s", "0123456789");
printf ("s = %s\n", s);
return 0;
}
----------------------------------------------------------------------
$ gcc -Wall test.c -o test
$ ./test
s = 012345678
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virt...
2002 May 27
0
[Bug 258] New: scanf format not portable
...sh.c.orig Tue Apr 23 04:09:46 2002
+++ ssh.c Sun May 26 19:48:49 2002
@@ -467,9 +467,9 @@
case 'L':
case 'R':
- if (sscanf(optarg, "%5[0-9]:%255[^:]:%5[0-9]",
+ if (sscanf(optarg, "%5[0123456789]:%255[^:]:%5[012345678
9]",
sfwd_port, buf, sfwd_host_port) != 3 &&
- sscanf(optarg, "%5[0-9]/%255[^/]/%5[0-9]",
+ sscanf(optarg, "%5[0123456789]/%255[^/]/%5[0123456789]",...
2016 Jun 04
2
Including doesn't have any effect
On Sat, 4 Jun 2016, Frank Vanoni wrote:
> Another possible approach to blacklist two (or more) specific callers
> (098765432 and 012345678 as example)
>
> exten => _+x.,1,Gosub(blacklist,s,1)
> exten => _+x.,n,....
> exten => black,1,playback(tt-monkeys)
>
> In blacklist.conf
>
> exten => s/098765432,1,Goto(black,1)
> exten => s/012345678,1,Goto(black,1)
Using a 'goto' to exit from a...
2010 Sep 16
4
[OT-FreePBX] Outbound calls check inbound routes to see if destination is local?
Greetings-
First, my apologies for the OT post. Yes, I understand this is not the FreePBX-users mailing list. But, there are a large number of people that use FreePBX and I'm hoping they can be of assistance.
I have a system running Asterisk 1.4.27 (see... relevance!!!) and FreePBX 2.6.0. There are a large number of inbound routes configured for the various DID's coming in via PRI, SIP,