Windows: set sizeof(sun_path) to 260 (MAX_PATH).
authorBruce Cran <bcran@fusionio.com>
Tue, 15 Apr 2014 00:33:22 +0000 (18:33 -0600)
committerJens 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

index b9ea63016c2ac73c18670d222628e171458777f4..e418c6dd9d14eff5fc08f3a3ad7a71154bf0f4e8 100644 (file)
@@ -7,7 +7,7 @@ typedef int in_port_t;
  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 */