projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7d8ea97
)
Windows: set sizeof(sun_path) to 260 (MAX_PATH).
author
Bruce Cran
<bcran@fusionio.com>
Tue, 15 Apr 2014 00:33:22 +0000
(18:33 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 15 Apr 2014 02:19:54 +0000
(20:19 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
os/windows/posix/include/sys/un.h
patch
|
blob
|
blame
|
history
diff --git
a/os/windows/posix/include/sys/un.h
b/os/windows/posix/include/sys/un.h
index b9ea63016c2ac73c18670d222628e171458777f4..e418c6dd9d14eff5fc08f3a3ad7a71154bf0f4e8 100644
(file)
--- a/
os/windows/posix/include/sys/un.h
+++ b/
os/windows/posix/include/sys/un.h
@@
-7,7
+7,7
@@
typedef int in_port_t;
struct sockaddr_un
{
sa_family_t sun_family; /* Address family */
struct sockaddr_un
{
sa_family_t sun_family; /* Address family */
- char sun_path[]; /* Socket pathname */
+ char sun_path[
260
]; /* Socket pathname */
};
#endif /* SYS_UN_H */
};
#endif /* SYS_UN_H */