commit 9e321b69d2a4f2af1e067c1f58a0c8237e47a248
Author: sin s...@2f30.org
Date: Thu Oct 17 14:06:17 2013 +0100
No need for realpath() to call malloc() in du(1)
Print links correctly as well.
diff --git a/du.c b/du.c
index edb2e50..b83aba9 100644
--- a/du.c
+++ b/du.c
@@ -12,6
commit ff2e11638f03fb259b0d698996e998bd7a431974
Author: sin s...@2f30.org
Date: Thu Oct 17 23:02:55 2013 +0100
Add initial su(1)
diff --git a/Makefile b/Makefile
index 7dd2704..d9ff21e 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@ SRC = \
pivot_root.c\
ps.c
commit 784c6a5acffa7a0cba0b875b26e1c20db4a5613e
Author: sin s...@2f30.org
Date: Fri Oct 18 11:14:36 2013 +0100
Implement -l support for su(1)
diff --git a/su.c b/su.c
index 6b0bac0..1435b30 100644
--- a/su.c
+++ b/su.c
@@ -12,6 +12,9 @@
extern char **environ;
+static char *msetenv
commit 7e59506b4b6c479cabc857bd79d89ec2b7dfe1e3
Author: sin s...@2f30.org
Date: Fri Oct 18 11:20:59 2013 +0100
Set SHELL environment variable by default
If target user is not root also set USER and LOGNAME.
diff --git a/su.c b/su.c
index 1435b30..9d8f550 100644
--- a/su.c
+++ b
commit 6a680269bfdc3e06b5090e3f510b6ee99e12c6da
Author: sin s...@2f30.org
Date: Fri Oct 18 15:18:37 2013 +0100
Add more commands to TODO
diff --git a/TODO b/TODO
index 3f7dc12..b2a413b 100644
--- a/TODO
+++ b/TODO
@@ -31,3 +31,13 @@ patch
ed
awk
+
+bc/dc
+
+fmt
+
+install
+
+find (bare
commit bfb4b38cffed5cebe1617386befae7a5980df87c
Author: sin s...@2f30.org
Date: Fri Oct 18 16:22:24 2013 +0100
If we are preserving the environment use SHELL instead of pw-pw_shell
diff --git a/su.c b/su.c
index 1218a13..94ead18 100644
--- a/su.c
+++ b/su.c
@@ -112,7 +112,8 @@ main(int
commit 432f45a85213a78da207c63890ed7f85afff5478
Author: Christoph Lohmann 2...@r-36.net
Date: Sat Oct 19 18:55:53 2013 +0200
Add zoom level support.
diff --git a/config.def.h b/config.def.h
index 7927b42..b81e6b0 100644
--- a/config.def.h
+++ b/config.def.h
@@ -13,7 +13,8 @@ static Bool
commit 298703ff2dde5bf8484ac8e101265884884eb758
Author: Markus Wichmann nullp...@gmx.net
Date: Sun Oct 20 10:56:49 2013 +0200
Add sticky bit to documentation.
diff --git a/chmod.1 b/chmod.1
index 579aa68..4deb792 100644
--- a/chmod.1
+++ b/chmod.1
@@ -9,7 +9,7 @@ chmod \- change file mode
commit b2a0362bf856138c3b78a976a2d851acfa6c8dfc
Author: sin s...@2f30.org
Date: Sun Oct 27 09:46:21 2013 +
Use estrtol() instead of atoi()
diff --git a/seq.c b/seq.c
index 4023876..5b3d5f0 100644
--- a/seq.c
+++ b/seq.c
@@ -98,7 +98,7 @@ digitsleft(const char *d)
if(*d
commit 489982d4b8442af25a380f8c22be542055cda81f
Author: Rob Pilling rob@egbert
Date: Wed Jun 19 21:24:01 2013 +0100
Fixed lock up when system time jumps backwards
Signed-off-by: Christoph Lohmann 2...@r-36.net
diff --git a/st.c b/st.c
index 50b58a7..d0a6218 100644
--- a/st.c
+++ b
commit 1fa27b93f9a78ee78a35a5449bb8c4d0c3ef0f1b
Author: Mark Edgar medgar...@gmail.com
Date: Sat Oct 19 14:56:40 2013 +0200
Simplify logic in match().
diff --git a/st.c b/st.c
index 8cfa2f7..da2ce3f 100644
--- a/st.c
+++ b/st.c
@@ -3501,15 +3501,7 @@ focus(XEvent *ev) {
static inline
commit c55948ba91c7daab7a269ba8c70c7432d93a1b87
Author: sin s...@2f30.org
Date: Wed Nov 6 13:22:13 2013 +
No need to use USED() in arg.h for sbase
Tested on Linux and OpenBSD (with gcc and pcc).
diff --git a/arg.h b/arg.h
index 2b189fe..2009b70 100644
--- a/arg.h
+++ b/arg.h
commit c23616555bf2830d478508f14a8d6f2504cda835
Author: sin s...@2f30.org
Date: Mon Nov 11 11:37:07 2013 +
Add support for -k (checking sticky bit) to test(1)
diff --git a/test.1 b/test.1
index e7de2e0..08bac1d 100644
--- a/test.1
+++ b/test.1
@@ -29,6 +29,9 @@ ILE exists
commit 11c078d116b828732716223101f6e72e1bb52e34
Author: sin s...@2f30.org
Date: Mon Nov 11 11:27:18 2013 +
Fix styling issue in test(1)
diff --git a/test.c b/test.c
index 2e42f0f..495ecb2 100644
--- a/test.c
+++ b/test.c
@@ -108,7 +108,9 @@ binary(const char *arg1, const char *op
commit 3f9e501f6b8bd747ac8127ca56e34db0409e03d1
Author: dsp d...@2f30.org
Date: Mon Nov 11 19:53:01 2013 +
Add ARGNUM and ARGNUMF(base)
This is useful to support the obsolete syntax -NUM for tools like
head, tail and fold.
diff --git a/arg.h b/arg.h
index 2009b70..b8f48c0
commit 57e7137a3a03a22ea25a2ba536798fe6fa487e6c
Author: sin s...@2f30.org
Date: Tue Nov 12 13:22:13 2013 +
Add passwd(1) to TODO
diff --git a/TODO b/TODO
index 345fbf5..058eb77 100644
--- a/TODO
+++ b/TODO
@@ -13,6 +13,7 @@ Tools
* sysctl
* lspci
* mkswap [-L]
+ * passwd
Other
=
].* are reserved for any usage and _.* is
reserved for file scope identifiers
We just rename them to brk_, argc_ and argv_.
diff --git a/arg.h b/arg.h
index acae756..04b8514 100644
--- a/arg.h
+++ b/arg.h
@@ -13,21 +13,21 @@ extern char *argv0;
argv[0
commit 7a2105f5bd6ae077baedad7dd62d0fcae9270ba8
Author: sin s...@2f30.org
Date: Thu Nov 14 19:49:36 2013 +
Forgot to update manpage for mktemp(1)
diff --git a/mktemp.1 b/mktemp.1
index b81461b..6e24e2b 100644
--- a/mktemp.1
+++ b/mktemp.1
@@ -10,7 +10,8 @@ mktemp \- make temporary
commit 651dbdd700baa85354aaa7265c0e8850ff405c48
Author: sin s...@2f30.org
Date: Mon Nov 25 21:29:20 2013 +
Rename __ARG_H__ to ARG_H__
__* is reserved so do not use it.
diff --git a/arg.h b/arg.h
index 04b8514..4df77a7 100644
--- a/arg.h
+++ b/arg.h
@@ -3,8 +3,8 @@
* by 20h
commit abd5a0e573ccfe994d9df84081b328968cc8af9c
Author: sin s...@2f30.org
Date: Fri Nov 22 13:40:08 2013 +
We do not name parameters in declarations
diff --git a/crypt.h b/crypt.h
index 359eaf2..197191f 100644
--- a/crypt.h
+++ b/crypt.h
@@ -6,8 +6,7 @@ struct crypt_ops {
void
commit f1f0fba630155704558c6aecff7ca100b5970be5
Author: sin s...@2f30.org
Date: Sat Nov 30 21:11:19 2013 +
Forgot to remove argc from function decl
Thanks FRIGN for noticing this.
diff --git a/crypt.h b/crypt.h
index 197191f..7242cdf 100644
--- a/crypt.h
+++ b/crypt.h
@@ -6,7
commit 137ebef3aca354e79d259553c3a0756cda0af9cc
Author: sin s...@2f30.org
Date: Sun Dec 1 09:58:02 2013 +
Factor out code printing information for the current process
diff --git a/id.c b/id.c
index 09253cc..00068a3 100644
--- a/id.c
+++ b/id.c
@@ -8,6 +8,8 @@
#include limits.h
--git a/id.1 b/id.1
index a5678e3..8252773 100644
--- a/id.1
+++ b/id.1
@@ -1,8 +1,12 @@
.TH ID 1 sbase\-VERSION
.SH NAME
id \- print real and effective user and group IDs
-.SH DESCRIPTION
+.SH SYNOPSIS
.B id
-Print user and group information for the current user.
+.RB [ user ]
+.SH DESCRIPTION
commit 0b6b84886cbf1dc3f26da8c8935da35553b62aed
Author: sin s...@2f30.org
Date: Wed Dec 4 17:41:52 2013 +
Add newline at end of file
diff --git a/util/eprintf.c b/util/eprintf.c
index c878e81..bd4e090 100644
--- a/util/eprintf.c
+++ b/util/eprintf.c
@@ -60,4 +60,4 @@ weprintf(const
, because it is going to modify also another
attributes not related.
diff --git a/st.info b/st.info
index 94fce22..7526141 100644
--- a/st.info
+++ b/st.info
@@ -161,7 +161,7 @@ st| simpleterm,
rmir=\E[4l,
rmkx=\E[?1l\E,
rmso=\E[27m,
- rmul=\E[m,
+ rmul=\E[24m
and common options for the default
case.
diff --git a/config.mk b/config.mk
index 6441d6b..a3ffc4d 100644
--- a/config.mk
+++ b/config.mk
@@ -9,7 +9,7 @@ MANPREFIX = $(PREFIX)/share/man
#CC = musl-gcc
LD = $(CC)
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
-CFLAGS = -g -ansi -Wall -Wno-long
commit cec487585cad1d652dfafd9d41cf1f9dcff265be
Author: sin s...@2f30.org
Date: Wed Jan 8 20:22:10 2014 +
Rename pusharg() to deinputstr()
diff --git a/xargs.c b/xargs.c
index b0c43b5..66087cf 100644
--- a/xargs.c
+++ b/xargs.c
@@ -19,7 +19,7 @@ static int eatspace(void);
static int
and
process it in the next run.
diff --git a/xargs.c b/xargs.c
index 09002d9..59028f1 100644
--- a/xargs.c
+++ b/xargs.c
@@ -14,7 +14,6 @@ enum {
static int inputc(void);
static void deinputc(int);
-static void deinputstr(char *);
static void fillargbuf(int);
static int eatspace(void);
static int
commit b744ad5216e4ab66151d97086162c8cf8aff8380
Author: sin s...@2f30.org
Date: Fri Jan 10 22:51:13 2014 +
If there's no newline we don't count the last word - fix it
diff --git a/wc.c b/wc.c
index ba76a68..cd0bf46 100644
--- a/wc.c
+++ b/wc.c
@@ -95,6 +95,8 @@ wc(FILE *fp, const char
commit 7969fcd2c20cd6b5ba01ee24f40a232a3e71c300
Author: sin s...@2f30.org
Date: Thu Jan 16 11:51:19 2014 +
No need to dynamically allocate *cmd[]
diff --git a/xargs.c b/xargs.c
index b70c158..102c225 100644
--- a/xargs.c
+++ b/xargs.c
@@ -22,7 +22,7 @@ static char *poparg(void
commit 38f429a3d26122af61b73a8965b1e8e9043c0a0c
Author: Silvan Jegen s.je...@gmail.com
Date: Fri Nov 15 17:25:10 2013 +0100
Add the tr program including man page
diff --git a/Makefile b/Makefile
index 81dfaf6..ee84221 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,7 @@ SRC
commit 53a43774db126e04558ebdd576f378d27ed1e166
Author: Christoph Lohmann 2...@r-36.net
Date: Tue Jan 21 19:22:03 2014 +0100
Release 0.6.
diff --git a/config.mk b/config.mk
index b0a376f..5279711 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# tabbed version
-VERSION = 0.5
commit 53a43774db126e04558ebdd576f378d27ed1e166
Author: Christoph Lohmann 2...@r-36.net
Date: Tue Jan 21 19:22:03 2014 +0100
Release 0.6.
diff --git a/config.mk b/config.mk
index b0a376f..5279711 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# tabbed version
-VERSION = 0.5
commit 04a32251e413495b9aa1a5a727a17e76ce0d8b13
Author: sin s...@2f30.org
Date: Fri Jan 31 13:51:10 2014 +
Use uint32_t instead of unsigned int in cksum(1)
diff --git a/cksum.c b/cksum.c
index 8347a88..25f7274 100644
--- a/cksum.c
+++ b/cksum.c
@@ -1,4 +1,5 @@
/* See LICENSE file
commit b60882f2064e58c5e4cf98a2987e2d1022315ee4
Author: sin s...@2f30.org
Date: Fri Jan 31 15:42:20 2014 +
Use putchar() instead of fputc() in uuencode(1)
diff --git a/uuencode.c b/uuencode.c
index a400180..3b7a716 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -53,7 +53,7 @@ uuencode
commit cb5733ea414e36d179f44c2aa04b606321a9197e
Author: sin s...@2f30.org
Date: Fri Jan 31 15:43:37 2014 +
Make the buffer 45 bytes exactly for uuencode(1)
diff --git a/uuencode.c b/uuencode.c
index 3b7a716..0766e39 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -44,14 +44,14 @@ static
commit d2815a5aa65972c84c1f17cea41617173a32f0c2
Author: sin s...@2f30.org
Date: Thu Feb 6 18:00:47 2014 +
Update TODO - add getty and login
diff --git a/TODO b/TODO
index 058eb77..64518fc 100644
--- a/TODO
+++ b/TODO
@@ -14,6 +14,8 @@ Tools
* lspci
* mkswap [-L]
* passwd
commit 33c94d161d9ec06c1816e19c5f82e837b84c049e
Author: sin s...@2f30.org
Date: Sun Feb 9 11:07:36 2014 +
Add Carlos J. Torres to LICENSE
diff --git a/LICENSE b/LICENSE
index 390dde5..2f3b56f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -4,6 +4,7 @@ MIT/X Consortium License
© 2013 oblique
commit bb87246743a341cd88826c830158f875542bd816
Author: sin s...@2f30.org
Date: Sun Feb 9 12:32:33 2014 +
Remove implemented items from TODO
diff --git a/TODO b/TODO
index 64518fc..7502efc 100644
--- a/TODO
+++ b/TODO
@@ -6,8 +6,6 @@ Tools
* swaplabel(8)
* last(1)
* losetup(8
commit a8e1ea139810054ffd25bd68f5d3a42bdbe1a058
Author: sin s...@2f30.org
Date: Mon Feb 10 13:14:12 2014 +
Guard against strlcpy()/strlcat() being implemented as macros
diff --git a/util.h b/util.h
index a643205..c478579 100644
--- a/util.h
+++ b/util.h
@@ -14,6 +14,8 @@ void eprintf
commit 471432a9e69cfa6df095089838f779b73e916ed4
Author: sin s...@2f30.org
Date: Mon Feb 10 19:06:42 2014 +
Ensure opts is null-terminated before calling strcat()
diff --git a/insmod.c b/insmod.c
index e175a1c..484c544 100644
--- a/insmod.c
+++ b/insmod.c
@@ -54,6 +54,7 @@ main(int argc
commit 9a4fba02519efc4382fd605ec144ace2fd461798
Author: sin s...@2f30.org
Date: Mon Feb 10 19:28:39 2014 +
Use calloc() instead of malloc() + memset()
diff --git a/insmod.c b/insmod.c
index 484c544..730b71a 100644
--- a/insmod.c
+++ b/insmod.c
@@ -51,10 +51,9 @@ main(int argc, char
commit 48b505fad321ecab5a6360fd7b92e1e7a85e3d63
Author: sin s...@2f30.org
Date: Tue Feb 11 10:14:09 2014 +
Don't die on vhangup() failure
We might be able to continue at this point.
diff --git a/getty.c b/getty.c
index 46781f6..ad15279 100644
--- a/getty.c
+++ b/getty.c
commit 5d06ac46883b787dc7f4c6e889bb4b7d442b28bb
Author: sin s...@2f30.org
Date: Tue Feb 11 10:36:23 2014 +
Allow getty to execute another program instead of /bin/login
diff --git a/getty.c b/getty.c
index ad15279..6e658cd 100644
--- a/getty.c
+++ b/getty.c
@@ -13,7 +13,7 @@
static
commit 3bf464c1d62176a2f78924ff32b220d3893677bd
Author: sin s...@2f30.org
Date: Tue Feb 11 10:59:53 2014 +
Use HOST_NAME_MAX in hostname(1)
diff --git a/hostname.c b/hostname.c
index 4a377d9..5a8b2eb 100644
--- a/hostname.c
+++ b/hostname.c
@@ -1,8 +1,9 @@
/* See LICENSE file
commit 1f783e7d96c01e9b40da81098d67a785b800a801
Author: sin s...@2f30.org
Date: Tue Feb 11 11:09:00 2014 +
Print hostname as well in getty
diff --git a/getty.c b/getty.c
index 1c8f236..33fb450 100644
--- a/getty.c
+++ b/getty.c
@@ -26,6 +26,7 @@ main(int argc, char *argv[])
int
commit f8dd426745df8c651f4b3589cc038d34a78ed63b
Author: sin s...@2f30.org
Date: Wed Feb 12 14:34:09 2014 +
Add initial README
diff --git a/README b/README
new file mode 100644
index 000..0eb205d
--- /dev/null
+++ b/README
@@ -0,0 +1,49 @@
+sbase - suckless unix tools
commit 43b472601dc0ccefac66cabaf564ce85d6014762
Author: sin s...@2f30.org
Date: Thu Feb 13 13:02:12 2014 +
Return proper error values in case execvp() fails
diff --git a/chroot.c b/chroot.c
index 92263c1..9569ad8 100644
--- a/chroot.c
+++ b/chroot.c
@@ -1,4 +1,5 @@
/* See LICENSE file
commit 7309302e25a05aaa69e1d65ac9ae70e82e32c1d9
Author: sin s...@2f30.org
Date: Fri Feb 14 11:47:34 2014 +
Don't check remove() return value
diff --git a/ln.c b/ln.c
index 7dba59b..12be44e 100644
--- a/ln.c
+++ b/ln.c
@@ -42,10 +42,8 @@ ln(const char *s1, const char *s2)
int
commit 923773f9d888a8c72efc93cbeb46fbd5992e2125
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Fri Feb 14 14:42:48 2014 +0100
lsusb: initialize variables to 0, fix type warning
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/lsusb.c b/lsusb.c
index 362c4f4
commit 68c3146a9def993741f2e4dab515aa8bfb1fb4e1
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Fri Feb 14 14:48:24 2014 +0100
stat: assign fn before loop
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/stat.c b/stat.c
index 7b55966..93c4991 100644
commit c5f17bd3dc9aeb99a9a95b0854807e7743a5d07a
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Fri Feb 14 14:52:04 2014 +0100
remove some signed / unsigned type warnings
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/chvt.c b/chvt.c
index a56b4b0..d1e604c
commit 422f400c2182ef0cdcdf0e237aac2bb9a5a9dd03
Author: sin s...@2f30.org
Date: Fri Feb 14 15:03:48 2014 +
Import who from sbase
diff --git a/Makefile b/Makefile
index 0cf14d2..f7c3cf8 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,8 @@ SRC = \
umount.c
commit 386aa62b94fd19a5ca77be019c9236c0fec20cb5
Author: sin s...@2f30.org
Date: Fri Feb 14 15:04:43 2014 +
Remove who(1) from sbase
It now lives in ubase.
diff --git a/Makefile b/Makefile
index 762d345..9974ae7 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,6 @@ SRC
commit 5c6a17ef206d9104b00d558c3eb0173927456b25
Author: sin s...@2f30.org
Date: Fri Feb 14 15:08:03 2014 +
Remove who(1) from README
diff --git a/README b/README
index 3e044ec..246f871 100644
--- a/README
+++ b/README
@@ -11,7 +11,7 @@ The following programs are currently implemented
commit f8f0c30f3ef60c024520cea5179ca2ddeb1de000
Author: Christoph Lohmann 2...@r-36.net
Date: Sun Feb 16 17:17:15 2014 +0100
Enable resizable text areas.
diff --git a/surf.c b/surf.c
index 654353d..bcb3a7b 100644
--- a/surf.c
+++ b/surf.c
@@ -848,6 +848,8 @@ newclient(void
commit d7ef6ea895a18133e6b296032de37226fceb6a66
Author: sin s...@2f30.org
Date: Mon Feb 17 11:30:56 2014 +
Preserve getty environment in login
diff --git a/getty.c b/getty.c
index 6d6c747..d9c7902 100644
--- a/getty.c
+++ b/getty.c
@@ -108,5 +108,5 @@ main(int argc, char *argv
commit 080db637f8f76fb1a433963c08248f574cd07db7
Author: Daniel Bainton d...@driftaway.org
Date: Mon Feb 17 14:41:09 2014 +
Add the -F flag to ls
diff --git a/ls.c b/ls.c
index f4433ae..bc6c463 100644
--- a/ls.c
+++ b/ls.c
@@ -31,6 +31,7 @@ static void output(Entry *);
static bool
commit a6263b656ee1c0ce0f8d28c010caa84b81e60663
Author: sin s...@2f30.org
Date: Mon Feb 24 12:26:40 2014 +
Use setenv() instead of putenv() in getty
diff --git a/getty.c b/getty.c
index d9c7902..73f918d 100644
--- a/getty.c
+++ b/getty.c
@@ -18,7 +18,7 @@ usage(void)
}
static char
commit 3f660d71d3539d0a5fc8cb2657ab67d42abd6cd9
Author: sin s...@2f30.org
Date: Mon Feb 24 13:50:15 2014 +
Update unshare(1) usage
diff --git a/unshare.c b/unshare.c
index 06869ed..7251d5e 100644
--- a/unshare.c
+++ b/unshare.c
@@ -10,7 +10,7 @@
static void
usage(void
commit 2c98e18a33a95269a17a6c4e7e5d2c86a1b7bfdc
Author: sin s...@2f30.org
Date: Mon Feb 24 13:51:03 2014 +
The flag for unshare(1) is 'U' not 'u'
diff --git a/unshare.c b/unshare.c
index 7251d5e..a8d4aba 100644
--- a/unshare.c
+++ b/unshare.c
@@ -10,7 +10,7 @@
static void
usage(void
commit 795ffe490d24a6e85b7717f9ad6ec7b29469500e
Author: sin s...@2f30.org
Date: Thu Feb 27 14:19:36 2014 +
Use the more portable NZERO instead of PRIO_*
We assume the valid range is [-NZERO, NZERO-1].
diff --git a/nice.c b/nice.c
index 0ef6256..f58a23b 100644
--- a/nice.c
commit 17338bfbb881d7944b6ac975c97941fee6036d1c
Author: sin s...@2f30.org
Date: Thu Feb 27 14:26:22 2014 +
id(1) is not portable - move it to ubase
diff --git a/Makefile b/Makefile
index 9974ae7..9aa8723 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,6 @@ SRC = \
grep.c
commit 02e0a1de08e9f5a9983c1f9ddce8bbd2ed7c
Author: sin s...@2f30.org
Date: Thu Feb 27 14:27:28 2014 +
Import id(1) from sbase
diff --git a/Makefile b/Makefile
index 63d4aae..dccfe4f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ SRC = \
free.c
commit e75c56ad6a21ba8975b4143eba47c3e7ddd55195
Author: sin s...@2f30.org
Date: Thu Feb 27 14:30:04 2014 +
Update manpages - these tools are in ubase now
diff --git a/id.1 b/id.1
index 967022c..797f592 100644
--- a/id.1
+++ b/id.1
@@ -1,4 +1,4 @@
-.TH ID 1 sbase\-VERSION
+.TH ID 1
commit 634e77a1a54de28c94ab9f8d763b90e5eaef3a79
Author: sin s...@2f30.org
Date: Thu Feb 27 14:57:22 2014 +
Simply use eprintf() instead of enprintf()
diff --git a/su.c b/su.c
index aa7f8af..16d876f 100644
--- a/su.c
+++ b/su.c
@@ -58,16 +58,16 @@ main(int argc, char **argv
commit d0dc4dc2b7cdd3cabd339342d13fd994bdba2d6a
Author: sin s...@2f30.org
Date: Thu Feb 27 15:08:17 2014 +
Fix some more instances of enprintf(EXIT_FAILURE, ...);
diff --git a/lsmod.c b/lsmod.c
index 5cfd3f0..8f625b0 100644
--- a/lsmod.c
+++ b/lsmod.c
@@ -38,7 +38,7 @@ main(int argc
commit ea9d60c5c0cb5a5c021dd106f3636f83e1452d08
Author: Markus Teich markus.te...@stusta.mhn.de
Date: Tue Feb 25 16:36:05 2014 +0100
fix some indentation in config.def.h
Signed-off-by: Christoph Lohmann 2...@r-36.net
diff --git a/config.def.h b/config.def.h
index 5c966e0..80a0feb
commit d2ec39f0ef4b9d7f291aeba548a56144fce8a42f
Author: Christoph Lohmann 2...@r-36.net
Date: Sat Mar 1 09:22:57 2014 +0100
Style matters.
diff --git a/st.c b/st.c
index cad61bf..9371b62 100644
--- a/st.c
+++ b/st.c
@@ -2801,7 +2801,8 @@ xhints(void) {
sizeh-min_height
commit c28e2a39ecf560291a68db3d506a5d2177c7a80d
Author: sin s...@2f30.org
Date: Tue Mar 4 10:33:51 2014 +
We should not require both files to be present for cmp(1)
If the second file is not present, read from standard input.
diff --git a/cmp.c b/cmp.c
index 6bc97cc..9c0b316
here that works on uClibc,
glibc and musl-libc by just using syscall(2) and getdents(2).
To build 9base, you will need the appropriate kernel headers in
place.
diff --git a/lib9/_p9dir.c b/lib9/_p9dir.c
index 706130c..b49cd4d 100644
--- a/lib9/_p9dir.c
+++ b/lib9/_p9dir.c
@@ -61,7
commit f34e1ae1d0b2bb95290425a3e0292937b47e4de5
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Fri Mar 7 19:35:43 2014 +0100
kill: argc 2 should be argc 1
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/kill.c b/kill.c
index 3a65de9..70e95f9 100644
commit 6df1301594433963840b29d6ae42fb6de4b056c8
Author: sin s...@2f30.org
Date: Wed Mar 12 16:18:29 2014 +0200
Add weprintf()
diff --git a/util.h b/util.h
index c478579..76feaa9 100644
--- a/util.h
+++ b/util.h
@@ -19,3 +19,4 @@ size_t strlcat(char *, const char *, size_t);
#undef strlcpy
commit 552a5ae4b502c373ae516e16a8a756e659e7c7bb
Author: sin s...@2f30.org
Date: Wed Mar 12 16:29:11 2014 +0200
Don't prefix messages with the tool name by default
diff --git a/util/eprintf.c b/util/eprintf.c
index bd4e090..f3cac7b 100644
--- a/util/eprintf.c
+++ b/util/eprintf.c
@@ -50,7
commit 6506e85d1339ea0c6ed97dfbc88ac0d064f534e0
Author: sin s...@2f30.org
Date: Wed Mar 12 16:28:56 2014 +0200
Update umount usage
diff --git a/umount.c b/umount.c
index 514063d..2b0c32e 100644
--- a/umount.c
+++ b/umount.c
@@ -8,7 +8,9 @@
static void
usage(void)
{
- eprintf(usage
commit bea831d2e6356833dc8990d97db974526a007018
Author: sin s...@2f30.org
Date: Wed Mar 12 16:33:04 2014 +0200
umount(8) should look in /etc/mtab
diff --git a/umount.c b/umount.c
index 2b0c32e..d04410a 100644
--- a/umount.c
+++ b/umount.c
@@ -43,9 +43,9 @@ main(int argc, char *argv
commit 14716af4723e94913dfaf4516b975db1a764b5e8
Author: sin s...@2f30.org
Date: Wed Mar 12 16:35:20 2014 +0200
Don't umount proc in umount -a
diff --git a/umount.c b/umount.c
index d04410a..46143c1 100644
--- a/umount.c
+++ b/umount.c
@@ -2,6 +2,7 @@
#include mntent.h
#include stdio.h
commit bc0de5e7e541a6fc45774ac3a03248c2a533f9cf
Author: sin s...@2f39.org
Date: Wed Mar 12 16:43:45 2014 +0200
Rename mc(1) to cols(1)
There is an obvious name collision with the popular file manager
midnight commander.
diff --git a/Makefile b/Makefile
index 9aa8723..ceed44f
commit 6ef8c718e15fa2e6c90cf2a6266850fa1c46727e
Author: sin s...@2f30.org
Date: Sat Mar 15 18:44:16 2014 +
umount -a should unmount in the reverse order
diff --git a/umount.c b/umount.c
index c7d4882..efe7d84 100644
--- a/umount.c
+++ b/umount.c
@@ -61,6 +61,8 @@ umountall(int flags
commit 98f7fcad946431881edf44c2415e96956b8ecd75
Author: sin s...@2f30.org
Date: Sat Mar 15 18:37:16 2014 +
Factor out umount -a into a separate function
diff --git a/umount.c b/umount.c
index c413a0e..c7d4882 100644
--- a/umount.c
+++ b/umount.c
@@ -6,6 +6,8 @@
#include sys/mount.h
commit e5b9f696267cc68be69757d8a04590e2abdb8719
Author: sin s...@2f30.org
Date: Sat Mar 15 18:10:01 2014 +
Print mnt_dir as well if umount2 fails.
diff --git a/umount.c b/umount.c
index 46143c1..c413a0e 100644
--- a/umount.c
+++ b/umount.c
@@ -51,7 +51,7 @@ main(int argc, char *argv
commit 861e16ac1763786dda1ce459acd33e4d9c5d6e99
Author: sin s...@2f30.org
Date: Sat Mar 15 18:48:01 2014 +
Check strdup() for failure
diff --git a/umount.c b/umount.c
index efe7d84..429ada1 100644
--- a/umount.c
+++ b/umount.c
@@ -74,6 +74,8 @@ umountall(int flags
commit a056e2aa5444c2a2d07c25f94ce17af5e3340b4c
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sat Mar 15 19:45:56 2014 +0100
mount: match mountpoint error message with util-linux
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/mount.c b/mount.c
index
commit 9af24d8a29518639aa03cdafbeb774f60531271b
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sat Mar 15 19:28:23 2014 +0100
mount: show devicename in error output for clarity
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/mount.c b/mount.c
index 4e14bde
...@codemadness.org
diff --git a/mount.c b/mount.c
index eda60ee..0f6bdc5 100644
--- a/mount.c
+++ b/mount.c
@@ -155,8 +155,10 @@ main(int argc, char *argv[])
eprintf(can't find %s in /etc/fstab
, target);
mountsingle:
- if(mount(source, target, types, flags, data) 0
commit 55fa13016cc2ecc38fca402efeb980ff23013fcb
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sat Mar 15 21:45:09 2014 +0100
mount: only use source if not set
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/mount.c b/mount.c
index 605fca9..22abdf5 100644
commit 4fb9eabf8ef32728a4af0552a92c01e8c430c48b
Author: sin s...@2f30.org
Date: Mon Mar 17 14:26:19 2014 +0200
Implement -o for killall5
diff --git a/killall5.c b/killall5.c
index 7f91e06..8862210 100644
--- a/killall5.c
+++ b/killall5.c
@@ -4,7 +4,7 @@
#include signal.h
#include stdio.h
commit e91b3d9e716117f39162355d448d5e1dc4909952
Author: sin s...@2f30.org
Date: Mon Mar 17 14:46:35 2014 +0200
Fix indentation for mount(8)
No functional change intended.
diff --git a/mount.c b/mount.c
index 22abdf5..6e2a6ec 100644
--- a/mount.c
+++ b/mount.c
@@ -129,29 +129,29
commit 7cd9280b112b908b17748b2ca20b056e0810eee5
Author: sin s...@2f30.org
Date: Mon Mar 17 14:55:27 2014 +0200
Remove implemented items from TODO
diff --git a/TODO b/TODO
index 64d6a71..f48736b 100644
--- a/TODO
+++ b/TODO
@@ -6,8 +6,6 @@ Tools
* swaplabel(8)
* last(1)
* losetup(8
commit ee88227c33bae40f5488c1d61969eed1e668186b
Author: sin s...@2f30.org
Date: Tue Mar 18 16:19:56 2014 +0200
Don't list dummy rootfs by default
diff --git a/df.c b/df.c
index dc3411f..299c297 100644
--- a/df.c
+++ b/df.c
@@ -2,6 +2,7 @@
#include mntent.h
#include stdio.h
#include
commit 6505db4709b30a2ab85e12124e73238ac6ce07a6
Author: sin s...@2f30.org
Date: Tue Mar 18 16:38:31 2014 +0200
Don't print errors for already mounted filesystems
diff --git a/mount.c b/mount.c
index 6e2a6ec..ea33125 100644
--- a/mount.c
+++ b/mount.c
@@ -66,6 +66,29 @@ parseopts(char
.
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/mount.c b/mount.c
index df82109..6afa438 100644
--- a/mount.c
+++ b/mount.c
@@ -73,17 +73,21 @@ mounted(const char *dir)
struct mntent *me;
struct stat st1, st2;
- if (stat(dir, st1) 0
commit 18b6e4016108182834d08f54c15daad3a459da9f
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sun Mar 23 12:30:34 2014 +0100
crypt: error status code if an error occured in a file series
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/util/crypt.c b/util
commit 7727530b534581f64ff00d1bc41b3198103e5e11
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sun Mar 23 12:23:56 2014 +0100
crypt: dont error out if a file in a series fails
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/util/crypt.c b/util/crypt.c
commit dd7eb6386917b64f331c94fab662829da56fab10
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sun Mar 23 13:45:52 2014 +0100
crypt: free line and tiny cleanup
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/util/crypt.c b/util/crypt.c
index 7048659
commit 04f32f4d9aae63f80f5aa9b771190f47593bf62e
Author: Hiltjo Posthuma hil...@codemadness.org
Date: Sun Mar 23 12:18:38 2014 +0100
checksum tools: implement -c
Signed-off-by: Hiltjo Posthuma hil...@codemadness.org
diff --git a/crypt.h b/crypt.h
index 7242cdf..1855d37 100644
commit a6ef67cd3d66504b2ae563d080140a425b702ab1
Author: sin s...@2f30.org
Date: Sun Mar 23 18:33:06 2014 +
Use strlcpy()
diff --git a/split.c b/split.c
index ae6f3a7..b63a988 100644
--- a/split.c
+++ b/split.c
@@ -75,7 +75,7 @@ main(int argc, char **argv)
plen = strlen(prefix
commit 897efd5f13ebecf8d29a9c51df1ec87e6e9d2863
Author: sin s...@2f30.org
Date: Sun Mar 23 18:58:43 2014 +
Remove WARNING: prefix from messages
diff --git a/util/crypt.c b/util/crypt.c
index 2bca8fc..cd24e93 100644
--- a/util/crypt.c
+++ b/util/crypt.c
@@ -79,15 +79,15 @@ cryptcheck
commit 07592f31be3927dd1e9e6a4d82e4049c52cde48c
Author: sin s...@2f30.org
Date: Tue Mar 25 12:38:47 2014 +
Print system login processes correctly when doing who -l
Fix style as well.
diff --git a/who.c b/who.c
index f05cf54..c46a6ac 100644
--- a/who.c
+++ b/who.c
@@ -49,9
sequences, if necessary, requires trivial modification of UTF_SIZ
constant and utfbyte, utfmask, utfmin, utfmax arrays.
diff --git a/st.c b/st.c
index 69b2491..e20a1e0 100644
--- a/st.c
+++ b/st.c
@@ -55,6 +55,7 @@ char *argv0;
#define XEMBED_FOCUS_OUT 5
/* Arbitrary sizes */
+#define
1 - 100 of 5786 matches
Mail list logo