Skip to content

Commit

Permalink
STY: Two more file-path variables using NAMELEN.
Browse files Browse the repository at this point in the history
grep -E -e '\[[[:digit:]]{2,}\]' *.[CcHhFf]*
  • Loading branch information
DWesl committed Feb 8, 2024
1 parent c116e16 commit 4ba1aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/gen_irr_diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ int AppendReg( char *chem_opt, int ndx )
char *strt, *end;
char *token;
char *wstrg1;
char path[256 * 2 + 25];
char fname[256];
char path[2 * (NAMELEN + EXTRA_FOR_DEST_BUFFER)];
char fname[NAMELEN];
char inln[1024],winln[1024],s[1024];
char rxtstr[TABLE_ENTRY];
char rxtstr_tbl[1000][TABLE_ENTRY];
Expand Down

0 comments on commit 4ba1aab

Please sign in to comment.