Anyone have any problems with sftp-server on 3.7.1p2? When I sftp to the server i get this when I do an ls -l: sftp> ls -l ?-w-rwxrwx 0 1 16832 3 Oct 26 1993 Mike
On Wed, 8 Oct 2003, Lee-Lun, Michael [IT] wrote:> Anyone have any problems with sftp-server on 3.7.1p2? When I sftp to the > server i get this when I do an ls -l: > > sftp> ls -l > ?-w-rwxrwx 0 1 16832 3 Oct 26 1993What does the BROKEN_ONE_BYTE_DIRENT_D_NAME line in your config.h say? -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
It's commented out. Mike /* Define in your struct dirent expects you to allocate extra space for d_name */ /* #undef BROKEN_ONE_BYTE_DIRENT_D_NAME */ -----Original Message----- From: Tim Rice [mailto:tim at multitalents.net] Sent: Wednesday, October 08, 2003 6:05 PM To: Lee-Lun, Michael [IT] Cc: openssh-unix-dev at mindrot.org Subject: RE: openssh-3-7-1p2: sftp issue from Cygwin Build On Wed, 8 Oct 2003, Lee-Lun, Michael [IT] wrote:> Anyone have any problems with sftp-server on 3.7.1p2? When I sftp tothe> server i get this when I do an ls -l: > > sftp> ls -l > ?-w-rwxrwx 0 1 16832 3 Oct 26 1993What does the BROKEN_ONE_BYTE_DIRENT_D_NAME line in your config.h say? -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
I get the same results after recompile. Mike -----Original Message----- From: Tim Rice To: Lee-Lun, Michael [IT] Cc: openssh-unix-dev at mindrot.org Sent: Oct 9, 2003 6:01p Subject: RE: openssh-3-7-1p2: sftp issue from Cygwin Build On Thu, 9 Oct 2003, Lee-Lun, Michael [IT] wrote:> It's commented out. > > Mike > > /* Define in your struct dirent expects you to allocate extra space for > d_name */ > /* #undef BROKEN_ONE_BYTE_DIRENT_D_NAME */Try #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net