Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:staging
mailx
mailx-usr-etc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mailx-usr-etc.patch of Package mailx
diff -ur a/main.c b/main.c --- a/main.c 2023-12-05 09:54:32.727382197 +0100 +++ b/main.c 2023-12-06 11:07:50.176112126 +0100 @@ -454,8 +454,15 @@ input = stdin; rcvmode = !to && !tflag; spreserve(); - if (!nosrc) - load(PATH_MASTER_RC); + if (!nosrc) { +#ifdef DISTCONFMAILRC + struct stat st; + if (stat(PATH_MASTER_RC, &st) < 0) + load(DISTCONFMAILRC); + else +#endif + load(PATH_MASTER_RC); + } /* * Expand returns a savestr, but load only uses the file name * for fopen, so it's safe to do this. diff -ur a/Makefile b/Makefile --- a/Makefile 2023-12-05 09:54:32.727382197 +0100 +++ b/Makefile 2023-12-06 11:08:00.418064025 +0100 @@ -60,7 +60,7 @@ ########################################################################### ########################################################################### -FEATURES = $(IPv6) +FEATURES = $(IPv6) $(DISTCONF) OBJ = aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o \ dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor