Benign freebsd Download

tbl_term.c

Source contains an unconditional loopCalls a character-class helper
SHA-2569d4c5872a5ea987bd9b80878d276e964afec10ffafce64cdc4d0c798324f6329

Evidence

English function-word token "the" lines 4–10
4:56… @bsd.lv>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE I …
imports <assert.h> lines 16–40
16:23… TH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
18#include "config.h"
19
20#include <sys/types.h>
21
22#include <assert.h>
23#include <ctype.h>
24#include <stdio.h>
25#include <stdlib.h>
26#include <string.h>
27
28#if DEBUG_MEMORY
29#include "mandoc_dbg.h"
30#endif
31#include "mandoc.h"
32#include "tbl.h"
33#include "out.h"
34#include "term.h"
35
36#define IS_HORIZ(cp) ((cp)->pos == TBL_CELL_HORIZ || \
⋯4 lines
English function-word token "have" lines 296–302
296:7… tcol->rmargin = tp->maxrmargin;
297
298 /* Spans may have reduced the number of columns. */
299
300 tp->lasttcol = tp->tcol - tp->tcols;
301
302 /* Fill the buffer …
C declares a character or byte buffer lines 832–842
832:8… l_char(struct termp *tp, char c, size_t *coloff, size_t len)
833{
834 char cp[2];
835
836 cp[0] = c;
⋯6 lines
Calls a character-class helper lines 921–927
921:24… t = cp;
922 break;
923 } else if (cp[0] == opts->decimal &&
924 (isdigit((unsigned char)cp[1]) ||
925 (cp > dp->string && isdigit((unsigned char)cp[-1]))))
926 lastpoint = cp;
927 else if (isdigit((uns …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.