<commit_before>#include <stdio.h>
#include <stdlib.h>
#include "ctxt.h"

static unsigned int flag;
static int str_diff(register const char *, register const char *);
static long str_rchr(register const char *, register int);

#define FLAG_INCDIR  0x0001
#define FLAG_DLIBDIR 0x0002
#define FLAG_SLIBDIR 0x0004
#define FLAG_NEWLINE 0x0008
#define FLAG_VERSION 0x0010
#define FLAG_COMPILE 0x0020
#define FLAG_HELP    0x0040
#define FLAG_CFLAGS  0x0080
#define FLAG_LDFLAGS 0x0100

/* PROJECT SPECIFIC */

#include "_sd_sysinfo.h"

const char progname[] = "cgbc-conf";

void flag_incdir(void)
{
  unsigned long pos;
  if (flag & FLAG_COMPILE) {
    pos = str_rchr(ctxt_incdir, '/');
    if (pos)
      ctxt_incdir[str_rchr(ctxt_incdir, '/')] = 0;
    printf("-I%s ", ctxt_incdir);
  } else {
    printf("%s ", ctxt_incdir);
  }
}
void flag_cflags(void)
{

}
void flag_dlibdir(void)
{
  if (flag & FLAG_COMPILE) printf("-L");<commit_msg>Wrong version of cgbc-conf.c imported<commit_after>#include <stdio.h>
#include <stdlib.h>
#include "ctxt.h"

static unsigned int flag;
static int str_diff(register const char *, register const char *);
static long str_rchr(register const char *, register int);

#define FLAG_INCDIR  0x0001
#define FLAG_DLIBDIR 0x0002
#define FLAG_SLIBDIR 0x0004
#define FLAG_NEWLINE 0x0008
#define FLAG_VERSION 0x0010
#define FLAG_COMPILE 0x0020
#define FLAG_HELP    0x0040
#define FLAG_CFLAGS  0x0080
#define FLAG_LDFLAGS 0x0100

/* PROJECT SPECIFIC */

#include "_sd_sysinfo.h"

const char progname[] = "cgbc-conf";

void flag_incdir(void)
{
  if (flag & FLAG_COMPILE)
    printf("-I%s ", ctxt_incdir);
  else
    printf("%s ", ctxt_incdir);
}
void flag_cflags(void)
{

}
void flag_dlibdir(void)
{
  if (flag & FLAG_COMPILE) printf("-L");
{'fraction_non_alphanumeric': 0.11667615253272624, 'fraction_numerical': 0.05179282868525897, 'mean_word_length': 4.899328859060403, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5278534', 'n_tokens_mistral': 757, 'n_tokens_neox': 671, 'n_words': 168}