Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 17, 2024
1 parent fb2e6b2 commit 8987f68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
run: make -j2 V=1

- name: Fixup sysinfo.gap
run: make SYSINFO_CC=gcc SYSINFO_CXX=g++ sysinfo.gap
run: rm sysinfo.gap && make SYSINFO_CC=gcc SYSINFO_CXX=g++ sysinfo.gap

- name: Download required GAP packages
run: make bootstrap-pkg-minimal
Expand Down
2 changes: 1 addition & 1 deletion dev/gaptest.expect
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set timeout 10
set timeout 30

# from https://serverfault.com/a/981762
expect_before {
Expand Down
2 changes: 1 addition & 1 deletion dev/gaptest2.expect
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set timeout 10
set timeout 30

# from https://serverfault.com/a/981762
expect_before {
Expand Down
3 changes: 1 addition & 2 deletions etc/ffgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ void emit_code(FILE * dest, int header)

void emit_code_to_file_by_basename(int header, char * basename)
{
const len = strlen(basename) + 3;
char * filename = malloc(len);
char * filename = malloc(strlen(basename) + 3);
strcpy(filename, basename);
strcat(filename, header ? ".h" : ".c");
FILE * f = fopen(filename, "w");
Expand Down

0 comments on commit 8987f68

Please sign in to comment.