Annotation of researchv10dc/cmd/post/path.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Generate full pathname
                      3:  */
                      4: 
                      5: char *
                      6: path(file)
                      7: char   *file;
                      8: {
                      9:        static char     root[256];
                     10:        char    *getenv(), *post = getenv("POST");
                     11: 
                     12:        if (*file == '/' || *file == '.')
                     13:                return file;
                     14:        sprintf(root, "%s/%s", post ? post : POST, file);
                     15:        return root;
                     16: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.