Skip to content

Commit

Permalink
f0042
Browse files Browse the repository at this point in the history
  • Loading branch information
adesutherland committed Sep 15, 2020
1 parent b03b71b commit 74d1c8a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
GCCLIB Change LOG
=================

F0042 - Fix for Calltype 5 without a return buffer
Fix for CMSargc() return type
Fix for tstarg2 CMSplist() casting
F0041 - REXXSAA RexxVariablePool

0.7.19- 31 August 2020
Expand Down
6 changes: 3 additions & 3 deletions cmssys.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef CMSSYS_INCLUDED
#define CMSSYS_INCLUDED

#define GCCLIB_VERSION "F0041"
#define GCCLIB_VERSION "F0042"

#include <stddef.h>
#include <stdarg.h>
Expand Down Expand Up @@ -697,9 +697,9 @@ char **__ARGV(void);
/**************************************************************************************************/
/* Get Program ARGC value (number of arguments) */
/* __ARGC() */
/* char *CMSargc(void) */
/* int CMSargc(void) */
/**************************************************************************************************/
char *__ARGC(void);
int __ARGC(void);
#define CMSargc() (__ARGC())

/**************************************************************************************************/
Expand Down
6 changes: 3 additions & 3 deletions cmssysc.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ int __CMSFNA(char *physical, char *logical, int is_proc, char **ret_val, int arg
eplist.ArgList = 0;
eplist.FunctionReturn = &evalblock;
evalblock = 0;
*ret_val = 0;
if (ret_val) *ret_val = 0;

/* Process the physical string */
len = strlen(physical);
Expand Down Expand Up @@ -357,9 +357,9 @@ char **__ARGV(void) {
/**************************************************************************************************/
/* Get Program ARGC value (number of arguments) */
/* __ARGC() */
/* char *CMSargv(void) */
/* int CMSargc(void) */
/**************************************************************************************************/
char *__ARGC(void) {
int __ARGC(void) {
return GETGCCCRAB()->argc;
}

Expand Down
2 changes: 1 addition & 1 deletion tstarg2.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {

if (CMSargv() != argv) return 16;

if (strncmp(CMSplist(),"TSTARG2 ",8)) return 17;
if (strncmp((char*)CMSplist(),"TSTARG2 ",8)) return 17;

if (CMScalltype() != 0) {
if ( strncmp(CMSeplist()->Command,"TSTARG2",7) &&
Expand Down

0 comments on commit 74d1c8a

Please sign in to comment.