|
Last change
on this file was
18440,
checked in by westram, 6 years ago
|
- warn if any path used in ARB does contain spaces (too error-prone)
- added helper functions into CORE
- warn about unwanted chars
- in result from getenv_executable(), getenv_existing_directory(), getenv_autodirectory(), GB_find_executable().
- in path of sina executable and of pigz used in ARB_zfopen().
|
|
File size:
798 bytes
|
| Line | |
|---|
| 1 | /* This file is generated by aisc_mkpt. |
|---|
| 2 | * Any changes you make here will be overwritten later! |
|---|
| 3 | */ |
|---|
| 4 | |
|---|
| 5 | #ifndef ARB_MISC_H |
|---|
| 6 | #define ARB_MISC_H |
|---|
| 7 | |
|---|
| 8 | /* define ARB attributes: */ |
|---|
| 9 | #ifndef ATTRIBUTES_H |
|---|
| 10 | # include <attributes.h> |
|---|
| 11 | #endif |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | /* arb_misc.cxx */ |
|---|
| 15 | |
|---|
| 16 | #ifndef _GLIBCXX_CSTDLIB |
|---|
| 17 | #include <cstdlib> |
|---|
| 18 | #endif |
|---|
| 19 | |
|---|
| 20 | const char *GBS_readable_size(unsigned long long size, const char *unit_suffix); |
|---|
| 21 | const char *GBS_readable_timediff(size_t seconds); |
|---|
| 22 | const char *ARB_float_2_ascii(const float f); |
|---|
| 23 | const char *ARB_getenv_ignore_empty(const char *envvar); |
|---|
| 24 | char *ARB_executable(const char *exe_name, const char *path); |
|---|
| 25 | char ARB_path_contains_unwanted_chars(const char *path); |
|---|
| 26 | void ARB_warn_about_unwanted_chars(const char *path, const char *path_description); |
|---|
| 27 | |
|---|
| 28 | #else |
|---|
| 29 | #error arb_misc.h included twice |
|---|
| 30 | #endif /* ARB_MISC_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.