Skip to content

Determine if directory as part of C code#611

Open
zapdos26 wants to merge 2 commits into
envmodules:mainfrom
zapdos26:fix/lstat-filetype
Open

Determine if directory as part of C code#611
zapdos26 wants to merge 2 commits into
envmodules:mainfrom
zapdos26:fix/lstat-filetype

test: add symlink directory traversal tests

d9f7839
Select commit
Loading
Failed to load commit list.
Cirrus CI / main CIRRUS_OS:darwin COVERAGE:y MAKE:make macos_instance:ghcr.io/cirruslabs/macos-runner:sonoma failed Feb 17, 2026 in 1m 4s

Task Summary

Instruction build failed in 00:02

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:10 clone
✅ 00:39 reqinstall
✅ 00:03 configure
❌ 00:02 build

$MAKE
  GEN init/sh
  GEN init/ksh
  GEN init/bash
  GEN init/zsh
  GEN init/profile.sh
  GEN init/csh
  GEN init/tcsh
  GEN init/tcsh_completion
  GEN init/profile.csh
  GEN init/perl.pm
  GEN init/python.py
  GEN init/ruby.rb
  GEN init/lisp
  GEN init/tcl
  GEN init/fish
  GEN init/cmake
  GEN init/r.R
  GEN init/pwsh.ps1
  GEN init/initrc
  GEN init/bash_completion
  GEN init/zsh-functions/_module
  GEN init/../share/modulefiles/modules
  GEN version.inc
  GEN tcl/cache.tcl
  GEN tcl/coll.tcl
  GEN tcl/envmngt.tcl
  GEN tcl/init.tcl
  GEN tcl/interp.tcl
  GEN tcl/main.tcl
  GEN tcl/modfind.tcl
  GEN tcl/report.tcl
  GEN tcl/subcmd.tcl
  GEN modulecmd.tcl
  GEN script/gitlog2changelog.py
  GEN ChangeLog
  GEN ChangeLog.gz
  GEN README
  GEN script/add.modules
  GEN script/modulecmd
  CC  lib/envmodules.o
envmodules.c:119:7: error: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  119 |       snprintf(path, sizeof(path), "%s/%s", dir, direntry->d_name);
      |       ^
envmodules.c:119:7: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
1 error generated.
make[1]: *** [envmodules.o] Error 1
make: *** [lib/libtclenvmodules.dylib] Error 2

Exit status: 2