Displaying 10 results from an estimated 10 matches for "stringp".
Did you mean:
string
2009 Apr 07
1
typo in R-ints.texi's description of P_ macro
...ption of
the P_ macro.
It currently has "A macro as a wrapper for ngettext", which I think
ought to be
something like "The macro P_ may be used as a wrapper for ngettext".
The following patch also makes the 2 alternate definitions of P_ have
the same argument names,
StringS and StringP. Expanding the S and P to Singular and Plural,
would be more descriptive.
Bill Dunlap
TIBCO Software Inc - Spotfire Division
wdunlap tibco.com
Index: doc/manual/R-ints.texi
===================================================================
--- doc/manual/R-ints.texi (revision 48294)
+++...
2003 Jun 04
1
new application Dialtone()
...2,33
> #include <asterisk/app.h>
> #include <asterisk/options.h>
212a215,263
> * Dialtone
> */
> static int handle_dialtone(struct ast_channel *chan, void *data)
> {
> struct tone_zone_sound *ts;
> int res;
> char tmp[256];
> char *stringp, *mailbox, *stimeout;
> int timeout;
>
> stringp = mailbox = stimeout = NULL;
> timeout = 10000;
>
> strncpy(tmp, data, sizeof(tmp)-1),
> stringp = tmp;
>
> stimeout = strsep(&stringp, "|");
> if(stimeout &&am...
2005 Jun 25
3
* 1.0.8: no more reacting to callerid?
It's not just you. Same thing happens here. I went back to 1.0.7.
Stefan Gofferje wrote:
> Hi folks,
>
> I used to have some constructions like
>
> exten => number/callerid,1,Goto(somewhere)
>
> After updating to 1.0.8 those does not work any more.
> Any hints?
>
> Regards,
> Stefan
>
2004 Apr 08
3
Re: : External access to voicemail
...nd let me know if it works for you.
-Brian
--- app_voicemail.c.fcs Thu Dec 11 12:55:25 2003
+++ app_voicemail.c Sat Feb 28 16:21:15 2004
@@ -1083,7 +1083,7 @@
char prefile[256]="";
char fmt[80];
char *context;
- char *ecodes = "#";
+ char *ecodes = "*#";
char *stringp;
time_t start;
time_t end;
@@ -1117,12 +1117,12 @@
if (mkdir(dir, 0700) && (errno != EEXIST))
ast_log(LOG_WARNING, "mkdir '%s' failed: %s\n", dir, strerror(errno));
if (ast_exists_extension(chan, strlen(chan->macrocontext) ? chan->macrocontext : chan-&g...
2006 Jun 14
0
Directory - First Name/Last Name - How to, use both? a@h?
...er to enter the first name OR last name of a
user in\n"
+" the directory.\n";
/* For simplicity, I'm keeping the format compatible with the voicemail
config,
but i'm open to suggestions for isolating it */
@@ -345,6 +347,20 @@
pos = strsep(&stringp, ",");
if (pos) {
ast_copy_string(name, pos, sizeof(name));
+ if (last == 2) /* Check the first name as well */
+ {
+ conv = convert(pos);
+ if (...
2006 Aug 21
0
problem building openssh-4.3p2 on Fedora Core 5 using gcc -std=c99
...ddrinfo'
strsep.c:53: error: expected identifier or '(' before '__extension__'
strsep.c:53: error: expected identifier or '(' before ')' token
make: *** [strsep.o] Error 1
Lines 111-113 of openbsd-compat/openbsd-compat.h:
#ifndef HAVE_STRSEP
char *strsep(char **stringp, const char *delim);
#endif
--
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
2017 Sep 22
3
gtk3 update causing havoc
On my lab systems, the automatic updates were failing because of the
problems with ipod libraries from EPEL being in the way. It turns out
that was a good thing, because when I "fixed" it, a massive set of
packages was updated, including the new gtk3.
These packages are the ones causing problems, I think.
gtk3-3.22.10-4.el7.x86_64
gtk3-devel-3.22.10-4.el7.x86_64
In the release notes,
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
...***************
*** 3014,3019 ****
--- 3115,3121 ----
static int append_mailbox(char *context, char *mbox, char *data)
{
+ fprintf (stderr, " Adding mailbox: %s Context %s Data: %s\n", mbox,
context, data);
/* Assumes lock is already held */
char tmp[256] = "";
char *stringp;
***************
*** 3318,3323 ****
--- 3420,3426 ----
var = var->next;
}
#endif
+
} else {
/* Timezones in this context */
while(var) {
***************
*** 3395,3400 ****
--- 3498,3514 ----
}
}
ast_destroy(cfg);
+ #ifndef USEMYSQLVM
+ /*
+ * JMD
+ * 6/23/2004
+ * If we are usi...
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
...;
***************
*** 3014,3019 ****
--- 3115,3121 ----
static int append_mailbox(char *context, char *mbox, char *data)
{
+ fprintf (stderr, "ADD IN Mailbox: %s Context %s Data: %s\n", mbox,
context, data);
/* Assumes lock is already held */
char tmp[256] = "";
char *stringp;
***************
*** 3317,3323 ****
--- 3419,3431 ----
append_mailbox(cat, var->name, var->value);
var = var->next;
}
+ #else
+ while(var) {
+ append_mailbox(cat, var->name, var->value);
+ var = var->next;
+ }
#endif
+
} else {
/* Timezones in this context */
while(v...
2016 Jan 18
2
Segmentation Fault Asterisk 13.7.0-rc2 (libmysqlclient?)
...77\377\377\377\377\377%", '\000' <repeats 15 times>, "\372I\\9\036\177\000\000\000\224\242\310\035\000\000\000\062"...
rowdata = 0x7f1da4001110
initfield = 0x7f1dc8a28960 "id"
op = 0x7f1e01e93b2d ""
field = 0x0
stringp = 0x7f1dc8a29300 "4\377\340\314\035\177"
chunk = 0x4dbc40 <_dtor_lock+47> "\311\303UH\211\345SH\203\354XH\211}?u\304H\211U\270\211M\300L\211E\260D\211M\254H\307", <incomplete sequence \340>
collen = 0
res = 0
x = 8981696
var =...