summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--contrib/cygwin/ssh-user-config6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f6067e8a0..2c4129e3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120090729
2 - (tim) [contrib/cygwin/ssh-user-config] Change script to call correct error
3 function. Patch from Corinna Vinschen.
4
120090713 520090713
2 - (dtucker) [openbsd-compat/getrrsetbyname.c] Reduce answer buffer size so it 6 - (dtucker) [openbsd-compat/getrrsetbyname.c] Reduce answer buffer size so it
3 fits into 16 bits to work around a bug in glibc's resolver where it masks 7 fits into 16 bits to work around a bug in glibc's resolver where it masks
diff --git a/contrib/cygwin/ssh-user-config b/contrib/cygwin/ssh-user-config
index 303aef0bb..f1a001a93 100644
--- a/contrib/cygwin/ssh-user-config
+++ b/contrib/cygwin/ssh-user-config
@@ -130,14 +130,14 @@ check_user_homedir() {
130 pwdhome=$(awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd) 130 pwdhome=$(awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd)
131 if [ "X${pwdhome}" = "X" ] 131 if [ "X${pwdhome}" = "X" ]
132 then 132 then
133 csih_error_multiline \ 133 csih_error_multi \
134 "There is no home directory set for you in ${SYSCONFDIR}/passwd." \ 134 "There is no home directory set for you in ${SYSCONFDIR}/passwd." \
135 'Setting $HOME is not sufficient!' 135 'Setting $HOME is not sufficient!'
136 fi 136 fi
137 137
138 if [ ! -d "${pwdhome}" ] 138 if [ ! -d "${pwdhome}" ]
139 then 139 then
140 csih_error_multiline \ 140 csih_error_multi \
141 "${pwdhome} is set in ${SYSCONFDIR}/passwd as your home directory" \ 141 "${pwdhome} is set in ${SYSCONFDIR}/passwd as your home directory" \
142 'but it is not a valid directory. Cannot create user identity files.' 142 'but it is not a valid directory. Cannot create user identity files.'
143 fi 143 fi
@@ -303,7 +303,7 @@ done
303# Check passwd file 303# Check passwd file
304if [ ! -f ${SYSCONFDIR}/passwd ] 304if [ ! -f ${SYSCONFDIR}/passwd ]
305then 305then
306 csih_error_multiline \ 306 csih_error_multi \
307 "${SYSCONFDIR}/passwd is nonexistant. Please generate an ${SYSCONFDIR}/passwd file" \ 307 "${SYSCONFDIR}/passwd is nonexistant. Please generate an ${SYSCONFDIR}/passwd file" \
308 'first using mkpasswd. Check if it contains an entry for you and' \ 308 'first using mkpasswd. Check if it contains an entry for you and' \
309 'please care for the home directory in your entry as well.' 309 'please care for the home directory in your entry as well.'