default:
if (!ce->ce_file) {
pid_t child_id;
- int i, xstdout, len, buflen;
+ int i, len, buflen;
+ volatile int xstdout;
char *bp, **ap, *cp;
char *vec[4], buffer[BUFSIZ];
FILE *out;
static void
-process (char *folder, char *fname, int ofilen, int ofilec)
+process (char *folder, char *volatile fname, int ofilen, int ofilec)
{
char *cp = NULL;
FILE *fp = NULL;
static int
openFTP (CT ct, char **file)
{
- int cachetype, caching, fd;
+ int cachetype, fd;
+ volatile int caching;
int len, buflen;
char *bp, *ftp, *user, *pass;
char buffer[BUFSIZ], cachefile[BUFSIZ];
message_fd (char **vec)
{
pid_t child_id;
- int bytes, fd, seconds;
+ int bytes, seconds;
+ volatile int fd;
char tmpfil[BUFSIZ];
struct stat st;
*/
static int
-sendaux (char **vec, int vecp, char *drft, struct stat *st)
+sendaux (char **vec, int vecp, char *volatile drft, struct stat *st)
{
pid_t child_id;
- int i, status, fd, fd2;
+ int i, status;
+ volatile int fd, fd2;
char backup[BUFSIZ], buf[BUFSIZ];
fd = pushsw ? tmp_fd () : NOTOK;
*/
static int
-sendfile (char **arg, char *file, int pushsw)
+sendfile (char **arg, char *file, volatile int pushsw)
{
pid_t child_id;
int i, vecp;