wiz
1aad114a16
Bump date for -b, -I addition; drop trailing whitespace; separate SEE ALSO
...
entries with a comma.
2003-01-06 19:26:17 +00:00
sommerfeld
35e929d5c4
Document some previously undocumented options.
2003-01-05 19:28:13 +00:00
christos
277101f13c
PR/18866: David A. Holland: missing const keyword in rpcgen output
2002-10-31 02:05:35 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
itojun
f51456c273
err/errx/warn/warnx do not need \n at the end
2002-06-11 06:06:18 +00:00
yamt
c847d4ad9d
make auto const variables static.
2002-06-08 15:00:17 +00:00
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
christos
ed811ba9a7
Don't spit out a trailing comma as the last member of an enum.
2002-02-05 22:03:01 +00:00
christos
0a8ad43664
cast ~0 to (u_int) because it is aimed at the size argument of the xdr function.
2002-02-05 22:02:15 +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
76834aef57
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
2002-01-31 19:36:47 +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
wiz
c6fb5ebc2f
Use Sx, use standard headers, drop a .Pp.
2001-12-08 19:12:34 +00:00
kleink
1cb980bd1a
Remove an extraneous opening brace from newstyle output, apparently missed
...
in rev. 1.6; fixes PR misc/14066.
2001-09-26 20:51:39 +00:00
tv
dba5d44670
Add hooks to allow toolchain bits to be reachover-built at the top level.
2001-08-14 10:18:26 +00:00
wiz
b2ff05f424
Update date (-M added some time ago). Markup and punctuation fixes.
...
Move SEE ALSO section in correct place.
2001-04-04 09:41:36 +00:00
mycroft
0c00d4b5f2
Make `-N' and `-M' work together.
...
Fix more KNF and ANSI glitches.
2001-03-21 20:11:01 +00:00
mycroft
9c23f31eff
Fix a couple of things that disagree with Solaris.
2001-03-21 19:20:18 +00:00
mycroft
b174b0ec84
Sample client needs stdio.h for printf() prototype.
2001-03-21 05:52:11 +00:00
mycroft
71bd2bfc03
Remove an unneeded variable.
2001-03-21 00:31:52 +00:00
mycroft
70214e0225
Remove -g.
2001-03-21 00:30:54 +00:00
mycroft
b1bad8f693
Add a -M flag, for generating thread-safe stubs, per RedHat.
...
Also clean up some KNF and ANSI C glitches in -Sc and -Ss output.
2001-03-21 00:30:39 +00:00
cgd
040de26f85
call setprogname(argv[0]) at start of main()
2001-02-21 00:06:22 +00:00
is
135600f947
More format string cleanup by sommerfeld.
2000-10-11 14:46:00 +00:00
lukem
d70c2ff830
fix the function prototypes in the generated header file (the second
...
arg should have been a pointer); without this you'd get a complaint
about a mismatch between the prototype in the header file and the
function declaration in foo_xdr.c.
fix by Vltteri Vuorikoski@datafellows.com <altteri.Vuorikoski@datafellows.com>
in [bin/6788], with some cosmetic mods by me.
2000-06-07 13:53:07 +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
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