Searched refs:zfile (Results 1 - 25 of 61) sorted by relevance

123

/macosx-10.10/uucp-11/uucp/unix/
H A Dcwd.c15 fsysdep_needs_cwd (zfile)
16 const char *zfile;
18 return *zfile != '/' && *zfile != '~';
27 zsysdep_local_file_cwd (zfile, zpubdir, pfbadname)
28 const char *zfile;
34 if (*zfile == '/')
35 return zbufcpy (zfile);
36 else if (*zfile == '~')
37 return zsysdep_local_file (zfile, zpubdi
[all...]
H A Dexists.c10 fsysdep_file_exists (zfile)
11 const char *zfile;
15 return stat ((char *) zfile, &s) == 0;
H A Dbasnam.c13 zsysdep_base_name (zfile)
14 const char *zfile;
18 z = strrchr (zfile, '/');
21 return zbufcpy (zfile);
H A Dfailed.c11 zsysdep_save_failed_file (zfile)
12 const char *zfile;
16 zto = zsappend3 (zSspooldir, FAILEDDIR, zfile);
18 if (! fsysdep_move_file (zfile, zto, TRUE, FALSE, FALSE,
H A Dsize.c13 csysdep_size (zfile)
14 const char *zfile;
18 if (stat ((char *) zfile, &s) < 0)
22 ulog (LOG_ERROR, "stat (%s): %s", zfile, strerror (errno));
H A Daddbas.c13 zsysdep_add_base (zfile, zname)
14 const char *zfile;
23 if (*zfile != '/')
24 ulog (LOG_FATAL, "zsysdep_add_base: %s: Can't happen", zfile);
27 clen = strlen (zfile);
29 if (zfile[clen - 1] != '/')
31 if (! fsysdep_directory (zfile))
32 return zbufcpy (zfile);
38 zfree = zbufcpy (zfile);
40 zfile
[all...]
H A Dcorrup.c11 zsysdep_save_corrupt_file (zfile)
12 const char *zfile;
17 zslash = strrchr (zfile, '/');
19 zslash = zfile;
25 if (! fsysdep_move_file (zfile, zto, TRUE, FALSE, FALSE,
H A Dbytfre.c17 csysdep_bytes_free (zfile)
18 const char *zfile;
22 if (get_fs_usage ((char *) zfile, (char *) NULL, &s) < 0)
H A Dsplnam.c13 zsysdep_spool_file_name (qsys, zfile, pseq)
15 const char *zfile;
18 return zsfind_file (zfile, qsys->uuconf_zname, bsgrade (pseq));
H A Dlocfil.c44 zsysdep_local_file (zfile, zpubdir, pfbadname)
45 const char *zfile;
54 if (*zfile == '/')
55 return zbufcpy (zfile);
57 if (*zfile != '~')
61 if (zfile[1] == '\0')
64 if (zfile[1] == '/')
67 zfile += 2;
73 zfile += strcspn((char *)zfile, "/");
[all...]
H A Dmode.c13 ixsysdep_file_mode (zfile)
14 const char *zfile;
18 if (stat ((char *) zfile, &s) != 0)
20 ulog (LOG_ERROR, "stat (%s): %s", zfile, strerror (errno));
H A Dumode.c13 ixsysdep_user_file_mode (zfile)
14 const char *zfile;
24 iret = stat ((char *) zfile, &s);
31 ulog (LOG_ERROR, "stat (%s): %s", zfile, strerror (errno));
H A Dchmod.c15 fsysdep_change_mode (zfile, imode)
16 const char *zfile;
22 realpath(zfile, rfile);
28 if (chmod ((char *) zfile, imode) < 0)
30 ulog (LOG_ERROR, "chmod (%s): %s", zfile, strerror (errno));
H A Drecep.c97 char *zfile;
100 zfile = zsreceived_name (qsys, ztemp);
101 if (zfile == NULL)
103 o = creat (zfile, IPUBLIC_FILE_MODE);
108 if (fsysdep_make_dirs (zfile, FALSE))
110 ubuffree (zfile);
113 o = creat (zfile, IPUBLIC_FILE_MODE);
117 ulog (LOG_ERROR, "creat during fsysdep_remember_reception (%s): %s", zfile, strerror (errno));
118 ubuffree (zfile);
123 ubuffree (zfile);
94 char *zfile; local
151 char *zfile; local
187 char *zfile; local
[all...]
H A Dsindir.c11 zsysdep_in_dir (zdir, zfile)
13 const char *zfile;
19 cfile = strlen (zfile);
25 memcpy (zret + cdir + 1, zfile, cfile);
H A Daccess.c16 fsysdep_access (zfile)
17 const char *zfile;
19 if (access (zfile, R_OK) == 0)
21 ulog (LOG_ERROR, "%s: %s", zfile, strerror (errno));
36 fsysdep_daemon_access (zfile)
37 const char *zfile;
55 if (stat ((char *) zfile, &s) != 0)
60 ulog (LOG_ERROR, "%s: cannot be read by daemon", zfile);
62 ulog (LOG_ERROR, "stat (%s): %s", zfile, strerror (errno));
83 ulog (LOG_ERROR, "%s: cannot be read by daemon", zfile);
[all...]
H A Defopen.c44 esysdep_fopen (zfile, fpublic, fappend, fmkdirs)
45 const char *zfile;
62 realpath(zfile, rfile);
70 o = creat ((char *) zfile, imode);
74 o = open ((char *) zfile,
78 o = open ((char *) zfile, O_WRONLY | O_NOCTTY);
80 o = creat ((char *) zfile, imode);
88 if (! fsysdep_make_dirs (zfile, fpublic))
91 o = creat ((char *) zfile, imode);
95 o = open ((char *) zfile,
[all...]
H A Dapp3.c10 zsappend3 (zdir1, zdir2, zfile)
13 const char *zfile;
20 cfile = strlen (zfile);
27 memcpy (zret + cdir1 + cdir2 + 2, zfile, cfile);
H A Dindir.c37 fsysdep_in_directory (zfile, zdir, fcheck, freadable, zuser)
38 const char *zfile;
48 if (*zfile != '/')
53 if (strncmp (zfile, zdir, c) != 0
54 || (zfile[c] != '/' && zfile[c] != '\0'))
56 if (strstr (zfile + c, "/../") != NULL)
63 zcopy = zbufcpy (zfile);
H A Djobid.c37 zsfile_to_jobid (qsys, zfile, bgrade)
39 const char *zfile;
57 memcpy (zret + clen + 1, zfile + strlen (zfile) - CSEQLEN, CSEQLEN + 1);
68 /* zfile is SYS/C./C.gseq. */
69 zfile = strrchr (zfile, '/');
72 if (zfile == NULL
73 || zfile[1] != 'C'
74 || zfile[
[all...]
H A Dapp4.c10 zsappend4 (zdir1, zdir2, zdir3, zfile)
14 const char *zfile;
22 cfile = strlen (zfile);
30 memcpy (zret + cdir1 + cdir2 + cdir3 + 3, zfile, cfile);
H A Dwldcrd.c59 fsysdep_wildcard_start (zfile)
60 const char *zfile;
65 if (*zfile != '/')
66 ulog (LOG_FATAL, "fsysdep_wildcard: %s: Can't happen", zfile);
69 if (glob (zfile, 0, (int (*) ()) NULL, &sSglob) != 0)
84 if (*zfile != '/')
85 ulog (LOG_FATAL, "fsysdep_wildcard: %s: Can't happen", zfile);
91 zcmd = zbufalc (sizeof ECHO_PROGRAM + sizeof " " + 2 * strlen (zfile));
95 zfrom = zfile;
159 zsysdep_wildcard (zfile)
[all...]
H A Dufopen.c62 esysdep_user_fopen (zfile, frd, fbinary)
63 const char *zfile;
79 e = fopen (zfile, frd ? "r" : "w");
87 e = open ((char *) zfile, O_RDONLY | O_NOCTTY, 0);
92 e = creat ((char *) zfile, IPUBLIC_FILE_MODE);
111 ulog (LOG_ERROR, "%s (%s): %s", zerr, zfile, strerror (errno));
/macosx-10.10/uucp-11/uucp/lib/
H A Dspool.c17 fspool_file (zfile)
18 const char *zfile;
22 if (*zfile != 'C' && *zfile != 'D' && *zfile != 'X')
24 if (zfile[1] != '.')
26 for (z = zfile + 2; *z != '\0'; z++)
/macosx-10.10/uucp-11/uucp/
H A Dsystem.h171 /* Expand a file name on the local system. On Unix, if the zfile
188 write access. This should check whether zfile is within zdir (or
189 is zdir itself). If it is not, it should return FALSE. If zfile
193 access to all directories from zdir down to zfile and should have
194 read access on zfile itself (if zfile does not exist, or is not a
197 all directories from zdir down to zfile and should have write
198 access on zfile (which may be a directory, or may not actually
202 extern boolean fsysdep_in_directory P((const char *zfile,
210 extern boolean fsysdep_file_exists P((const char *zfile));
[all...]

Completed in 224 milliseconds

123