search for: pathname_is_dir

Displaying 1 result from an estimated 1 matches for "pathname_is_dir".

2013 Sep 10
2
[Bug 2151] New: Call to upload_dir() has pflag and printflag swapped
...While working on a patch for sftp(1), I noticed that the pflag and This seems to have been the case since the initial inclusion in 5.4. sftp.c-718- if (!quiet) sftp.c-719- printf("Uploading %s to %s\n", g.gl_pathv[i], abs_dst); sftp.c-720- if (pathname_is_dir(g.gl_pathv[i]) && (rflag || global_rflag)) { sftp.c:721: if (upload_dir(conn, g.gl_pathv[i], abs_dst, sftp.c-722- pflag || global_pflag, 1) == -1) sftp.c-723- err = -1; sftp.c-724- } else { -- sftp-client.c-...