"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mk/make-config.sh" between
s-nail-14.9.21.tar.xz and s-nail-14.9.22.tar.xz

About: S-nail is a mail processing system intended to provide the functionality of the POSIX mailx command and offers extensions for line editing, IDNA, MIME, S/MIME, SMTP and POP3 (and IMAP). It is usable as a mail batch language.

make-config.sh  (s-nail-14.9.21.tar.xz):make-config.sh  (s-nail-14.9.22.tar.xz)
skipping to change at line 1070 skipping to change at line 1070
for(; j != 0; --j){ for(; j != 0; --j){
us = tolower(ua[j]) us = tolower(ua[j])
if(us == "all" || us == "any") if(us == "all" || us == "any")
exit 0 exit 0
} }
exit 1 exit 1
} }
'; then '; then
eval "${1}"=\"${2}\" eval "${1}"=\"${2}\"
else else
# Enfore lowercase also in otherwise unchanged user value.. # Enforce lowercase also in otherwise unchanged user value..
eval "${1}"=\""`echo ${__expo__} | ${tr} '[A-Z]_' '[a-z]-'`"\" eval "${1}"=\""`echo ${__expo__} | ${tr} '[A-Z]_' '[a-z]-'`"\"
fi fi
return 0 return 0
} }
oneslash() { oneslash() {
</dev/null ${awk} -v X="${1}" ' </dev/null ${awk} -v X="${1}" '
BEGIN{ BEGIN{
i = match(X, "/+$") i = match(X, "/+$")
if(RSTART != 0) if(RSTART != 0)
skipping to change at line 2026 skipping to change at line 2026
# include <errno.h> # include <errno.h>
int main(void){ int main(void){
int fds[2]; int fds[2];
if(!pipe2(fds, O_CLOEXEC) || errno != ENOSYS) if(!pipe2(fds, O_CLOEXEC) || errno != ENOSYS)
return 0; return 0;
return 1; return 1;
} }
! !
if run_check close_range 'close_range(2)' '#define mx_HAVE_CLOSE_RANGE
#define mx_CLOSE_RANGE_FUN(LO,HI) close_range(LO, HI, 0)
#define mx_CLOSE_RANGE_H <unistd.h>' <<\!
#include <unistd.h>
# include <errno.h>
int main(void){
int fds[2];
if(!close_range(3, ~0u, 0) || errno != ENOSYS)
return 0;
return 1;
}
!
then
:
elif link_check close_range 'close_range(2) (via syscall(2)' \
'#define mx_HAVE_CLOSE_RANGE
#define mx_CLOSE_RANGE_FUN(LO,HI) syscall(SYS_close_range, LO, HI, 0)
#define mx_CLOSE_RANGE_H <sys/syscall.h>' <<\!
#include <sys/syscall.h>
int main(void){
syscall(SYS_close_range, 3, ~0u, 0);
return 0;
}
!
then
:
elif link_check closefrom 'closefrom(2)' '#define mx_HAVE_CLOSEFROM' << \!
#include <unistd.h>
int main(void){
closefrom(3);
return 0;
}
!
then
:
fi
link_check tcgetwinsize 'tcgetwinsize(3)' '#define mx_HAVE_TCGETWINSIZE' << \! link_check tcgetwinsize 'tcgetwinsize(3)' '#define mx_HAVE_TCGETWINSIZE' << \!
#include <termios.h> #include <termios.h>
int main(void){ int main(void){
struct winsize ws; struct winsize ws;
tcgetwinsize(0, &ws); tcgetwinsize(0, &ws);
return 0; return 0;
} }
! !
 End of changes. 2 change blocks. 
39 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)