Author: bdrewery
Date: Tue Jun 24 15:54:42 2014
New Revision: 267822
URL: http://svnweb.freebsd.org/changeset/base/267822

Log:
  MFC r267174:
  
    Fix some rpcgen sample file issues.
  
  PR:           185582

Modified:
  stable/9/usr.bin/rpcgen/rpc_main.c
  stable/9/usr.bin/rpcgen/rpc_sample.c
Directory Properties:
  stable/9/usr.bin/rpcgen/   (props changed)

Modified: stable/9/usr.bin/rpcgen/rpc_main.c
==============================================================================
--- stable/9/usr.bin/rpcgen/rpc_main.c  Tue Jun 24 15:28:09 2014        
(r267821)
+++ stable/9/usr.bin/rpcgen/rpc_main.c  Tue Jun 24 15:54:42 2014        
(r267822)
@@ -876,8 +876,8 @@ $(TARGETS_SVC.c) \n\n");
        f_print(fout, "\t$(CC) -o $(CLIENT) $(OBJECTS_CLNT) \
 $(LDLIBS) \n\n");
        f_print(fout, "$(SERVER) : $(OBJECTS_SVC) \n");
-       f_print(fout, "\t$(CC) -o $(SERVER) $(OBJECTS_SVC) $(LDLIBS)\n\n ");
-       f_print(fout, "clean:\n\t $(RM) -f core $(TARGETS) $(OBJECTS_CLNT) \
+       f_print(fout, "\t$(CC) -o $(SERVER) $(OBJECTS_SVC) $(LDLIBS)\n\n");
+       f_print(fout, "clean:\n\t rm -f core $(TARGETS) $(OBJECTS_CLNT) \
 $(OBJECTS_SVC) $(CLIENT) $(SERVER)\n\n");
 }
 

Modified: stable/9/usr.bin/rpcgen/rpc_sample.c
==============================================================================
--- stable/9/usr.bin/rpcgen/rpc_sample.c        Tue Jun 24 15:28:09 2014        
(r267821)
+++ stable/9/usr.bin/rpcgen/rpc_sample.c        Tue Jun 24 15:54:42 2014        
(r267822)
@@ -270,6 +270,7 @@ write_sample_clnt_main(void)
        version_list *vp;
 
        f_print(fout, "\n\n");
+       f_print(fout, "int\n");
        f_print(fout, "main(int argc, char *argv[])\n{\n");
 
        f_print(fout, "\tchar *host;");
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to