equal
deleted
inserted
replaced
34 error("read the filename from %i", fd_read_filename); |
34 error("read the filename from %i", fd_read_filename); |
35 if (res != sizeof(namesize)) |
35 if (res != sizeof(namesize)) |
36 error("Reading the size of the name"); |
36 error("Reading the size of the name"); |
37 ofname = (char *) malloc(namesize); |
37 ofname = (char *) malloc(namesize); |
38 res = read(fd_read_filename, ofname, namesize); |
38 res = read(fd_read_filename, ofname, namesize); |
39 if (res != sizeof(namesize)) |
39 if (res != namesize) |
40 error("Reading the the out file name"); |
40 error("Reading the the out file name"); |
41 } |
41 } |
42 close(fd_read_filename); |
42 close(fd_read_filename); |
43 |
43 |
44 c_send_runjob_ok(ofname, pid); |
44 c_send_runjob_ok(ofname, pid); |