christos
285fe0ec7a
Make sure that we set *objp back to the decoded argument; pointed by
...
by Ben Harris.
2002-02-06 02:23:45 +00:00
christos
22a842763e
Deal with other sizeof() return issues. We usually cast it to u_int, because
...
this is what the rpc function argument passing expects, or use socklen_t
as appropriate...
2002-02-05 22:41:47 +00:00
christos
91caf38a2a
- Cast pointer casts to (void *) first to shut-up lint
...
- Deal with variable size enums, by generating assignment to an enum_t variable.
- Use f_print everywhere instead of fprintf - when in Rome...
- I don't understand the value of the unexplained hack. Use IXDR_{U_,}INT32
instead of IXDR_{U_,}LONG.
With those changes our generated librpcsvc files pass lint.
2002-02-05 22:05:42 +00:00
tv
9fbd88883c
Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
...
round has been tested on Solaris/x86 and Linux hosts.
* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
a328e34106
Make almost all tools compile and run properly on non-NetBSD hosts. (In
...
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
is
135600f947
More format string cleanup by sommerfeld.
2000-10-11 14:46:00 +00:00
fvdl
21a52aab9e
Enable the TI-RPC switch by default. Add a kludge that Sun appears to
...
use for the names of the XDR functions to take care of rpc*_t.
2000-06-02 23:30:17 +00:00
christos
e4ac7024d0
extra braces, char -> unsigned char
1998-12-19 21:19:11 +00:00
ross
f670fa10c5
Add { and } to shut up egcs. Reformat the more questionable code.
1998-08-25 20:59:36 +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
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
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
a377886de6
Make the output more KNF-like, and only output the inlining variables when
...
needed.
1997-10-09 15:12:24 +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
cgd
e9b16ab034
pull stdlib.h and string.h in, for protos, where necessary
1995-08-29 23:05:49 +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
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
f19d90d7fe
Cleanup for GCC 2.
1993-04-19 07:28:01 +00:00
glass
8f0abce1cd
Added rpcgen(1)
1993-04-03 00:51:49 +00:00