|
|
1.1 root 1: \File{grind4\-8b.py},{11:13},{Jul 4 1988}
2: \L{\LB{...}}
3: \L{\LB{}}
4: \L{\LB{\Proc{Date}Date ::=}}
5: \L{\LB{}\Tab{8}{[\K{APPLICATION} 3]}}
6: \L{\LB{}\Tab{8}{ \K{IMPLICIT} IA5String \C{}\-\- YYYYMMDD \-\-\CE{}}}
7: \L{\LB{}\Tab{8}{ [[s Date]]}}
8: \L{\LB{}\Tab{8}{ \%\{}}
9: \L{\LB{}\Tab{16}{int year, month, day;}}
10: \L{\LB{}\Tab{16}{static char buffer[BUFSIZ];}}
11: \L{\LB{}}
12: \L{\LB{}\Tab{16}{if (sscanf (Date, \S{}\"\%4d\%2d\%2d\"\SE{}, \&year, \&month, \&day) != 3}}
13: \L{\LB{}\Tab{24}{\|\| year \< 1900 \|\| month \< 1 \|\| month \> 12}}
14: \L{\LB{}\Tab{24}{\|\| day \< 1 \|\| day \> 31)}}
15: \L{\LB{}\Tab{16}{ adios (NULLCP, \S{}\"bad date format: \%s\"\SE{}, Date);}}
16: \L{\LB{}\Tab{16}{(void) sprintf (buffer, \S{}\"\%02d \%s \%4d\"\SE{}, day,}}
17: \L{\LB{}\Tab{24}{ months[month \- 1], year);}}
18: \L{\LB{}\Tab{16}{Date = buffer;}}
19: \L{\LB{}\Tab{8}{ \%\}}}
20: \L{\LB{}}
21: \L{\LB{\K{END}}}
22: \L{\LB{}}
23: \L{\LB{...}}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.