Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.
Open
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
8 changes: 4 additions & 4 deletions cvs_direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void close_cvs_server(CvsServerCtx * ctx)
if (ctx->compressed)
{
int ret, len;
char buff[BUFSIZ];
static char buff[BUFSIZ];

/*
* there shouldn't be anything left, but we do want
Expand Down Expand Up @@ -411,7 +411,7 @@ void close_cvs_server(CvsServerCtx * ctx)
if (ctx->compressed)
{
int ret = Z_OK, len, eof = 0;
char buff[BUFSIZ];
static char buff[BUFSIZ];

/* read to the 'eof'/'eos' marker. there are two states we
* track, looking for Z_STREAM_END (application level EOS)
Expand Down Expand Up @@ -538,7 +538,7 @@ static void get_cvspass(char * pass, const char * root)
static void send_string(CvsServerCtx * ctx, const char * str, ...)
{
int len;
char buff[BUFSIZ];
static char buff[BUFSIZ];
va_list ap;

va_start(ap, str);
Expand All @@ -552,7 +552,7 @@ static void send_string(CvsServerCtx * ctx, const char * str, ...)

if (ctx->compressed)
{
char zbuff[BUFSIZ];
static char zbuff[BUFSIZ];

if (ctx->zout.avail_in != 0)
{
Expand Down