Re: [hackers] [slstatus][PATCH] added comment for temp function (openbsd)

2018-05-17 Thread Aaron Marcher

Tobias,

Somehow the patch failes to apply with `git am` with the message "git 
diff header lacks filename information when removing 1 leading 
pathname component". I would like to avoid applying it using "git 
apply" as this strips you as the author. Could you resend it again?


I read the patch again now and somehow a line was wrong:

diff --git config.def.h config.def.h

Instead it should be:

diff --git a/config.def.h b/config.def.h


Changed that, applied and pushed. Thank you.

Regards,
Aaron

--
Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
GPG: 0x7A65E38D55BE96FE
Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE



Re: [hackers] [slstatus][PATCH] added comment for temp function (openbsd)

2018-05-17 Thread Aaron Marcher

Tobias,

Thank you for the small change.
Somehow the patch failes to apply with `git am` with the message "git 
diff header lacks filename information when removing 1 leading pathname 
component". I would like to avoid applying it using "git apply" as this 
strips you as the author. Could you resend it again?


As a side note, please try to separate the commit message and the email 
message in the patches you send to the mailing list. For the last 
patches I always had to modify the message with `git commit --amend` as 
it should not contain your intended message for the list.


Cheers!
Aaron

--
Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
GPG: 0x7A65E38D55BE96FE
Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE



[hackers] [slstatus][PATCH] added comment for temp function (openbsd)

2018-05-17 Thread Tobias Tschinkowitz
---
 config.def.h | 1 +
 1 file changed, 1 insertion(+)

diff --git config.def.h config.def.h
index ef64b16..00796c6 100644
--- config.def.h
+++ config.def.h
@@ -43,6 +43,7 @@ static const char unknown_str[] = "n/a";
  * swap_usedused swap in GB NULL
  * temp temperature in degree celsius   sensor file
  *  
(/sys/class/thermal/...)
+ *  NULL on OpenBSD
  * uid  UID of current user NULL
  * uptime   system uptime   NULL
  * username username of current userNULL
-- 
2.16.2