commit 82374bcf6d35f6b05412382b8e51e1202ce4379b
Author: Mikhail Pchelin
AuthorDate: Tue Jan 21 20:28:42 2025 +0300
Commit: Hiltjo Posthuma
CommitDate: Thu Jan 23 14:22:51 2025 +0100
focus(): clear XUrgencyHint from the container window
diff --git a/tabbed.c b/tabbed.c
index e5664aa
. This is most likely
an application bug, not a window manager bug. The window has
title="0:2:vim - "hostname" " class="tabbed" name="tabbed"
diff --git a/tabbed.c b/tabbed.c
index 81be5e4..e5664aa 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -1264,7 +1264,
commit bb367fd6c7a05bd60112ade77098b943a3ed62ef
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 19 16:20:39 2024 +0100
Move more things around
diff --git a/ubase/fallocate.1 b/linux/fallocate.1
commit 7c207664f8acba7228cf7b9234fded698e07ed84
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 19 15:38:32 2024 +0100
Move more things around
diff --git a/ubase/mkswap.8 b/linux/mkswap.8
commit 8291582b6ee219c6941dea3de87de1ed3f571636
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 19 16:09:48 2024 +0100
Move more things around
diff --git a/posix/libutil/concat.c b/libutil
commit ca9f7351bbd0f8e6f9aa1cceb3e1910220aff399
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 19 13:40:49 2024 +0100
Move more things around
diff --git a/ubase/libutil/cp.c b/ubase/libutil/cp.c
commit 6591fb94755d9f3c065add8ace0bf3747157
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 19 13:35:08 2024 +0100
Move more things around
diff --git a/ubase/libutil/ealloc.c b/ubase/libutil
commit 91aed23a5d5032b4a820a10bd3ddd6dd3968eefa
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 19 13:30:32 2024 +0100
Move more things around
diff --git a/ubase/libutil/concat.c b/ubase/libutil
6c8dc15 had some problems and it
was really hard to follow the chain of changes, and for that
reason I took the conservative decision of reverting to the
original code.
diff --git a/cron.c b/cron.c
index bd9f247..77304cc 100644
--- a/cron.c
+++ b/cron.c
@@ -17,13 +17,19 @@
#include
PRNG, which is the PCG family.
It also overhauls random_uniform(), making it way faster. Names were
changed (s/random/rng32/g), and reentrant versions added.
The PRNG is faster than libc's random().
It is way faster than the previous version, which used
diff --git a/libutil/ran
). This adds
to libutil a random_uniform function which simply solves the problem of
creating integers uniformly in a range. random_seed seeds the
generator. arc4random would probably be a better PRNG than random, but
it is less portable unfortunately.
diff --git a/Makefile b
need to read then output
lines. We do not need anything more complex than counting '\n's, so
we shouldn't use a buffer like we currently do.
diff --git a/head.c b/head.c
index ae550c0..230ad21 100644
--- a/head.c
+++ b/head.c
@@ -9,15 +9,16 @@
static void
head(FILE *f
es this cron more in line with other interpretations concerning
'~'. In other crons, a random number is picked for the starting field,
and it doesn't change during all of the program's lifetime, whereas this
one used to change its random number everytime it was
umns().
diff --git a/sort.c b/sort.c
index fbb1abf..dd992e0 100644
--- a/sort.c
+++ b/sort.c
@@ -123,11 +123,7 @@ columns(struct line *line, const struct keydef *kd, struct
column *col)
end.len = 1;
}
col->line.len = MAX(0, end.data - start.data);
- if (!(col-&g
d as abnormal.
diff --git a/cron.c b/cron.c
index 2f3cedc..bd9f247 100644
--- a/cron.c
+++ b/cron.c
@@ -254,7 +254,7 @@ parserange(char *str, long low, long high, struct range *r)
errno = 0;
r->low = strtol(strlow, &e, 10);
- if (*e || errno !=
: random fields, using ~. This is a non-standard addition,
but which matches many cron implementations, like OpenBSD's for
instance. Its usefulness is debatable.
diff --git a/cron.1 b/cron.1
index 1cb90a4..fe907f4 100644
--- a/cron.1
+++ b/cron.1
@@ -21,3 +21,11 @@ instead of the d
.
diff --git a/kill.c b/kill.c
index e3751a0..b09f55c 100644
--- a/kill.c
+++ b/kill.c
@@ -18,7 +18,8 @@ struct {
#define SIG(n) { #n, SIG##n }
SIG(ABRT), SIG(ALRM), SIG(BUS), SIG(CHLD), SIG(CONT), SIG(FPE),
SIG(HUP),
SIG(ILL), SIG(INT), SIG(KILL), SIG(PIPE), SIG(QUIT), SIG(SEGV
commit cafdc7c6561f546578e5d7c842149fa242937a42
Author: Elie Le Vaillant
AuthorDate: Fri Dec 6 10:37:41 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Tue Dec 17 11:27:35 2024 +0100
tar: force decompression
decomp() needs the force flag -f too.
diff --git a
, might as well document them.
diff --git a/sed.1 b/sed.1
index 5ccce6d..b7c6098 100644
--- a/sed.1
+++ b/sed.1
@@ -50,16 +50,32 @@ Append the commands from
to the list of editing commands.
.El
.Sh EXTENDED DESCRIPTION
-Editing commands take the form
+Editing commands take the form:
.Pp
[address
commit 20c27b1ad0f2fae65ede721c43f8cb66186d3049
Author: TahaGTRC
AuthorDate: Fri Dec 6 10:37:20 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Tue Dec 17 11:18:06 2024 +0100
tar: fix problem with paths longer than 100 characters
diff --git a/tar.c b/tar.c
index 7529997
commit efd99dad762ac5c64e58e8f2f33f1e7da09f4ded
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Tue Dec 17 10:56:56 2024 +0100
Move more things around
diff --git a/Makefile b/Makefile
new file mode
line.
diff --git a/st.c b/st.c
index 57c6e96..2e3800e 100644
--- a/st.c
+++ b/st.c
@@ -1705,7 +1705,7 @@ csihandle(void)
}
break;
case 1: /* above */
- if (term.c.y > 1)
+ if (term.c.y
commit faed34dbcf349fb1446ad2c40741105a37e5fb25
Author: Hiltjo Posthuma
AuthorDate: Tue Nov 26 18:30:20 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Tue Nov 26 18:30:20 2024 +0100
bump version to 0.4.2
diff --git a/Makefile b/Makefile
index 5940999..4e1f0ff 100644
--- a/Makefile
commit 86f0b5119eaa39943013d009967432ffd9d18365
Author: Hiltjo Posthuma
AuthorDate: Wed Oct 30 13:03:25 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Wed Oct 30 13:03:25 2024 +0100
remove extra newline
diff --git a/dmenu.c b/dmenu.c
index 40f93e0..804da64 100644
--- a/dmenu.c
commit 206fe9b99f01604b10e6d8e5ab52a035712476f0
Author: Hiltjo Posthuma
AuthorDate: Wed Oct 30 13:03:56 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Wed Oct 30 13:03:56 2024 +0100
Avoid unsigned integer underflow in drw_text()
Patch by Raymond Cole , thanks
diff --git a
commit dd3d348ae86065edf2d1e2a1bc920685dc4982fc
Author: Hiltjo Posthuma
AuthorDate: Wed Oct 30 13:02:57 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Wed Oct 30 13:02:57 2024 +0100
Avoid unsigned integer underflow in drw_text()
Patch by Raymond Cole , thanks.
diff --git a
commit cfb8627a80a334f200f68c2c8f3e384313ebbaf5
Author: Raymond Cole
AuthorDate: Mon Oct 28 00:34:55 2024 +
Commit: Hiltjo Posthuma
CommitDate: Wed Oct 30 13:02:17 2024 +0100
Avoid unsigned integer underflow in drw_text()
diff --git a/drw.c b/drw.c
index 344de61..c41e6af 100644
Raymond Cole with some modifications, thanks!
diff --git a/util.c b/util.c
index 96b82c9..8e26a51 100644
--- a/util.c
+++ b/util.c
@@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
+#include
#include
#include
#include
@@ -10,17 +11,17 @@ void
die(const char *fmt
Raymond Cole with some modifications, thanks!
diff --git a/util.c b/util.c
index 96b82c9..8e26a51 100644
--- a/util.c
+++ b/util.c
@@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
+#include
#include
#include
#include
@@ -10,17 +11,17 @@ void
die(const char *fmt
Raymond Cole with some modifications, thanks!
diff --git a/util.c b/util.c
index 96b82c9..8e26a51 100644
--- a/util.c
+++ b/util.c
@@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
+#include
#include
#include
#include
@@ -10,17 +11,17 @@ void
die(const char *fmt
: hazardchem
diff --git a/config.def.h b/config.def.h
index d3864c0..e25e6e8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,8 +8,8 @@ static double repeat_delay = 0.75;
static int scan_rate = 50;
/* one row of keys takes up 1/x of the screen height */
static int heightfactor = 14;
-static int
usage instruction for sbase-box
in sbase's README similar to the one in ubase's README.
Also, There's no command named 'sha238sum' but there is one named
'sha384sum' and in the alphabetized list of commands 'paste' should
come before &
utf8decoding and render invalid utf8 sequences as U+FFFD.
Thanks NRK for these improvements!
diff --git a/drw.c b/drw.c
index a58a2b4..344de61 100644
--- a/drw.c
+++ b/drw.c
@@ -9,54 +9,40 @@
#include "util.h"
#define UTF_INVALID 0xFFFD
-#define UTF_SIZ 4
-static const uns
utf8decoding and render invalid utf8 sequences as U+FFFD.
Thanks NRK for these improvements!
diff --git a/drw.c b/drw.c
index a58a2b4..344de61 100644
--- a/drw.c
+++ b/drw.c
@@ -9,54 +9,40 @@
#include "util.h"
#define UTF_INVALID 0xFFFD
-#define UTF_SIZ 4
-static const uns
h day, year
I applied the following patch to sbase's last commit b30fb56 and
it fixes the issue.
diff --git a/basename.1 b/basename.1
index 27ee983..b69d6b2 100644
--- a/basename.1
+++ b/basename.1
@@ -1,4 +1,4 @@
-.Dd 2015-10-08
+.Dd October 8, 2015
.Dt BASENAME 1
.Os sbase
.Sh
cluster LUTs by ~0.5%.
We now pass all 1187 character tests.
Signed-off-by: Laslo Hunhold
diff --git a/Makefile b/Makefile
index 4789e1c..d768101 100644
--- a/Makefile
+++ b/Makefile
@@ -196,7 +196,7 @@ src/sentence.o: src/sentence.c Makefile config.mk
gen/sentence.h grapheme.h src
commit f01674957f6816d55b8ed1b38a96c4ef5e3120b2
Author: Laslo Hunhold
AuthorDate: Sun Sep 1 14:57:28 2024 +0200
Commit: Laslo Hunhold
CommitDate: Sun Sep 1 14:57:28 2024 +0200
Don't warn about overlength strings in test data
Signed-off-by: Laslo Hunhold
diff --
: Laslo Hunhold
diff --git a/man/libgrapheme.sh b/man/libgrapheme.sh
index b93fa27..99cddae 100644
--- a/man/libgrapheme.sh
+++ b/man/libgrapheme.sh
@@ -85,11 +85,11 @@ points are needed as Unicode's goal is to express all
writing systems
of the world.
To give an example, the abstract char
ade for dmenu[1].
See this issue[2] on github for context.
[1]:
https://git.suckless.org/dmenu/commit/0fe460dbd469a1d5b6a7140d0e1801935e4a923b.html
[2]: https://github.com/phillbush/xfiles/issues/47
diff --git a/x.c b/x.c
index bd23686..d73152b 100644
--- a/x.c
+++ b/x.c
@@
ave a status of his/her memes.
diff --git a/dwmstatus.c b/dwmstatus.c
index 1b53292..7b09973 100644
--- a/dwmstatus.c
+++ b/dwmstatus.c
@@ -211,6 +211,7 @@ main(void)
char *t1;
char *kbmap;
char *surfs;
+ char *memes;
if (!(dpy = XOpen
commit 0c43215d0b1981d1689105122da02b7e994e250a
Author: Tom Schwindl
AuthorDate: Sat Sep 23 22:17:26 2023 +0200
Commit: Jan Klemkow
CommitDate: Sun Jul 14 13:40:21 2024 +0200
lchat: add pledge(2) support
diff --git a/lchat.c b/lchat.c
index 6c57ec4..05274af 100644
--- a/lchat.c
commit a6a8d970dae07920c68bbb4ca3d8020fa8555b46
Author: Jan Klemkow
AuthorDate: Sun Jul 14 13:34:16 2024 +0200
Commit: Jan Klemkow
CommitDate: Sun Jul 14 13:34:16 2024 +0200
Avoid useless use of strdup(3).
diff --git a/lchat.c b/lchat.c
index 0df653d..6c57ec4 100644
--- a/lchat.c
used to
check the behavior before and after the patch:
$ printf "0\xef1234567\ntest" | dmenu
Ref: https://lists.suckless.org/dev/2407/35646.html
diff --git a/drw.c b/drw.c
index eb71da7..f151ae5 100644
--- a/drw.c
+++ b/drw.c
@@ -237,7 +237,8 @@ drw_text(Drw *
commit 475d8093cb8d29d5756937bfa9e0b3b9e415f632
Author: Hiltjo Posthuma
AuthorDate: Sun Jul 14 11:40:20 2024 +0200
Commit: Hiltjo Posthuma
CommitDate: Sun Jul 14 11:43:01 2024 +0200
drw.c: use the same pattern as ellipsis_width to check for infinite
recursion
diff --git a/drw.c b
* report how many bytes to advance on error
these will be useful in the next commit to render invalid utf8
sequences.
the new implementation is also shorter and more direct.
diff --git a/drw.c b/drw.c
index 78a2b27..eb71da7 100644
--- a/drw.c
+++ b/drw.c
@@ -9,54 +9,40
-prototypes for OpenBSD's 16.0.6 Clang.
diff --git a/dwm.c b/dwm.c
index f1d86b2..67c6b2b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1851,7 +1851,7 @@ updatebarpos(Monitor *m)
}
void
-updateclientlist()
+updateclientlist(void)
{
Client *c;
Monitor *m;
always
increased, and has to be released always.
diff --git a/webext-surf.c b/webext-surf.c
index 84191f3..230c71b 100644
--- a/webext-surf.c
+++ b/webext-surf.c
@@ -25,6 +25,7 @@ readsock(GIOChannel *s, GIOCondition c, gpointer unused)
static char js[48], msg[MSGBUFSZ
.
Do a bit of message reassembly.
diff --git a/webext-surf.c b/webext-surf.c
index 230c71b..7063fa7 100644
--- a/webext-surf.c
+++ b/webext-surf.c
@@ -19,61 +19,99 @@
static WebKitWebExtension *webext;
static int sock;
-static gboolean
-readsock(GIOChannel *s, GIOCondition c, gpointer unused
commit b48be75179e5e2839b60f713111a1789b868cede
Author: Quentin Rameau
AuthorDate: Sun Mar 17 08:06:01 2024 +0100
Commit: Quentin Rameau
CommitDate: Sun Mar 17 09:13:56 2024 +0100
Fix message sizes for web extension communication
diff --git a/surf.c b/surf.c
index f35cb05..18d65d7
deprecated since 2.40.
diff --git a/surf.c b/surf.c
index b8b76c9..1515a57 100644
--- a/surf.c
+++ b/surf.c
@@ -973,7 +973,8 @@ evalscript(Client *c, const char *jsstr, ...)
script = g_strdup_vprintf(jsstr, ap);
va_end(ap);
- webkit_web_view_run_javascript(c->view, scr
deprecated
since 2.40.
diff --git a/surf.c b/surf.c
index 72b4933..209120f 100644
--- a/surf.c
+++ b/surf.c
@@ -1664,8 +1664,7 @@ decidenavigation(WebKitPolicyDecision *d, Client *c)
case WEBKIT_NAVIGATION_TYPE_OTHER: /* fallthrough */
default:
/* Do not navigate to
supported
since 2.40.
diff --git a/surf.c b/surf.c
index 1515a57..72b4933 100644
--- a/surf.c
+++ b/surf.c
@@ -1152,10 +1152,6 @@ newview(Client *c, WebKitWebView *rv)
cookiemanager = webkit_web_context_get_cookie_manager(context);
- /* rendering process model, can be
this code can always be brought back if needed.
diff --git a/surf.c b/surf.c
index 209120f..f35cb05 100644
--- a/surf.c
+++ b/surf.c
@@ -189,7 +189,6 @@ static gboolean buttonreleased(GtkWidget *w, GdkEvent *e,
Client *c);
static GdkFilterReturn processx(GdkXEvent *xevent, GdkEvent *
--git a/surf.c b/surf.c
index 86a95f6..b8b76c9 100644
--- a/surf.c
+++ b/surf.c
@@ -847,7 +847,8 @@ setparameter(Client *c, int refresh, ParamName p, const Arg
*a)
case SpellLanguages:
return; /* do nothing */
case StrictTLS
commit 175710126c27f4906218e40ece00abae179a1b44
Author: Quentin Rameau
AuthorDate: Sun Mar 17 06:40:28 2024 +0100
Commit: Quentin Rameau
CommitDate: Sun Mar 17 08:22:18 2024 +0100
Remove frame flattening toggle
This has been deprecated since 2.38.
diff --git a/config.def.h
commit 3f4292b7ccc4d25002a17d9f821ea0274c57098b
Author: Quentin Rameau
AuthorDate: Sun Mar 17 06:47:51 2024 +0100
Commit: Quentin Rameau
CommitDate: Sun Mar 17 08:22:18 2024 +0100
Remove Java support toggle
This has been deprecated since 2.38.
diff --git a/config.def.h b
commit f1d47112d6a9fa1848289a4a48e581992e5f91d7
Author: Quentin Rameau
AuthorDate: Sun Mar 17 08:15:39 2024 +0100
Commit: Quentin Rameau
CommitDate: Sun Mar 17 08:22:17 2024 +0100
Add webkit URI scheme
diff --git a/surf.c b/surf.c
index f8c8dec..2780072 100644
--- a/surf.c
+++ b
olons (standard) or semicolons
(legacy) to separate the subparameters (but after the
first colon, colons must be used).
diff --git a/st.c b/st.c
index b9f66e7..57c6e96 100644
--- a/st.c
+++ b/st.c
@@ -1132,6 +1132,7 @@ csiparse(void)
{
char *p = csiescseq.buf, *np;
long int
commit d63b9eb90245926b531bd54b1d591adb96613e70
Author: Hiltjo Posthuma
AuthorDate: Fri Apr 5 12:18:41 2024 +0200
Commit: Hiltjo Posthuma
CommitDate: Fri Apr 5 12:18:41 2024 +0200
bump version to 0.9.2
diff --git a/config.mk b/config.mk
index 7f35f71..fdc29a7 100644
--- a/config.mk
there should ever be a case where the st
window doesn't have a title property.
diff --git a/x.c b/x.c
index b36fb8c..bd23686 100644
--- a/x.c
+++ b/x.c
@@ -1617,6 +1617,9 @@ xseticontitle(char *p)
XTextProperty prop;
DEFAULT(p, opt_title);
+ if (p[0] == '\0
leep 2 && printf
"\e[D" && sleep 2
After the patch it caused regressions, example test-case:
printf "Aå\bB\n"
diff --git a/st.c b/st.c
index 683493d..b9f66e7 100644
--- a/st.c
+++ b/st.c
@@ -86,8 +86,8 @@ enum escape_state {
typ
() function of ed has
serious problems that have to be solved.
diff --git a/TODO b/TODO
index 6a0968e..575b3d9 100644
--- a/TODO
+++ b/TODO
@@ -57,6 +57,15 @@ ed
.
1g/^$/p
+* cat <
commit 23f879d1dcd82674ce51b1d453eedf4b334ef04f
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Mar 22 04:32:56 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Fri Mar 22 04:32:56 2024 +0100
Move more things around
diff --git a/ubase/blkdiscard.8 b/linux/blkdiscard.8
commit 7215169fbbb1f81c3bad49b847d1e5907f6ab70c
Author: Hiltjo Posthuma
AuthorDate: Tue Mar 19 12:12:32 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Tue Mar 19 12:12:32 2024 +0100
bump version to 0.8
diff --git a/Makefile b/Makefile
index 54ba350..dda3cdb 100644
--- a/Makefile
commit 7be720cc88ed2294338f7182600df10f21c575ce
Author: Hiltjo Posthuma
AuthorDate: Tue Mar 19 12:12:52 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Tue Mar 19 12:12:52 2024 +0100
bump version to 5.3
diff --git a/config.mk b/config.mk
index 566348b..137f7c8 100644
--- a/config.mk
commit 061e9fe9a7db396c0c4f3d996c3908fb43a6d50c
Author: Hiltjo Posthuma
AuthorDate: Tue Mar 19 12:13:16 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Tue Mar 19 12:13:16 2024 +0100
bump version to 6.5
diff --git a/config.mk b/config.mk
index ba64d3d..8efca9a 100644
--- a/config.mk
commit 5ce971628106fb767ef91bf4386227423f5fdf98
Author: Hiltjo Posthuma
AuthorDate: Tue Mar 19 12:13:42 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Tue Mar 19 12:13:42 2024 +0100
bump version to 0.9.1
diff --git a/config.mk b/config.mk
index 1e306f8..7f35f71 100644
--- a
commit f20e169a20f3ee761f7e09714f1d4c10916cf4c6
Author: Hiltjo Posthuma
AuthorDate: Sun Mar 17 14:42:44 2024 +0100
Commit: Hiltjo Posthuma
CommitDate: Sun Mar 17 14:42:44 2024 +0100
config.def.h: improve latency for the default configuration
diff --git a/config.def.h b/config.def.h
commit ba7741a7bc6ebc7e7d90076f69757d93f43d0a34
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Mar 13 12:07:59 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Wed Mar 13 12:07:59 2024 +0100
Move things out of ubase
diff --git a/ubase/chvt.1 b/linux/chvt.1
similarity
commit bbd10e0d3036a40260f41eae445488baf7bf27a1
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Mar 13 13:47:59 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Wed Mar 13 13:47:59 2024 +0100
Move more things around
diff --git a/ubase/ctrlaltdel.8 b/linux/ctrlaltdel.8
commit 5c804bdf5696ed20a46fcdc76981af75ba65
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Mar 13 11:41:28 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Wed Mar 13 11:52:40 2024 +0100
Move non posix tools out of sbase
diff --git a/ubase/clear.1 b/curses-dummy
commit 5335e18bc135e4917124f02062fa634e5af23d0f
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Mar 13 11:41:28 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Wed Mar 13 11:42:27 2024 +0100
Move non posix tools out of sbase
diff --git a/ubase/clear.1 b/curses-dummy
commit 232b10bcd8bc7cce3dfaff36858dfd81fd453a47
Author: Roberto E. Vargas Caballero
AuthorDate: Tue Mar 12 21:44:03 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Tue Mar 12 21:44:03 2024 +0100
Move sbase into a subdirectory
diff --git a/LICENSE b/sbase/LICENSE
non valid shell script
and there was a possibility to fatorize the creation
of the proto file instead of repeating it in all
the actions that required.
diff --git a/Makefile b/Makefile
index 8cfd981..e3b6936 100644
--- a/Makefile
+++ b/Makefile
@@ -220,18 +220,19 @@ getconf.o: getconf.h
regression and the logic
to control the number of arguments was broken after it,
giving an error when su was executed without parameters.
diff --git a/su.c b/su.c
index eb8bea7..161d2ec 100644
--- a/su.c
+++ b/su.c
@@ -26,7 +26,7 @@ usage(void)
int
main(int argc, char *argv[])
{
- char
commit 13898fa7a91155a60c4c0bd61d4b7693a2ff3f09
Author: Elie Le Vaillant
AuthorDate: Tue Mar 5 21:20:57 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Wed Mar 6 16:00:10 2024 +0100
tar: chktar: fix conditional typo
diff --git a/tar.c b/tar.c
index 5f73c26..7529997
y via
the default profile. Also, carrying the path over for non-login shells
conforms to the behavior of util-linux's su.
diff --git a/config.def.h b/config.def.h
index 577833e..257cfac 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,6 +1,5 @@
/* See LICENSE file for copyright a
p was
specified. Only populate newargv once the shell is properly determined.
diff --git a/su.c b/su.c
index b44457e..64ca9b6 100644
--- a/su.c
+++ b/su.c
@@ -75,9 +75,6 @@ main(int argc, char *argv[])
shell = pw->pw_shell[0] == '\0' ? "/bin/sh" : pw-
ll to execve will
fail when -p is specified. Fallback to the user's login shell if $SHELL
is invalid.
diff --git a/su.c b/su.c
index 64ca9b6..0f16637 100644
--- a/su.c
+++ b/su.c
@@ -28,7 +28,7 @@ int
main(int argc, char *argv[])
{
char *usr = "root", *pass;
-
commit 8f5a0c32362dc447ab066f9c3ad7802153a6bb40
Author: neeshy
AuthorDate: Mon Feb 12 21:26:35 2024 -0500
Commit: Roberto E. Vargas Caballero
CommitDate: Wed Mar 6 10:11:07 2024 +0100
su: simplify logic
Inline dologin, and simplify common code
diff --git a/su.c b/su.c
just trailing ones, which leads to
recognizing such archives as malformed. This fixes it: we now skip
over leading spaces, allowing strtol(3) to read those numeric fields.
diff --git a/tar.c b/tar.c
index d3a9f3b..5f73c26 100644
--- a/tar.c
+++ b/tar.c
@@ -399,10 +399,12 @@ sanitize
x27; would call tputc('L') 2^31 times,
making st unresponsive. This commit allows repeating the last character
at most 65535 times in order to prevent freezing and DoS attacks.
diff --git a/st.c b/st.c
index 77c3e8a..683493d 100644
--- a/st.c
+++ b/st.c
@@ -1643,7 +1643
glyhps (using more than a single column).
The glyph rune is set on its first column,
and the other ones are to 0,
so loop until we detect the start of the previous glyph.
diff --git a/st.c b/st.c
index 034954d..77c3e8a 100644
--- a/st.c
+++ b/st.c
@@ -86,8 +86,8 @@ enum escape_state
eration when XTSMGRAPHICS is seen, which can cause unexpected display
artifacts.
diff --git a/st.c b/st.c
index d6478f5..034954d 100644
--- a/st.c
+++ b/st.c
@@ -1728,6 +1728,7 @@ csihandle(void)
}
break;
case 'S': /* SU -- Scroll line up */
+
is is not the case when doop() is called with
the result of a previous calculation. However in that case we know
that v->num is already valid so we can simply return.
diff --git a/expr.c b/expr.c
index 3afb94b..044c6c1 100644
--- a/expr.c
+++ b/expr.c
@@ -21,7 +21,13 @@ static void
ton
implementations.
diff --git a/Makefile b/Makefile
index 95bb21d..8cfd981 100644
--- a/Makefile
+++ b/Makefile
@@ -190,14 +190,13 @@ BIN =\
xinstall\
yes
-OBJ = $(BIN:=.o) $(LIBUTFOBJ) $(LIBUTILOBJ)
-MAN = $(BIN:=.1)
+OBJ = $(LIBUTFOBJ) $(LIBUTILOBJ)
all: $(BIN)
$(BIN): $(LIB
ttern contains a subexpression then
the first matched subexpression should be returned if it exists.
This fixes things like the following:
./expr 3 : '\(.*\)'
Before: 3
After: 00003
diff --git a/expr.c b/expr.c
index ae32b9f..3afb94b 100644
--- a/expr
his commit fixes that issue.
diff --git a/expr.c b/expr.c
index 1299200..ae32b9f 100644
--- a/expr.c
+++ b/expr.c
@@ -18,11 +18,13 @@ struct val {
};
static void
-enan(struct val *v)
+tonum(struct val *v)
{
- if (!v->str)
- return;
- enprintf(2, "syntax error:
commit 7d5b113423ae72b2edbd8433871ad8a819bfadca
Author: Roberto E. Vargas Caballero
AuthorDate: Fri Jan 12 20:48:42 2024 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Fri Jan 12 20:48:42 2024 +0100
ed: Add new TODO
diff --git a/TODO b/TODO
index 3432591..6a0968e 100644
a replace pattern with embedded newlines
which modifies the line/index assignament. Using a range in the
address fail because afther the call to subline() the next line
has to be searched based in the index because the replace could
insert newlines.
diff --git a/TODO b/TODO
index
without argument, the check sbase-box
options doesn't verify the argument count leading to a segfault.
Add a check on the argc before parsing sbase-box options (currently
only `-i`)
diff --git a/scripts/mkbox b/scripts/mkbox
index b9e9bb0..db2bdb9 100755
--- a/scripts/mkbox
DED DESCRIPTION section).
diff --git a/ed.c b/ed.c
index 0705beb..4cba483 100644
--- a/ed.c
+++ b/ed.c
@@ -740,6 +740,7 @@ chksignals(void)
if (intr) {
intr = 0;
+ newcmd = 1;
clearerr(stdin);
error("Interrupt");
}
commit 137f0917e48c5572ad7de889944af6b10f3c1035
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Dec 6 01:20:06 2023 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 28 17:19:17 2023 +0100
ed: Print only last line in empty command
diff --git a/ed.c b/ed.c
index
can move the
modification check inside the new dump() function.
diff --git a/ed.c b/ed.c
index eaa4ca9..0705beb 100644
--- a/ed.c
+++ b/ed.c
@@ -710,6 +710,9 @@ dump(void)
{
char *home;
+ if (modflag)
+ return;
+
line1 = nextln(0);
line2 = lastln
this kind of comments
and it is better to get rid of them.
diff --git a/ed.c b/ed.c
index b6f4f1c..b94afa5 100644
--- a/ed.c
+++ b/ed.c
@@ -199,7 +199,7 @@ makeline(char *s, int *off)
len = 0;
} else {
while ((c = *s++) &&
commit 2d4d7dc6d46ed7d227d49110196846d72f095d4b
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Dec 6 00:38:49 2023 +0100
Commit: Roberto E. Vargas Caballero
CommitDate: Thu Dec 28 17:16:34 2023 +0100
ed: Fix G and V commands
diff --git a/ed.c b/ed.c
index b94afa5..35fddf1
function
and the global field was not updated, making that new lines
added were marked as global being processed in the current
global command.
diff --git a/ed.c b/ed.c
index a8bc7d5..b6f4f1c 100644
--- a/ed.c
+++ b/ed.c
@@ -185,19 +185,20 @@ makeline(char *s, int *off)
if
commit 09dc00f9951a5e8b07eb79f0cf6e090d6ef9532d
Author: Roberto E. Vargas Caballero
AuthorDate: Wed Nov 29 21:49:05 2023 +0100
Commit: k0ga
CommitDate: Thu Dec 28 17:04:13 2023 +0100
ed: Update TODO
Remove the cases are tested to work correctly now.
diff --git a/TODO b
then
next call will see a pointer that maybe it will try to free
because the call to error unwind the frame stack.
diff --git a/ed.c b/ed.c
index 63f46c3..a5eea16 100644
--- a/ed.c
+++ b/ed.c
@@ -1102,9 +1102,9 @@ getrhs(int delim)
}
if (!strcmp("%&qu
commit 890f6c2c050149e63efe5b385b104c8383342973
Author: Roberto E. Vargas Caballero
AuthorDate: Mon Nov 27 09:21:45 2023 +0100
Commit: k0ga
CommitDate: Thu Dec 28 17:02:44 2023 +0100
ed: Improve execsh
diff --git a/ed.c b/ed.c
index a5eea16..a8bc7d5 100644
--- a/ed.c
+++ b/ed.c
1 - 100 of 6964 matches
Mail list logo