search for: linenum

Displaying 20 results from an estimated 132 matches for "linenum".

2000 Feb 04
0
Patch that allows equal sign in options
...efine WHITESPACE " \t\r\n" +#define WHITESPACE_EQ " \t\r\n=" /* @@ -237,7 +238,7 @@ return 0; /* Get the keyword. (Each line is supposed to begin with a keyword). */ - cp = strtok(cp, WHITESPACE); + cp = strtok(cp, WHITESPACE_EQ); opcode = parse_token(cp, filename, linenum); switch (opcode) { @@ -248,7 +249,7 @@ case oForwardAgent: intptr = &options->forward_agent; parse_flag: - cp = strtok(NULL, WHITESPACE); + cp = strtok(NULL, WHITESPACE_EQ); if (!cp) fatal("%.200s line %d: Missing yes/no argument.", filename, linenum); value...
2001 Nov 12
4
Please test -current
Could people please test -current? We will be making a release fairly soon. -d -- | By convention there is color, \\ Damien Miller <djm at mindrot.org> | By convention sweetness, By convention bitterness, \\ www.mindrot.org | But in reality there are atoms and space - Democritus (c. 400 BCE)
2007 Nov 07
0
2 commits - libswfdec/swfdec_resource.c libswfdec/swfdec_text_field_movie.c
..._index + length - 1] == '\r') { + paragraph->newline = TRUE; + } else { + paragraph->newline = FALSE; + } paragraph->blocks = NULL; paragraph->attrs = NULL; @@ -748,7 +753,8 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr, first = TRUE; linenum = 0; - x = movie->original_extents.x0 + EXTRA_MARGIN + text_movie->hscroll; + x = movie->original_extents.x0 + EXTRA_MARGIN + + MIN (text_movie->hscroll, text_movie->hscroll_max); y = movie->original_extents.y0 + EXTRA_MARGIN; for (i = 0; layouts[i].layout != NULL &am...
2001 Nov 20
3
problem with AFS token forwarding
Hello, I came across an interoperability problem in OpenSSH 3.0p1 and 3.0.1p1 concerning the AFS token forwarding. That means that the new versions are not able to exchange AFS tokens (and Kerberos TGTs) with older OpenSSH releases (including 2.9p2) and with the old SSH 1.2.2x. In my opinion this problem already existed in Openssh 2.9.9p1, but I have never used this version (I only looked at the
2002 Feb 08
1
Expansion of hostname
...# options for ALL OF *.some.net hosts including # both foo.some.net and bar.some.net Host *.some.net ForwardAgent yes ----- end ----- Following patch does this behaviour. --- readconf.c 7 Nov 2001 01:18:31 -0000 1.1.1.2 +++ readconf.c 8 Feb 2002 08:04:10 -0000 @@ -720,8 +720,9 @@ default: linenum = 0; while (fgets(line, sizeof(line), f)) { /* Update line number counter. */ + const char *hostname = (options->hostname)? options->hostname: host; linenum++; - if (process_config_line(options, host, line, filename, linenum, &active) != 0) + if (process_config_line(options, ho...
2001 Sep 26
1
[PATCH] random SSH_MSG_IGNORE packets
...94,6 +396,42 @@ intptr = &options->keepalives; goto parse_flag; + case oBogusTrafficIntervalMax: + intptr = &options->bogus_traffic_interval_max; + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing argument.", filename, linenum); + if (arg[0] < '0' || arg[0] > '9') + fatal("%.200s line %d: Bad number.", filename, linenum); + + /* Octal, decimal, or hex format? */ + value = strtol(arg, &endofnumber, 0); + if (arg == endofnumber) + fatal("%.200s line %d: Bad number.", fi...
2005 Feb 22
0
TR: 3.8.1p1 option "permitopennet" added
...39;) + break; + if (*opts == '\\' && opts[1] == '"') { + opts += 2; + patterns[i++] = '"'; + continue; + } + patterns[i++] = *opts++; + } + if (!*opts) { + debug("%.100s, line %lu: missing end quote", + file, linenum); + auth_debug_add("%.100s, line %lu: missing end quote", + file, linenum); + xfree(patterns); + goto bad_option; + } + patterns[i] = 0; + opts++; + + if (sscanf(patterns, "%255[^:/]/%255[^:]:%5[0-9]-%5[0-9]", netblock, netmask , sporta, sportb) != 4 &amp...
2001 Nov 20
0
Patch: 3.0.1p1: rename a conflicting variable
...tions'', hence the rename. --- auth-rsa.c.orig Mon Nov 19 16:54:01 2001 +++ auth-rsa.c Mon Nov 19 16:56:18 2001 @@ -180,8 +180,7 @@ * user really has the corresponding private key. */ while (fgets(line, sizeof(line), f)) { - char *cp; - char *options; + char *cp, *optionsp; linenum++; @@ -199,7 +198,7 @@ */ if (*cp < '0' || *cp > '9') { int quoted = 0; - options = cp; + optionsp = cp; for (; *cp && (quoted || (*cp != ' ' && *cp != '\t')); cp++) { if (*cp == '\\' && cp[1] == '&q...
2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name
2003 Apr 04
5
Anti-idle in OpenSSH client?
Heya, Most of the windows ssh clients (putty, securecrt) have anti-idle features. They offer either a null packet or protocol no-op or user defined string to be sent over every x seconds. Is this possible or planned with the OpenSSH client? Our draconian firewall admins have started timing out ssh sessions. Yes I'm aware I could hack up a port forwarding dumb traffic process, but was
2012 Oct 19
0
[LLVMdev] Section specialization & COFF.
On Fri, Oct 19, 2012 at 2:55 AM, r4start <r4start at gmail.com> wrote: > Hi all. > > While compiling next code > @A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0 }, > section ".data" > was discovered that llc ignores weak linkage if we emit it in COFF object. > Attached patch solves this problem, please review. > > I found some
2012 Oct 19
2
[LLVMdev] Section specialization & COFF.
Hi all. While compiling next code @A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0 }, section ".data" was discovered that llc ignores weak linkage if we emit it in COFF object. Attached patch solves this problem, please review. I found some similar tests in test/Objects/Inputs. Should I do something like trivial.ll checking or there is a better way to check
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...d_render (SwfdecTextField *text, cairo_t *cr, - const SwfdecParagraph *paragraphs, SwfdecColor border_color, - SwfdecColor background_color, const SwfdecColorTransform *trans, - const SwfdecRect *inval) -{ - SwfdecLayout *layouts; - SwfdecRect limit; - SwfdecColor color; - int i, y, x, linenum; - gboolean first; - - g_return_if_fail (SWFDEC_IS_TEXT_FIELD (text)); - g_return_if_fail (cr != NULL); - g_return_if_fail (paragraphs != NULL); - g_return_if_fail (trans != NULL); - g_return_if_fail (inval != NULL); - - swfdec_rect_intersect (&limit, &SWFDEC_GRAPHIC (text)->exten...
2001 Dec 04
0
PATCH: log key fingerprint upon successful login
...047 auth.info] Accepted rsa for josb from 1.2.3.4 port 1889 --- openssh-3.0.2p1.dist/auth-rsa.c Mon Aug 6 14:01:49 2001 +++ openssh-3.0.2p1/auth-rsa.c Tue Dec 4 14:14:06 2001 @@ -181,7 +181,7 @@ */ while (fgets(line, sizeof(line), f)) { char *cp; - char *options; + char *optionsp; linenum++; @@ -199,7 +199,7 @@ */ if (*cp < '0' || *cp > '9') { int quoted = 0; - options = cp; + optionsp = cp; for (; *cp && (quoted || (*cp != ' ' && *cp != '\t')); cp++) { if (*cp == '\\' && cp[1] == '&q...
2006 Mar 29
7
sshd config parser
Hi All. For various reasons, we're currently looking at extending (or even overhauling) the config parser used for sshd_config. Right now the syntax I'm looking at is a cumulative "Match" keyword that matches when all of the specified criteria are met. This would be similar the the Host directive used in ssh_config, although it's still limiting (eg you can't easily
2001 Oct 26
2
Patch to add "warn" value to ForwardX11 and ForwardAgent
...i Oct 26 11:42:22 2001 @@ -296,28 +296,44 @@ /* NOTREACHED */ case oForwardAgent: intptr = &options->forward_agent; -parse_flag: +parse_yesnowarn: arg = strdelim(&s); if (!arg || *arg == '\0') - fatal("%.200s line %d: Missing yes/no argument.", filename, linenum); + fatal("%.200s line %d: Missing yes/no/warn argument.", + filename, linenum); value = 0; /* To avoid compiler warning... */ if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) value = 1; else if (strcmp(arg, "no") == 0 || strcmp...
2000 Jan 13
2
sshd doesn't set SSH_AUTH_RHOSTS as supported authentication
...ase sIgnoreRhosts: intptr = &options->ignore_rhosts; parse_flag: cp = strtok(NULL, WHITESPACE); fprintf(stderr, "sIgnoreRhosts triggered as %s\n", cp); if (!cp) { fprintf(stderr, "%s line %d: missing yes/no argument.\n", filename, linenum); exit(1); } if (strcmp(cp, "yes") == 0) value = 1; else if (strcmp(cp, "no") == 0) value = 0; else { fprintf(stderr, "%s line %d: Bad yes/no argument: %s\n", filename, linenum, cp); exit(1);...
2012 Oct 22
2
[LLVMdev] Section specialization & COFF.
...#3 00000000: F3 E0 01 00 oa.. COFF SYMBOL TABLE 000 00AA9D1B ABS notype Static | @comp.id 001 00000001 ABS notype Static | @feat.00 002 00000000 SECT1 notype Static | .drectve Section length 2F, #relocs 0, #linenums 0, checksum 0 004 00000000 SECT2 notype Static | .debug$S Section length 64, #relocs 0, #linenums 0, checksum 0 006 00000000 SECT3 notype Static | .xdata Section length 4, #relocs 0, #linenums 0, checksum 242A58A8, selection 2...
2006 Feb 10
0
OpenSSH ControlAllowUsers, et al Patch
...}, { "hashknownhosts", oHashKnownHosts }, { NULL, oBadOption } }; @@ -790,6 +796,17 @@ } break; + case oControlBindMask: + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing ControlBindMask argument.", + filename, linenum); + value = strtol(arg, &endofnumber, 0); + if (*endofnumber != '\0' || value < 0 || value > 0777) + fatal("%.200s line %d: Bad mask.", filename, linenum); + options->control_bind_mask = value; + break; + case oControlPath: charptr = &options->contro...
2012 Dec 27
3
[PATCH] hostfile: list known names (if any) for new hostkeys
...salt_len) { @@ -236,20 +231,22 @@ init_hostkeys(void) } void -load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path) +load_hostkeys(struct hostkeys *hostkeys, const char *lookup_host, + const Key *lookup_key, const char *path) { FILE *f; char line[8192]; u_long linenum = 0, num_loaded = 0; char *cp, *cp2, *hashed_host; + const char *current_host; HostkeyMarker marker; Key *key; int kbits; if ((f = fopen(path, "r")) == NULL) return; - debug3("%s: loading entries for host \"%.100s\" from file \"%s\"", - __f...