File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ jobs:
139139 runs-on : ${{ matrix.os-name }}
140140 strategy :
141141 matrix :
142- os-name : ['macos-14','macos-13 ']
142+ os-name : ['macos-14','macos-15-intel ']
143143 timeout-minutes : 30
144144 env :
145145 CCTOOLS_OUTPUT : ${{ format('cctools-{0}-x86_64-{1}.tar.gz', github.event.inputs.version, matrix.os-name) }}
@@ -181,7 +181,7 @@ jobs:
181181 runs-on : ${{ matrix.os-name }}
182182 strategy :
183183 matrix :
184- os-name : ['macos-14']
184+ os-name : ['macos-14', 'macos-15' ]
185185 timeout-minutes : 30
186186 env :
187187 CCTOOLS_OUTPUT : ${{ format('cctools-{0}-arm64-{1}.tar.gz', github.event.inputs.version, matrix.os-name) }}
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ See the file COPYING for details.
1414#include "debug.h"
1515#include "ftp_lite.h"
1616
17- #define LINE_MAX 1024
18- #define BUFFER_SIZE 32768
17+ #define CMD_LINE_MAX 1024
1918
2019static void do_open ( const char * x , const char * y );
2120static void do_close ( const char * x , const char * y );
@@ -69,10 +68,10 @@ static struct command list[] =
6968
7069int main ( int argc , char * argv [] )
7170{
72- char line [LINE_MAX ];
73- char command [LINE_MAX ];
74- char arg1 [LINE_MAX ];
75- char arg2 [LINE_MAX ];
71+ char line [CMD_LINE_MAX ];
72+ char command [CMD_LINE_MAX ];
73+ char arg1 [CMD_LINE_MAX ];
74+ char arg2 [CMD_LINE_MAX ];
7675 int fields ;
7776 int i ;
7877
@@ -87,7 +86,7 @@ int main( int argc, char *argv[] )
8786 fprintf (stdout ,"ftp_lite> " );
8887 fflush (stdout );
8988
90- if (!fgets (line ,LINE_MAX ,stdin )) break ;
89+ if (!fgets (line ,CMD_LINE_MAX ,stdin )) break ;
9190
9291 command [0 ] = 0 ;
9392 arg1 [0 ] = 0 ;
You can’t perform that action at this time.
0 commit comments