aboutsummaryrefslogtreecommitdiffstats
path: root/src/profstats/main.c
Commit message (Collapse)AuthorAge
* Fix inconsistent leading spacesLibravatar Kelvin M. Klann2023-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Fix spaces being used for indentation in some lines in C * Remove leading spaces before some goto labels * Remove leading spaces before the start of some multiline comments * Change leading spaces to tabs in some multiline macros * Add missing asterisk to some multiline comments (to match other multiline comments and because they are false positives in the commands below) Note: Leading spaces can be used for alignment (such as in function parameters and function arguments in C) and for line continuation (such as in long commands in shell scripts). However, in the above changes the leading spaces are used for other reasons and do not seem to fit with the style used. Commands used to search for errors: $ git grep -In '^ [^*]' | grep -E -v \ -e '(COPYING|README|RELNOTES|configure(.ac)?):' \ -e '^[^:]+.(md|yml|py):' -e '(bash|zsh)_completion/' \ -e '^contrib/syntax/' -e '^etc/templates/.*\.txt:' -e '^m4/' \ -e '^platform/debian/' -e '^src/man/.*\.txt:' \ -e '.*mkrpm.sh:' -e '.*extract_errnos.sh:'
* Fix space before/after tab in indentLibravatar Kelvin M. Klann2023-02-20
| | | | | | | | | | | | | | | | | | | | This fixes all of the "space before tab in indent" errors raised by git: $ git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904..HEAD | grep '^[^+]' | cut -f 3 -d : | LC_ALL=C sort | uniq -c 72 space before tab in indent. Commands used to find the errors: $ git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904..HEAD $ git grep -In "$(printf '\t') " Note: Unlike "space before tab in indent", the reverse ("space after tab in indent") is not reported by git. That is because spaces could be intentionally used for alignment or line continuation, but in some cases they are being used for indentation together with tabs and in others the formatting is misaligned. The second command was used to help find and fix these other issues.
* Update copyright to 2023 (#5664)Libravatar David Fetter2023-02-15
|
* restrict-namespaces statsLibravatar netblue302022-12-26
|
* disabled private-lib in /etc/firejail/firejail.configLibravatar netblue302022-06-23
|
* 2022 copyright updateLibravatar netblue302022-01-07
|
* profstats fix (#4733)Libravatar netblue302021-12-10
|
* profstats: Fix whitespace on license noticeLibravatar Kelvin M. Klann2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | This amends commit ebe4c93f2 ("profstats cleanup", 2021-12-01) / #4730. This is the second paragraph verbatim of one of the GPL license notices recommended by GNU[1]: This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On all but one (external) file (and on src/profstats/main.c), the notice uses the same spacing: $ git grep -I -F 'FITNESS FOR A PARTICULAR PURPOSE. See' | wc -l 156 $ git grep -I -F 'FITNESS FOR A PARTICULAR PURPOSE. See' m4/ax_check_compile_flag.m4:# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General src/profstats/main.c: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [1] https://www.gnu.org/licenses/gpl-howto.en.html
* profstats cleanupLibravatar glitsj162021-12-01
|
* more profstatsLibravatar netblue302021-11-30
|
* install profstats in /etc/firejail directory - undocumented, used only for ↵Libravatar netblue302021-11-30
| | | | development
* more --buildLibravatar netblue302021-05-12
|
* Update main.cLibravatar pholodniak2021-04-15
| | | profstats - correct variable for include global
* copyright updateLibravatar startx20172021-02-15
|
* fix #3914Libravatar netblue302021-01-24
|
* profstatsLibravatar netblue302021-01-24
|
* profstats - add count for whitelisted home dir, dbus-user noneLibravatar netblue302020-10-02
|
* profstats: track dbus-system noneLibravatar netblue302020-09-08
|
* small fixesLibravatar netblue302020-04-21
|
* cleanup, fixes, more profstatsLibravatar netblue302020-04-06
|
* fixing my previous commitLibravatar netblue302020-04-05
|
* profile fixesLibravatar netblue302020-04-04
|
* misc fixes & hardeningLibravatar rusty-snake2020-04-03
|
* profstatsLibravatar netblue302020-04-01
|
* fix profstats to print warning for nonexistent include filesLibravatar netblue302020-03-22
|
* profile statsLibravatar netblue302020-03-19