Skip to content

Commit

Permalink
Merge pull request #2352 from WardF/macos_gh2349.wif
Browse files Browse the repository at this point in the history
Removed precision fiddling on OSX
  • Loading branch information
WardF authored May 19, 2022
2 parents 8c6ab4b + defa153 commit 1e637c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion libdispatch/drc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down
5 changes: 1 addition & 4 deletions ncdap_test/tst_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1e637c6

Please sign in to comment.