URI: 
       tuse netfile* instead of net* - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit b636466107aa6b1d7802ecd67527d6b854203793
   DIR parent 7c709434eccd461a3f3c522df6224adf4e50a8da
  HTML Author: rsc <devnull@localhost>
       Date:   Fri, 18 Mar 2005 19:30:58 +0000
       
       use netfile* instead of net*
       
       Diffstat:
         M src/cmd/netfiles/main.c             |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/src/cmd/netfiles/main.c b/src/cmd/netfiles/main.c
       t@@ -256,7 +256,7 @@ parsename(char *name, char **server, char **path)
        char*
        filestat(char *server, char *path)
        {
       -        return sysrun(2, "9 netstat %q %q", server, path);
       +        return sysrun(2, "9 netfilestat %q %q", server, path);
        }
        
        /*
       t@@ -304,9 +304,9 @@ filethread(void *v)
                                                winprint(w, "data", "[reading...]");
                                                winaddr(w, ",");
                                                if(strcmp(type, "file")==0)
       -                                                twait(pipetowin(w, "data", 2, "9 netget %q %q", server, path));
       +                                                twait(pipetowin(w, "data", 2, "9 netfileget %q %q", server, path));
                                                else
       -                                                twait(pipetowin(w, "data", 2, "9 netget -d %q %q | winid=%d mc", server, path, w->id));
       +                                                twait(pipetowin(w, "data", 2, "9 netfileget -d %q %q | winid=%d mc", server, path, w->id));
                                                cleanname(name);
                                                if(strcmp(type, "directory")==0){
                                                        p = name+strlen(name);
       t@@ -346,7 +346,7 @@ filethread(void *v)
                                                fprint(2, "Netfiles: bad name %s\n", name);
                                                goto out;
                                        }
       -                                if(twait(pipewinto(w, "body", 2, "9 netput %q %q", server, path)) >= 0){
       +                                if(twait(pipewinto(w, "body", 2, "9 netfileput %q %q", server, path)) >= 0){
                                                cleanname(name);
                                                winname(w, name);
                                                winctl(w, "clean");