Merge pull request #2352 from WardF/macos_gh2349.wif

Removed precision fiddling on OSX
This commit is contained in:
Ward Fisher 2022-05-19 13:44:34 -06:00 committed by GitHub
commit 1e637c677d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -576,6 +576,7 @@ NC_rcfile_insert(const char* key, const char* value, const char* hostport, const
if(rc == NULL) {
rc = nclistnew();
globalstate->rcinfo->entries = rc;
if(rc == NULL) {ret = NC_ENOMEM; goto done;}
}
entry = rclocate(key,hostport,path);
@ -1052,7 +1053,7 @@ NC_authgets3profile(const char* profilename, struct AWSprofile** profilep)
int stat = NC_NOERR;
int i = -1;
NCglobalstate* gstate = NC_getglobalstate();
for(i=0;i<nclistlength(gstate->rcinfo->s3profiles);i++) {
struct AWSprofile* profile = (struct AWSprofile*)nclistget(gstate->rcinfo->s3profiles,i);
if(strcmp(profilename,profile->name)==0)

View File

@ -11,10 +11,7 @@ PARAMS="[log]"
OCLOGFILE=/dev/null
# Reduce the precision
if test "x$FP_ISOSX" != x ; then
DUMPFLAGS="-p7,14"
fi
DUMPFLAGS=
# Locate directories
testdata3="${srcdir}/testdata3"