Debian Codegraph @

COSMIC/AS400/AS400.NOTES

raw
1 1) some name > 8.3 were renamed to 8.3 to make migration to
2 migration easier. I did not include the modules I just chopped
3 any name that was not 8.3 when I moved it to the AS/400.
4
5 2) Changed unix format (x'0a') to (x'0d0a') for move on all modules
6 and headers before I moved them to the AS/400. Again this was
7 a mechanical process so I did not include.
8
9 3) Added def AS400 to sockets.h
10
11 4) Added "define(AS400)" to setproto.h
12
13 5) Added def AS400 to xtdio.h
14
15 6) Changed this line in svprintf
16 #ifdef AS400
17 ret= vsprintf(buf,fmt,__va_list args);
18 #else
19 ret= vsprintf(buf,fmt,(char *) args);
20 #endif
21
22 7) changed sopen to initialize sockaddr_in to 0x00 just before bind
23 and just before connect in SOPEN.c
24
25 look for two lines of code in sopen.c that say...
26 memset(&sin,0x00,sizeof(struct sockaddr_in));
27
28
29 8) I modified spm (called spmstrtr) to start the server if it was
30 not registered already. There are some comments in the module
31 and the code is at the very end.
32
33 9) On the AS/400 I created a service library.
34