src/setmode.c


Log

Author Commit Date CI Message
Guillem Jover a14612d9 2022-08-23T23:49:34 setmode: Dot not use saveset after free While we are only doing a pointer difference and not dereferencing it, it's easier and more correct to do the pointer difference before passing it to reallocarray(). Warned-by: gcc
Guillem Jover 8e8834d8 2017-06-14T02:53:35 Remove RCSID tags These are obsolete markers, and in some cases they repeat the information already present in the comment header.
Guillem Jover 32388fe5 2014-11-03T23:21:52 Use reallocarray() instead of malloc() or realloc()
Guillem Jover 96a2dae3 2013-05-25T15:31:45 Update setmode module from NetBSD Merge some interesting changes.
Guillem Jover ad52f2eb 2008-07-12T07:55:57 Use sigprocmask instead of _sigprocmask
Guillem Jover 38829bdc 2008-07-09T09:07:03 Add new setmode and getmode functions from FreeBSD