Hisham Muhammad
0fa03322a9
Dynamically adjust the size of line reads
...
* Dynamically adjust the size of line reads.
* Remove some more uses of fgets with arbitrary sizes.
* Fix reading of lines and width of n column.
Fixes #514 .
10 years ago
Hisham
5db1b0e9a0
Remove extra checks made redundant by XAlloc.
10 years ago
Hisham
b54d2dde40
Check for failure in allocations.
10 years ago
Michael McConville
a9a5a539cf
(Very) initial working OpenBSD port
11 years ago
Michael McConville
445222e48c
Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style
11 years ago
Hisham Muhammad
3e93f9b852
Fix comment.
11 years ago
David Hunt
5e602f18d5
Rename String to StringUtils.
...
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>.
From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001
From: David Hunt <dhunt@iolanthe.attlocal.net>
Date: Sat, 11 Jul 2015 20:56:31 -0500
Subject: [PATCH 1/8] Rename String to StringUtils
11 years ago
Hisham Muhammad
2f0a4b3d3a
Test realloc failure to make cppcheck happy
12 years ago
Hisham Muhammad
cd692f27f4
There was a bug in my implementaion. No reason not to use the glibc version.
12 years ago
Hisham Muhammad
571ae33bb4
Fix warning on ARM processors.
...
Thanks to Kelly Anderson.
14 years ago
Hisham Muhammad
45f7a4fc8d
Remove old memory debugging routines. We have Valgrind nowadays.
14 years ago
Hisham Muhammad
84281bdc44
major header cleanup
14 years ago
Hisham Muhammad
81e44312b4
Use strdup explicitly
14 years ago
Hisham Muhammad
27b470e10d
Don't simply trust that string splits were successful...
15 years ago
Hisham Muhammad
300caa076e
Tempus fugit.
15 years ago
Hisham Muhammad
a600d5a6e9
Tempus fugit.
16 years ago
Hisham Muhammad
02a30bfecd
warning fixes
16 years ago
Hisham Muhammad
11931f1bc8
ACPI Battery meter
...
contributed by Ian Hands
18 years ago
Hisham Muhammad
da23c8c5a1
Clean up headers by using 'static' whenever possible.
...
Reduces resulting code size.
18 years ago
Hisham Muhammad
b10821aae9
--sort-key flag in the command-line, overriding the
...
saved setting in .htoprc for the session.
(thanks to Rodolfo Borges)
20 years ago
Hisham Muhammad
5d48ab8c28
Performance improvement hackathon: improve process comparison routines,
...
disable useless code in release builds such as runtime type-checking on
dynamic data structures and process fields that are not being computed,
faster(?) method for verifying the process owner (still need to ensure
correctness), don't destroy and create process objects for hidden kernel
threads over and over. Phew. I shouldn't be doing all this today, but I
could not resist.
20 years ago
Hisham Muhammad
d6231bab89
Initial import.
20 years ago