Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename HDsystem() to system() #3197

Merged
merged 3 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/H5private.h
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,6 @@ H5_DLL H5_ATTR_CONST int Nflock(int fd, int operation);
#ifndef HDsymlink
#define HDsymlink(F1, F2) symlink(F1, F2)
#endif
#ifndef HDsystem
#define HDsystem(S) system(S)
#endif
#ifndef HDtime
#define HDtime(T) time(T)
#endif
Expand Down
4 changes: 2 additions & 2 deletions tools/test/perform/iopipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ synchronize(void)
#else
int H5_ATTR_NDEBUG_UNUSED status;

status = HDsystem("sync");
status = system("sync");
assert(status >= 0);

status = HDsystem("df >/dev/null");
status = system("df >/dev/null");
assert(status >= 0);
#endif
}
Expand Down