<commit_before>#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

int main(int argc, char **argv) {
    register long i;
    int rv;
    struct stat *stat_buf;
    long runs;

    if ( argc != 2 || (runs = atoi(argv[1])) <= 0 ) {
	fprintf( stderr, "Usage: %s <number of runs>\n", argv[0] );
	exit( 1 );
    }

    if ( !( stat_buf = malloc(sizeof(struct stat)) ) ) {
	fprintf( stderr, "Failed to alloc.\n" );
	exit( 1 );
    }

    for ( i = 0; i < runs; i++ ) {
	if ( lstat( "/", stat_buf ) ) {
	    fprintf( stderr, "OMGWTF - Failed lstat!?\n" );
	    exit( 1 );
	}
    }

    return 0;
}<commit_msg>Per @DavidStrauss, stick this on the stack, instead.  Thanks!<commit_after>#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

int main(int argc, char **argv) {
    register long i;
    int rv;
    struct stat stat_buf;
    long runs;

    if ( argc != 2 || (runs = atoi(argv[1])) <= 0 ) {
	fprintf( stderr, "Usage: %s <number of runs>\n", argv[0] );
	exit( 1 );
    }

    for ( i = 0; i < runs; i++ ) {
	if ( lstat( "/", &stat_buf ) ) {
	    fprintf( stderr, "OMGWTF - Failed lstat!?\n" );
	    exit( 1 );
	}
    }

    return 0;
}
{'fraction_non_alphanumeric': 0.19162640901771336, 'fraction_numerical': 0.013687600644122383, 'mean_word_length': 2.613372093023256, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 15, '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': '7502897', 'n_tokens_mistral': 530, 'n_tokens_neox': 500, 'n_words': 137}