Displaying 1 result from an estimated 1 matches for "fd_inset".
Did you mean:
fd_index
2010 Nov 19
3
File Offsets for SCP (patch)
...ons are welcome.
--- ../canonical-openssh5.6/scp.c 2010-07-01 23:37:33.000000000 -0400
+++ scp.c 2010-11-19 17:17:26.000000000 -0500
@@ -302,6 +302,7 @@ struct passwd *pwd;
uid_t userid;
int errs, remin, remout;
int pflag, iamremote, iamrecursive, targetshouldbedirectory;
+double fd_offset, fd_inset;
#define CMDNEEDS 64
char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */
@@ -324,6 +325,9 @@ main(int argc, char **argv)
extern char *optarg;
extern int optind;
+ fd_inset = 0;
+ fd_offset = 0;
+
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
saniti...