From cbd3dceb398526fda2fc62674dc873c5c8f5b38d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 26 Nov 1995 17:37:11 +0000 Subject: Sat Nov 25 02:48:47 1995 Ulrich Drepper * assert/assert-perr.c, assert/assert.c, inet/rcmd.c, malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c, resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c, sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c, sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c, sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c, sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c, sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable strings. Sat Nov 25 02:48:47 1995 Ulrich Drepper * assert/assert-perr.c, assert/assert.c, inet/rcmd.c, malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c, resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c, sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c, sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c, sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c, sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c, sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable strings. --- sunrpc/rpc_main.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'sunrpc/rpc_main.c') diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index 795bf2a..7313e6e 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -6,23 +6,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -32,8 +32,8 @@ static char sccsid[] = "@(#)rpc_main.c 1.7 87/06/24 (C) 1987 SMI"; #endif /* - * rpc_main.c, Top level of the RPC protocol compiler. - * Copyright (C) 1987, Sun Microsystems, Inc. + * rpc_main.c, Top level of the RPC protocol compiler. + * Copyright (C) 1987, Sun Microsystems, Inc. */ #include @@ -72,12 +72,12 @@ main(argc, argv) if (!parseargs(argc, argv, &cmd)) { f_print(stderr, - "usage: %s infile\n", cmdname); + _("usage: %s infile\n"), cmdname); f_print(stderr, - " %s [-c | -h | -l | -m] [-o outfile] [infile]\n", + _(" %s [-c | -h | -l | -m] [-o outfile] [infile]\n"), cmdname); f_print(stderr, - " %s [-s udp|tcp]* [-o outfile] [infile]\n", + _(" %s [-s udp|tcp]* [-o outfile] [infile]\n"), cmdname); exit(1); } @@ -104,7 +104,7 @@ main(argc, argv) } /* - * add extension to filename + * add extension to filename */ static char * extendfile(file, ext) @@ -128,7 +128,7 @@ extendfile(file, ext) } /* - * Open output file with given extension + * Open output file with given extension */ static open_output(infile, outfile) @@ -140,13 +140,13 @@ open_output(infile, outfile) return; } if (infile != NULL && streq(outfile, infile)) { - f_print(stderr, "%s: output would overwrite %s\n", cmdname, + f_print(stderr, _("%s: output would overwrite %s\n"), cmdname, infile); crash(); } fout = fopen(outfile, "w"); if (fout == NULL) { - f_print(stderr, "%s: unable to open ", cmdname); + f_print(stderr, _("%s: unable to open "), cmdname); perror(outfile); crash(); } @@ -154,7 +154,7 @@ open_output(infile, outfile) } /* - * Open input file with given define for C-preprocessor + * Open input file with given define for C-preprocessor */ static open_input(infile, define) @@ -201,7 +201,7 @@ c_output(infile, define, extend, outfile) char *outfilename; long tell; - open_input(infile, define); + open_input(infile, define); outfilename = extend ? extendfile(infile, outfile) : outfile; open_output(infile, outfilename); f_print(fout, "#include \n"); @@ -321,7 +321,7 @@ l_output(infile, define, extend, outfile) } /* - * Perform registrations for service output + * Perform registrations for service output */ static do_registers(argc, argv) @@ -340,7 +340,7 @@ do_registers(argc, argv) } /* - * Parse command line arguments + * Parse command line arguments */ static parseargs(argc, argv, cmd) @@ -387,7 +387,7 @@ parseargs(argc, argv, cmd) break; case 'o': case 's': - if (argv[i][j - 1] != '-' || + if (argv[i][j - 1] != '-' || argv[i][j + 1] != 0) { return (0); } -- cgit v1.1