Commit Graph

77 Commits

Author SHA1 Message Date
f7b307bb34
update (c) 2022-09-24 13:49:53 +03:00
Hiltjo Posthuma
d9bda20849 fix undefined behaviour of using isspace ctype function
cast all ctype(3) functions argument to (unsigned char) to avoid UB

POSIX says:
"The c argument is an int, the value of which the application shall ensure is a
character representable as an unsigned char or equal to the value of the macro
EOF. If the argument has any other value, the behavior is undefined."

Many libc cast implicitly the value, but NetBSD for example does not, which is
probably the correct thing to interpret it.
2021-05-06 01:09:21 +02:00
Hiltjo Posthuma
ec293427a0 fix include: include sys/select.h for select(2) and FD_(ZERO|SET)
Reported by nonterminal on IRC, thanks!
2020-10-11 14:51:35 +02:00
Anselm R Garbe
9bb34de449 added Joerg Jung's pledge patch 2017-03-18 19:24:55 +01:00
Anselm R Garbe
7f0141bbe9 applied Troels unbuffer stdin patch, thanks 2014-12-22 11:34:35 +01:00
Anselm R Garbe
6703fe4592 applied 3 additional patches by Dimitris 2014-11-14 16:06:28 +01:00
Anselm R Garbe
5eaa0fff0d applied Eric's follow up patch 2014-11-12 11:18:50 +01:00
Anselm R Garbe
f87d3f5bef applied Eric's config.def.h patch 2014-11-02 09:23:48 +01:00
anselm@garbe.us
bade9ccb6c reversed the -u switch 2012-02-05 16:47:38 +01:00
garbeam@gmail.com
2831ca36c3 applied Quentin Carbonneaux's user patch 2012-01-22 18:27:17 +01:00
Anselm R Garbe
efb5435694 applied Dimitris patches, thanks 2011-03-06 07:37:21 +00:00
Anselm R Garbe
75d42255f2 applied anonymous cleanup patch, thanks anonymous! 2010-04-17 11:12:54 +01:00
Anselm R Garbe
dad75aa6ba removed debug line 2010-03-23 18:00:37 +00:00
anselm@garbe.us
d78d10d1a1 bugfix 2010-03-22 13:29:33 +00:00
Anselm R Garbe
1a4256ef71 merged kris' changes into mainstream sic 2009-11-28 12:16:35 +00:00
Anselm R Garbe
9c7027fcbf applied clamiax' patch for null messages 2009-10-30 09:34:59 +00:00
Anselm R Garbe
261dc71e58 applied portions of Mark Edgars patch 2009-09-23 14:21:03 +01:00
Anselm R Garbe
4a4f924fee applied Martin Kopta's splint patch 2009-08-07 08:37:09 +01:00
Anselm R Garbe
b3ed5f414f thanks to Matthias-Christian Ott for this hint 2009-02-21 19:14:13 +00:00
a@null
ca6ba9a64a applied Jeroen Schot's patch 2009-02-14 11:53:47 +00:00
a@null
f3827eec2a applied Matthias-Christian Ott's remark about trailing newlines 2009-02-14 11:42:45 +00:00
anselm@aab
8a58b25cb7 updated sic 2008-07-06 13:29:19 +01:00
Anselm R. Garbe
5463bed7ed updating copyright notice in sic as well 2007-04-13 11:50:51 +02:00
Anselm R. Garbe
82946e102d setting the topic must not be supported, its a trivial IRC command (*and rarely used btw*) 2007-02-13 16:14:52 +01:00
arg@suckless.org
7ef7529687 I believe I have fixed the issue, why sic didn't handled PINGs correctly 2007-02-13 16:06:28 +01:00
Anselm R. Garbe
1160be7ffa removed fullname, added support for tracking NICK changes 2007-02-09 16:16:06 +01:00
Anselm R. Garbe
75f0af7c42 added eprint() 2007-02-09 16:04:49 +01:00
Anselm R. Garbe
81238e16fe consistency patch 2007-02-09 15:40:58 +01:00
Anselm R. Garbe
60fc462aa9 changing the special command operator 2007-02-09 15:18:08 +01:00
Anselm R. Garbe
9b093ac5c6 removed debug output 2007-02-09 15:04:57 +01:00
Anselm R. Garbe
264f8e9422 changed output 2007-02-09 15:02:56 +01:00
Anselm R. Garbe
fe1e3560be small fix 2007-02-09 14:42:40 +01:00
Anselm R. Garbe
1edd94af86 some changes 2007-02-09 14:40:11 +01:00
Anselm R. Garbe
a3abf3b3ef Don't use sic's hg tip, it is broken atm... 2007-02-08 20:42:29 +01:00
Anselm R. Garbe
e3cbbe71c2 adding debug support 2007-02-08 15:32:51 +01:00
Anselm R. Garbe
93842a5fe0 fixed part message 2007-02-08 15:10:47 +01:00
Anselm R. Garbe
1f1228547c small fix 2007-02-08 15:10:10 +01:00
Anselm R. Garbe
ea71b6e88e small fix, don't write message to server if channel is not given 2007-02-08 15:03:42 +01:00
Anselm R. Garbe
cb68ce9e2c some more simplifications 2007-02-08 14:51:04 +01:00
Anselm R. Garbe
5569a14e8e testing some simplifications 2007-02-08 14:27:39 +01:00
Anselm R. Garbe
2e945e48fb small changes, bigger simplifications are on its way 2007-02-06 16:42:17 +01:00
Anselm R. Garbe
0a903a0c79 using Tcmd successors more carefully 2007-01-31 11:01:34 +01:00
Anselm R. Garbe
44e0417e14 applied some segfault patches of Adrien Krunch Kunysz (thanks to Adrien!) 2007-01-11 11:35:02 +01:00
arg@mig29
f8d2e7f236 fixed sizeof stuff 2006-11-26 15:53:33 +01:00
arg@mig29
73e181ce5b fixed a small grammar typo 2006-11-09 17:37:57 +01:00
arg@mig29
9197fee8a9 new time info 2006-11-03 14:32:05 +01:00
Anselm R. Garbe
fe306465d0 same problem in sic as in dmenu 2006-10-23 10:56:06 +02:00
Anselm R. Garbe
3160fd2bed hotfix 2006-10-12 08:03:37 +02:00
Anselm R. Garbe
560111d4ba hotfix 2006-10-11 18:23:03 +02:00
Anselm R. Garbe
516c1cafaf fixed arg processing 2006-10-09 07:26:24 +02:00