Home | History | Annotate | Download | only in rpcgen
History log of /src/usr.bin/rpcgen/rpc_svcout.c
RevisionDateAuthorComments
 1.32  18-Jun-2024  christos Add prototype for the foo_freeresult() functions used in the thread-safe
versions of the code (Anthony Mallet)
 1.31  08-Nov-2015  christos Delete extra declaration of svc_fdset... And some commented out code.
This badly needs some modernization.
 1.30  20-Sep-2015  kamil Correct newstyle code generation

For newstyle we used to generate oldstyle code. This bug has been fixed in
FreeBSD on 13 Dec 1995 by wpaul.

https://github.com/freebsd/freebsd/commit/15a1e09c3d41cb01afc70a2ea4d20c5a0d09348a

Reviewed by <christos>, <pgoyette>
 1.29  09-May-2015  christos modernize:
- make crash() called atexit
- use err/errx
- remove __P
 1.28  09-May-2015  dholland Also check the other emitted getrlimit call for failure.
 1.27  09-May-2015  christos CID 1225082: Check getrlimit() return
 1.26  15-Dec-2013  christos Put back the extra prototype for main(); some programs #define main to
something else, so we need the extra prototype.
 1.25  15-Dec-2013  christos - remove support for pre-ansi output
- add -B (BSD) support for c++ output macros
- group functions to make output better looking
 1.24  11-Aug-2013  dholland WARNS=5
 1.23  31-Aug-2011  plunky branches: 1.23.2; 1.23.8;
NULL does not need a cast
 1.22  20-Jun-2004  jmc Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
 1.21  26-Sep-2003  wiz branches: 1.21.2;
Definition, not defintion. From miod@openbsd.
 1.20  14-Jul-2003  itojun use bounded string op - some remains
 1.19  25-Jun-2003  christos In no-main mode [rpcgen -C -m], don't declare _rpcfoo variables static.
Let the main program declare them extern if it wants, otherwise we get
link failures for variables not defined.
 1.18  20-Jan-2003  simonb The Double-Semi-Colon Police.
 1.17  31-Oct-2002  christos PR/18866: David A. Holland: missing const keyword in rpcgen output
 1.16  05-Feb-2002  christos 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...
 1.15  31-Jan-2002  tv Protect __RCSID and __COPYRIGHT from being invoked if not defined.
 1.14  21-Mar-2001  mycroft Make `-N' and `-M' work together.
Fix more KNF and ANSI glitches.
 1.13  21-Mar-2001  mycroft Fix a couple of things that disagree with Solaris.
 1.12  21-Mar-2001  mycroft 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.
 1.11  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.10  18-Oct-1997  lukem branches: 1.10.4; 1.10.12;
KNFify, generate prototypes, etc (to shut up WARNS on generated code)
 1.9  17-Oct-1997  lukem - 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
 1.8  11-Oct-1997  christos - 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.
 1.7  24-Jun-1995  pk Always distinguish client and server worker routines (used to be the
case only when compiling in ANSI (`-C') mode).
 1.6  11-Jun-1995  pk Clean up import & propagate NetBSD changes.
Add RCS Ids.
Fix a number of bugs.
Note: this version supports ANSI C code generation.
 1.5  06-Mar-1995  cgd convert to use memset, rather than bzero. From Luke Mewburn.
 1.4  24-Dec-1994  cgd casts, so that output is a bit happier with prototyped rpc headers.
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  19-Apr-1993  mycroft Cleanup for GCC 2.
 1.1  03-Apr-1993  glass branches: 1.1.1;
Added rpcgen(1)
 1.1.1.1  11-Jun-1995  pk Newer version of rpcgen from Sun's TIRPC release.
 1.10.12.1  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.10.4.1  19-Oct-2000  he Pull up revision 1.11 (requested by he):
Format string cleanup.
 1.21.2.1  22-Jun-2004  tron Pull up revision 1.22 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
 1.23.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed