From 7202b047897d0a863b6c4d0c69f5b78a4c4074b6 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Fri, 25 May 2012 17:16:20 -0500 Subject: [PATCH] Fix varying string struct for VMS's home-grown glob. We were only using 4K, not 64K, and we were requesting longword alignment but not providing a struct size that was a multiple of 4. --- vms/vms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vms/vms.c b/vms/vms.c index eda8c30..cee83bb 100644 --- a/vms/vms.c +++ b/vms/vms.c @@ -196,7 +196,8 @@ struct filescan_itmlst_2 { struct vs_str_st { unsigned short length; - char str[65536]; + char str[VMS_MAXRSS]; + unsigned short pad; /* for longword struct alignment */ }; #ifdef __DECC -- 1.8.3.1