History log of /src/usr.bin/rpcgen/rpc_main.c |
Revision | | Date | Author | Comments |
1.45 |
| 04-Mar-2022 |
andvar | fix few typos in comments for word "because".
|
1.44 |
| 20-Sep-2015 |
kamil | Prefer error messages resolved from errno over handwritten ones.
|
1.43 |
| 20-Sep-2015 |
kamil | Correct #ifdef/#endif header file guards generator for files with names other than alphanumerical.
For example, for a file named config-subscriber.x we were generating a symbol '_CONFIG-SUBSCRIBER_H'.
Since now all non alphanumerical characters will be converted to '_' and we will prevent from generating symbols starting with "__", what's reserved for the internal compiler code parsers and generators.
|
1.42 |
| 09-May-2015 |
dholland | Polish the error messages.
Don't use warn/err to print error messages about the input, as prepending the program name to those both isn't helpful and confuses programs that try to parse compile logs.
|
1.41 |
| 09-May-2015 |
dholland | #if 0 code should still compile :-)
|
1.40 |
| 09-May-2015 |
christos | modernize: - make crash() called atexit - use err/errx - remove __P
|
1.39 |
| 15-Dec-2013 |
wiz | Sync usage and option descriptions with manpage.
|
1.38 |
| 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.37 |
| 12-Aug-2013 |
joerg | Add more __dead.
|
1.36 |
| 11-Aug-2013 |
dholland | WARNS=5
|
1.35 |
| 05-Jun-2013 |
joerg | If /usr/bin/cpp is not executable and RPCGEN_CPP was not set, try /usr/bin/clang-cpp. This allows rpcgen to work in a clang-only release build. Document hack to be resolved when the final decision about /usr/bin/cpp and friends is made.
|
1.34 |
| 31-Aug-2011 |
plunky | branches: 1.34.2; 1.34.8; NULL does not need a cast
|
1.33 |
| 13-Apr-2009 |
lukem | fix -Wshadow issue
|
1.32 |
| 08-Mar-2008 |
christos | branches: 1.32.10; indentation police.
|
1.31 |
| 29-Feb-2008 |
christos | From FreeBSD via Jukka Salmi: Don't coredump on stdin.
|
1.30 |
| 15-Jan-2008 |
christos | branches: 1.30.2; - Make the msdos and non-msdos cpp handling use the same variable $RPCGEN_CPP instead of one using $CPP and the other using $RPCGENCPP, following suit with RDIST_RSH, CVS_RSH, etc. and document it. - make the msdos environment variable take precedence over path search.
|
1.29 |
| 12-Jan-2008 |
dholland | sizeof(char) is always 1. Conversely, however, CHAR_BIT is not always 8. reviewed: mrg
|
1.28 |
| 20-Mar-2006 |
elad | branches: 1.28.12; - plug leak in generate_guard() - plug leak in h_output(), coverity cid 100
|
1.27 |
| 01-Nov-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
1.26 |
| 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.25 |
| 12-May-2004 |
christos | add a 'v' flag to display a version number so that our usage matches with everyone else's rpcgen.
|
1.24 |
| 05-Aug-2003 |
martin | branches: 1.24.2; Remove special case handling for $CPP and use execvp() instead. Patch from Hiramatsu Yoshifumi in PR bin/22311, with minor cosmetic adjustment suggested by Luke Mewburn. OK'd by Frank van der Linden.
|
1.23 |
| 14-Jul-2003 |
itojun | use bounded string op - some remains
|
1.22 |
| 31-Jan-2002 |
tv | branches: 1.22.2; 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.
|
1.21 |
| 29-Jan-2002 |
tv | Make almost all tools compile and run properly on non-NetBSD hosts. (In particular, most tools now run correctly on Solaris 7.)
|
1.20 |
| 21-Mar-2001 |
mycroft | Sample client needs stdio.h for printf() prototype.
|
1.19 |
| 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.18 |
| 21-Feb-2001 |
cgd | call setprogname(argv[0]) at start of main()
|
1.17 |
| 11-Oct-2000 |
is | More format string cleanup by sommerfeld.
|
1.16 |
| 02-Jun-2000 |
fvdl | branches: 1.16.2; 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.
|
1.15 |
| 19-Dec-1998 |
christos | branches: 1.15.2; 1.15.8; extra braces, char -> unsigned char
|
1.14 |
| 18-Oct-1997 |
lukem | KNFify, generate prototypes, etc (to shut up WARNS on generated code)
|
1.13 |
| 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.12 |
| 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.11 |
| 09-Oct-1997 |
mycroft | Clean up some minor white space nonsense in the output.
|
1.10 |
| 09-Jan-1997 |
tls | RCS ID police
|
1.9 |
| 19-Feb-1996 |
pk | 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. ]
|
1.8 |
| 29-Aug-1995 |
cgd | pull stdlib.h and string.h in, for protos, where necessary
|
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 |
| 20-Jan-1994 |
jtc | 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.
|
1.4 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.3 |
| 19-Apr-1993 |
mycroft | Cleanup for GCC 2.
|
1.2 |
| 04-Apr-1993 |
cgd | made CPP point to the right place. should check these things before commit.
|
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.15.8.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.15.2.1 |
| 19-Oct-2000 |
he | Pull up revision 1.17 (requested by he): Format string cleanup.
|
1.16.2.2 |
| 07-Apr-2004 |
jmc | Pullup rev 1.24 (requested by martin in ticket #124)
Remove special case handling for $CPP and use execvp() instead. PR#22311
|
1.16.2.1 |
| 18-Oct-2000 |
tv | Pullup usr.bin string format fixes [is]. See "cvs log" for explicit revision numbers per file, from sommerfeld.
|
1.22.2.1 |
| 15-Mar-2004 |
jmc | Pullup rev 1.24 (requested by martin in ticket #1619)
Remove special case handling for $CPP and use execvp() instead.
|
1.24.2.2 |
| 22-Jun-2004 |
tron | Pull up revision 1.26 (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.24.2.1 |
| 14-May-2004 |
jdc | Pull up revision 1.25 (requested by christos in ticket #320).
add a 'v' flag to display a version number so that our usage matches with everyone else's rpcgen.
|
1.28.12.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.30.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.32.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.34.8.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.34.8.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.34.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")
|