Bugzilla – Attachment 124 Details for
Bug 321
configure does not work when cross compiling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sftp-glob.c diff
sftp-glob.c.diff (text/plain), 616 bytes, created by
Bryan Chua
on 2002-06-29 11:00:40 AEST
(
hide
)
Description:
sftp-glob.c diff
Filename:
MIME Type:
Creator:
Bryan Chua
Created:
2002-06-29 11:00:40 AEST
Size:
616 bytes
patch
obsolete
>--- openssh-3.4p1/sftp-glob.c Tue Feb 12 19:10:33 2002 >+++ openssh-3.4p1.ayr/sftp-glob.c Fri Jun 28 14:02:44 2002 >@@ -78,12 +78,9 @@ > * Solaris defines dirent->d_name as a one byte array and expects > * you to hack around it. > */ >-#ifdef BROKEN_ONE_BYTE_DIRENT_D_NAME >- strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); >-#else > strlcpy(ret->d_name, od->dir[od->offset++]->filename, >- sizeof(ret->d_name)); >-#endif >+ (sizeof(ret->d_name) <= sizeof(char))? >+ MAXPATHLEN: sizeof(ret->d_name)); > #ifdef __GNU_LIBRARY__ > /* > * Idiot glibc uses extensions to struct dirent for readdir with
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 321
:
123
|
124
|
655
|
656
|
657
|
710