Commit Graph

41 Commits

Author SHA1 Message Date
bouyer 18e200396c Bump a static char array from 8 to 255. Avoids rpcgen core dumps on some
long struct name.
XXX There are a lot of static arrays in there, bounds should be checked
XXX more carrefuly. All of them seems big enouth (>100) for normal use, though.
1999-12-15 16:47:35 +00:00
christos e4ac7024d0 extra braces, char -> unsigned char 1998-12-19 21:19:11 +00:00
wsanchez bd68b6099d Remove spurious return 1998-10-19 00:43:59 +00:00
wsanchez 1a8d48f462 Add return 0 after errx in to quiet the compiler 1998-10-08 01:31:34 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
fair 1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
lukem 423e29d2ec revert; we can't break the existing ABI and API 1998-02-11 23:01:22 +00:00
lukem caf41deb2a output explicit types (int16_t, int32_t, etc) rather than (short, long, ...) 1998-02-10 05:10:19 +00:00
lukem fdf9f1c771 remove CFLAGS+=-g 1997-10-23 22:48:26 +00:00
lukem dc7ab0caa5 remove WARNS=1 1997-10-19 14:11:38 +00:00
lukem 99071d1bef KNFify, generate prototypes, etc (to shut up WARNS on generated code) 1997-10-18 10:53:37 +00:00
lukem 03e194f678 - don't generate register variables
- always include syslog.h if -L; remove test for #ifdef SYSLOG
- create ANSI C function prototype in server write_program()
- clean up .Nm usage in man page
- document -L in man page
1997-10-17 15:51:48 +00:00
mycroft db43b6b7a0 And a little more... 1997-10-11 22:19:12 +00:00
mycroft bfa2e15a32 Fix the format of the output slightly. 1997-10-11 22:16:45 +00:00
christos 935794817d - Rename "inline" variable to "doinline" so that we don't need -ansi
- Fix gcc warnings and add netbsd rcsid's
- add WARNS to the Makefile
- Add errx() to unhandled cases where appropriate.
1997-10-11 21:01:26 +00:00
mycroft 1999e9c4b7 Fix more white space lossage. 1997-10-09 17:58:15 +00:00
mycroft 7b80581cc5 More KNF. 1997-10-09 16:54:38 +00:00
mycroft 97d989af48 Output the declaration for the loop index variable in the same block as the
rest of the vector inline code.
1997-10-09 16:31:12 +00:00
mycroft daa885fdce Fix another white space glitch. 1997-10-09 15:19:48 +00:00
mycroft eefe653830 Clean up some minor white space nonsense in the output. 1997-10-09 15:13:19 +00:00
mycroft a377886de6 Make the output more KNF-like, and only output the inlining variables when
needed.
1997-10-09 15:12:24 +00:00
jtk 8bd5e0fbf3 remove spurious comma in newstyle structure return case 1997-06-06 17:27:33 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
cgd 6964f6b023 treat arrays used with XDR_INLINE as arrays of 'int32_t's, rather than
arrays of 'long's.
1996-10-01 04:13:53 +00:00
pk 8f3621c4b6 Convey rpcgen's version into generated header files. This allows programs
to contain support for previous (and future) versions of rpcgen.

[ Note: the current version generates some function prototype templates
  differently from rpcgen pre-dating June 1995.
]
1996-02-19 11:12:43 +00:00
cgd e9b16ab034 pull stdlib.h and string.h in, for protos, where necessary 1995-08-29 23:05:49 +00:00
pk ee0767da08 Always distinguish client and server worker routines (used to be the
case only when compiling in ANSI (`-C') mode).
1995-06-24 14:59:41 +00:00
pk 71a0fb455d Clean up import & propagate NetBSD changes.
Add RCS Ids.
Fix a number of bugs.
Note: this version supports ANSI C code generation.
1995-06-11 21:49:50 +00:00
pk ee826b8ce7 Newer version of rpcgen from Sun's TIRPC release. 1995-06-11 21:37:49 +00:00
cgd 2cb53ac7dc convert to use memset, rather than bzero. From Luke Mewburn. 1995-03-06 04:59:08 +00:00
cgd 4ec4c082a9 casts, so that output is a bit happier with prototyped rpc headers. 1994-12-24 17:36:16 +00:00
jtc 8f9bfdc56a Generated files were placed in the same directory as the source file
(instead of the current working directory) and #include directives
contained the path of the source file.
1994-01-20 18:21:56 +00:00
jtc 34a64dcb50 rpcgen is just a protocol compiler, it doesn't need -lrpc 1993-08-23 21:21:49 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
jtc 1a9c05a062 convert manpages to -mandoc macros 1993-06-10 19:15:08 +00:00
mycroft 2106ad2b37 s/\\(lq/``/;s/\\(rq/''/ 1993-05-03 01:46:22 +00:00
mycroft f19d90d7fe Cleanup for GCC 2. 1993-04-19 07:28:01 +00:00
cgd b7ecca3b78 made CPP point to the right place. should check these things before commit. 1993-04-04 12:37:24 +00:00
glass 8f0abce1cd Added rpcgen(1) 1993-04-03 00:51:49 +00:00