This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
procps
Watch
1
Star
0
Fork
0
You've already forked procps
Code
Issues
Pull Requests
Packages
Releases
Activity
2c89119668
procps
/
lib
/
.gitignore
7 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
build-sys: use dist-xz Even as conservative project as coreutils has switched to xz distributions so neither should we have any reason to use gz and waste space & bandwidth. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-01-09 02:39:50 +05:30
.dirstamp
A locale-independent strtod There is a need in some utilities to have a way of accepting both types of decimal points "." and ",". The only way seems to be to rebuild strtod(). This new function will accept "123.456" and "123,456" as 123.456 and considers them the same number. It means we lose thousands separator, but this is rarely used. test scripts are added to check the function returns the proper values. There was simpler predecessor that got stuck on negative 0 or -0.123 which these tests flushed out. References:
2016-03-03 15:54:08 +05:30
*.trs
lib: add fileutils file with stream error checking facility The close_stream() is copied from GNU lib. Inspiration to do this is talk by Jim Meyering - Goodbye World! The perils of relying on output streams in C. Reference: http://www.irill.org/events/ghm-gnu-hackers-meeting/videos/jim-meyering-goodbye-world-the-perils-of-relying-on-output-streams-in-c Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-23 15:40:04 +05:30
test_fileutils
Create test process For the test suite, procps used to use sleep which would just create a process or two to test the tools against. Some setups coreutils creates all programs including sleep into one blob which means a lot of the tests fail, see issue #2 procps has its own sleep program now.
2015-06-13 10:34:31 +05:30
test_process
lib: add strtol into utility library The utility library is for functions which are shared in commands, but that does not belong to libproc-ng. The first function is a wrapper for strtol that performs error checking, and exists if such happen. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-10-19 00:24:30 +05:30
test_strutils
A locale-independent strtod There is a need in some utilities to have a way of accepting both types of decimal points "." and ",". The only way seems to be to rebuild strtod(). This new function will accept "123.456" and "123,456" as 123.456 and considers them the same number. It means we lose thousands separator, but this is rarely used. test scripts are added to check the function returns the proper values. There was simpler predecessor that got stuck on negative 0 or -0.123 which these tests flushed out. References:
2016-03-03 15:54:08 +05:30
test_strtod_nol
Reference in New Issue
Copy Permalink