Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions graalpython/python-macos-launcher/src/venvlauncher.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,13 @@ void debug(const char *format, ...) {
if (!debug_enabled) return;

va_list va;
char buffer[PATH_MAX * 2];
va_start(va, format);
int result = vsnprintf(buffer, sizeof(buffer), format, va);
vfprintf(stderr, format, va);
va_end(va);

if (result <= 0) return;

fprintf(stderr, "%s", buffer);
fflush(stderr);
}


/**
* Reads the 'venvlauncher_command' from a pyvenv.cfg file.
* Returns a newly allocated string. Caller must free() it.
Expand Down
Loading