Skip to content

Commit

Permalink
xxxx
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Nov 29, 2023
1 parent 355b474 commit 297890d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcob/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -7801,7 +7801,7 @@ cob_expand_env_string (char *strval)
k--;
} else if (strval[k] == '$'
&& strval[k+1] == '$') { /* Replace $$ with process-id */
j += sprintf (&env[j], "%d", getpid());
j += sprintf (&env[j], "%d", cob_sys_getpid());
k++;
/* CHECME: possibly add $f /$b as basename of executable [or, when passed to cob_init the first name]
along with $d date as yyyymmdd and $t as hhmmss */
Expand Down

0 comments on commit 297890d

Please sign in to comment.