2. Use int32_t instead of long for rpcgen.
+Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
+
+ * README: Fix a few typos.
+
+ * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
+ of long.
+ * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
+ * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
+ * tools/rpcgen/rpc_parse.c (get_type): Likewise.
+ (unsigned_dec): Likewise.
+ * tools/rpcgen/rpc_scan.c (symbols): Likewise.
+ * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
+
+ * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
+ instead of LONG.
+ * tools/rpcgen/rpc_parse.c (get_type): Likewise.
+ (unsigned_dec): Likewise.
+ * tools/rpcgen/rpc_scan.c (symbols): Likewise.
+ * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
+ * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
+
Thu Oct 28 11:27:51 EST 1999 Neil Brown <neilb@cse.unsw.edu.au>
* support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
* support/export/rmtab.c: rmtab_read didn't quite do the right
thing if a pathname from rmtab was a subdirectory of an export-point
-
Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
* README: Updated ftp site.
to make a patch closest to your kernel version and apply it by hand.
There is a Linux NFS kernel source tree for Linux 2.3, linux-2.3, on
-the Linux NFS CVS server. However, it is not maintained. We will need
-all the help we can get. To contribute to the Linux NFS project, please
-go to
+the Linux NFS CVS server. We will need all the help we can get. To
+contribute to the Linux NFS project, please go to
http://www.linuxnfs.sourceforge.org
and login as "beta" with password "beta4u". You register yourself.
-please send an email to nfs-admin@linuxnfs.sourceforge.org with
+Please send an email to nfs-admin@linuxnfs.sourceforge.org with
1. Your user id on www.linuxnfs.sourceforge.org.
2. The area in NFS you'd like to work on.
You can subscribe it and search the mailing list archive via a web
browser.
-The nfs-utils package is avaible from the CVS server:
+The nfs-utils package is available from the CVS server:
# cvs -z 3 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs co nfs-utils
if (Inline == 0)
return;
/* May cause lint to complain. but ... */
- f_print(fout, "\t register long *buf;\n\n");
+ f_print(fout, "\t register int32_t *buf;\n\n");
}
static void
{
free(upp_case);
freed=1;
- upp_case="LONG";
+ upp_case="INT32";
}
if(strcmp(upp_case,"U_INT") == 0)
{
free(upp_case);
freed=1;
- upp_case="U_LONG";
+ upp_case="U_INT32";
}
static void
puldefine(char *name, char *num)
{
- f_print(fout, "#define %s ((u_long)%s)\n", name, num);
+ f_print(fout, "#define %s ((u_int32_t)%s)\n", name, num);
}
static int
/* add all the starting basic types */
add_type(1,"int");
- add_type(1,"long");
+ add_type(1,"int32_t");
add_type(1,"short");
add_type(1,"bool");
add_type(1,"u_int");
- add_type(1,"u_long");
+ add_type(1,"u_int32_t");
add_type(1,"u_short");
}
*typep = "short";
(void) peekscan(TOK_INT, &tok);
break;
- case TOK_LONG:
- *typep = "long";
+ case TOK_INT32:
+ *typep = "int32_t";
(void) peekscan(TOK_INT, &tok);
break;
case TOK_VOID:
*typep = "u_short";
(void) peekscan(TOK_INT, &tok);
break;
- case TOK_LONG:
+ case TOK_INT32:
get_token(&tok);
- *typep = "u_long";
+ *typep = "u_int32_";
(void) peekscan(TOK_INT, &tok);
break;
case TOK_INT:
{TOK_INT, "int"},
{TOK_UNSIGNED, "unsigned"},
{TOK_SHORT, "short"},
- {TOK_LONG, "long"},
+ {TOK_INT32, "int32"},
{TOK_FLOAT, "float"},
{TOK_DOUBLE, "double"},
{TOK_STRING, "string"},
TOK_TYPEDEF,
TOK_INT,
TOK_SHORT,
- TOK_LONG,
+ TOK_INT32,
TOK_UNSIGNED,
TOK_FLOAT,
TOK_DOUBLE,
{TOK_TYPEDEF, "typedef"},
{TOK_INT, "int"},
{TOK_SHORT, "short"},
- {TOK_LONG, "long"},
+ {TOK_INT32, "int32"},
{TOK_UNSIGNED, "unsigned"},
{TOK_DOUBLE, "double"},
{TOK_FLOAT, "float"},