Change globbing file name to args.c

This commit is contained in:
savalet
2025-05-03 21:59:51 +02:00
parent 505390f74e
commit fe892e6c61
3 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,8 @@
#include <string.h>
#include <unistd.h>
#include "args.h"
#include "exec.h"
#include "globbing.h"
bool check_glob_result(int val, char *bin_name)
{
@@ -31,7 +31,7 @@ bool process_globbing(char *pattern, args_t *args, size_t *toks_i)
int glob_result;
char *vl;
glob_result = glob(pattern, GLOB_ERR, NULL, &globs);
glob_result = glob(pattern, GLOB_ERR, nullptr, &globs);
if (!check_glob_result(glob_result, args->args[0]))
return false;
for (size_t i = 0; i < globs.gl_pathc; i++) {

View File

@@ -13,13 +13,13 @@
#include <sys/wait.h>
#include <unistd.h>
#include "args.h"
#include "ast.h"
#include "builtins.h"
#include "common.h"
#include "debug.h"
#include "env.h"
#include "exec.h"
#include "globbing.h"
#include "path.h"
#include "repl.h"
#include "u_mem.h"