search for: skip2

Displaying 14 results from an estimated 14 matches for "skip2".

Did you mean: skip
2019 Jan 25
0
[klibc:update-dash] builtin: Reject malformed printf specifications with digits after '*'
...4 --- a/usr/dash/bltin/printf.c +++ b/usr/dash/bltin/printf.c @@ -177,17 +177,24 @@ pc: /* skip to field width */ fmt += strspn(fmt, SKIP1); - if (*fmt == '*') - *param++ = getuintmax(1); - - /* skip to possible '.', get following precision */ - fmt += strspn(fmt, SKIP2); - if (*fmt == '.') + if (*fmt == '*') { ++fmt; - if (*fmt == '*') *param++ = getuintmax(1); + } else { + /* skip to possible '.', + * get following precision + */ + fmt += strspn(fmt, SKIP2); + } - fmt += strspn(fmt, SKIP2); +...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Reject malformed printf specifications with digits after '*'
...4 --- a/usr/dash/bltin/printf.c +++ b/usr/dash/bltin/printf.c @@ -177,17 +177,24 @@ pc: /* skip to field width */ fmt += strspn(fmt, SKIP1); - if (*fmt == '*') - *param++ = getuintmax(1); - - /* skip to possible '.', get following precision */ - fmt += strspn(fmt, SKIP2); - if (*fmt == '.') + if (*fmt == '*') { ++fmt; - if (*fmt == '*') *param++ = getuintmax(1); + } else { + /* skip to possible '.', + * get following precision + */ + fmt += strspn(fmt, SKIP2); + } - fmt += strspn(fmt, SKIP2); +...
2015 Nov 04
4
Two WiFi routers
Richard Zimmerman wrote: > I've got a 3 building network... > > Buildings 1/2 between then have 3 wireless routers all pointed to one > CentOS server. > > The 3rd building across the WAN has 3 wireless routers all into one > server... > > In my case They are for local LAN access so they are setup to pint to a > single IP/gateway address... Thanks for your
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Remove getintmax in printf
...rsion(const char *, const char *); @@ -181,14 +180,14 @@ pc: /* skip to field width */ fmt += strspn(fmt, SKIP1); if (*fmt == '*') - *param++ = getintmax(); + *param++ = getuintmax(1); /* skip to possible '.', get following precision */ fmt += strspn(fmt, SKIP2); if (*fmt == '.') ++fmt; if (*fmt == '*') - *param++ = getintmax(); + *param++ = getuintmax(1); fmt += strspn(fmt, SKIP2); @@ -222,18 +221,18 @@ pc: } case 'd': case 'i': { - intmax_t p = getintmax(); - char *f = mklong(s...
2015 Nov 04
2
Two WiFi routers
Richard Zimmerman wrote: >> Do you have them on different channels? > > YES, definitely.... If you have the room in the spectrum, ch1, skip2, ch3, > skip 4, ch5, etc... I've actually have mine set with two empty channels > between them as the 3rd building is a machine / fabrication shop with lots > and lots of RFI going on. So does a client laptop have to change NM setup if passing from one router to another? I wonder if...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Remove getintmax in printf
...rsion(const char *, const char *); @@ -181,14 +180,14 @@ pc: /* skip to field width */ fmt += strspn(fmt, SKIP1); if (*fmt == '*') - *param++ = getintmax(); + *param++ = getuintmax(1); /* skip to possible '.', get following precision */ fmt += strspn(fmt, SKIP2); if (*fmt == '.') ++fmt; if (*fmt == '*') - *param++ = getintmax(); + *param++ = getuintmax(1); fmt += strspn(fmt, SKIP2); @@ -222,18 +221,18 @@ pc: } case 'd': case 'i': { - intmax_t p = getintmax(); - char *f = mklong(s...
2011 May 30
1
ControlPlayback's options
Hi List, Asterisk 's *ControlPlayback* will used for play any recorded file as an audio player. Is it possible that we can use it for multiple forward and rewind ? ex:- original: ControlPlayback(filename,skipms,ff,rew,stop,pause) expected ControlPlayback(filename,skip1,skip2,skip3,forward1,rewind1,forward2,rewind2,forward3,rewind3,stop,pause) : ----- Thanks and regards Virendra Bhati +91-9172341457 Asterisk Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/201105...
2001 Sep 25
2
read.table() suggestions
...Begin code ##################################### new.read.table <- # Reads a tab-delimited data file into a list. Somewhat like: # as.list(read.table(file, header=T, sep="\t", as.is=T, row.names=NULL, # na.strings=na.strings)) function(file, want=items, skip=0, skip2=0, sep="\t", strip.white=F, rm.quotes=F, integers=NULL, logicals=NULL, characters=c("cusip","Cusip","cusp","symb","ticker","sector"), na.strings=c("","-","na","NA&quot...
2004 Aug 13
1
[PATCH] make spotless update
make spotless leaves 2 generated files. diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile --- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200 +++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200 @@ -156,6 +156,7 @@ clean: archclean rm -f sha1hash errlist.c spotless: clean + rm -f include/klibc/havesyscall.h syscalls.nrs find . \( -name
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Use error instead of warnx for fatal errors in printf
...t printfcmd(int argc, char *argv[]) argv = argptr; format = *argv; - if (!format) { - warnx("usage: printf format [arg ...]"); - goto err; - } + if (!format) + error("usage: printf format [arg ...]"); gargv = ++argv; @@ -192,10 +190,8 @@ pc: fmt += strspn(fmt, SKIP2); ch = *fmt; - if (!ch) { - warnx("missing format character"); - goto err; - } + if (!ch) + error("missing format character"); /* null terminate format string to we can use it as an argument to printf. */ nextch = fmt[1]; @@ -250,8 +246,7 @@ p...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Use error instead of warnx for fatal errors in printf
...t printfcmd(int argc, char *argv[]) argv = argptr; format = *argv; - if (!format) { - warnx("usage: printf format [arg ...]"); - goto err; - } + if (!format) + error("usage: printf format [arg ...]"); gargv = ++argv; @@ -192,10 +190,8 @@ pc: fmt += strspn(fmt, SKIP2); ch = *fmt; - if (!ch) { - warnx("missing format character"); - goto err; - } + if (!ch) + error("missing format character"); /* null terminate format string to we can use it as an argument to printf. */ nextch = fmt[1]; @@ -250,8 +246,7 @@ p...
2015 Nov 04
0
Two WiFi routers
...On Behalf Of Timothy Murphy Sent: Wednesday, November 04, 2015 9:07 AM To: centos at centos.org Subject: Re: [CentOS] Two WiFi routers Timothy Murphy wrote: > Thanks for your response. > Do you have them on different channels? YES, definitely.... If you have the room in the spectrum, ch1, skip2, ch3, skip 4, ch5, etc... I've actually have mine set with two empty channels between them as the 3rd building is a machine / fabrication shop with lots and lots of RFI going on. Regards, Richard --- Richard Zimmerman Systems / Network Administrator River Bend Hose Specialty, Inc. 1111 S Ma...
2015 Nov 04
0
Two WiFi routers
On 11/4/2015 11:45 AM, Timothy Murphy wrote: > Richard Zimmerman wrote: > >>> Do you have them on different channels? >> YES, definitely.... If you have the room in the spectrum, ch1, skip2, ch3, >> skip 4, ch5, etc... I've actually have mine set with two empty channels >> between them as the 3rd building is a machine / fabrication shop with lots >> and lots of RFI going on. > So does a client laptop have to change NM setup > if passing from one router to a...
2020 Sep 17
1
Skip source files that differ from existing destination files with a warning?
Hi again, rsync list! I was heavily involved in rsync development and support back in 2005-2010. I've largely lost interest in that now and my knowledge of rsync is beginning to become stale, but I'm still a big fan and user of rsync, so I'm back with a user question. :) I did search the web and didn't find anything relevant. I have a scenario in which regular files are created