sin
|
760690c85e
|
Make code a bit more clear
|
2014-03-04 10:43:51 +00:00 |
|
sin
|
c28e2a39ec
|
We should not require both files to be present for cmp(1)
If the second file is not present, read from standard input.
|
2014-03-04 10:36:54 +00:00 |
|
sin
|
99300c9514
|
Update README
sbase compiles on minix3 as well.
|
2014-02-27 16:56:59 +00:00 |
|
sin
|
17338bfbb8
|
id(1) is not portable - move it to ubase
|
2014-02-27 14:30:21 +00:00 |
|
sin
|
795ffe490d
|
Use the more portable NZERO instead of PRIO_*
We assume the valid range is [-NZERO, NZERO-1].
|
2014-02-27 14:24:21 +00:00 |
|
Daniel Bainton
|
2773bdaac7
|
add the man entry for ls -F
|
2014-02-19 12:35:36 +00:00 |
|
sin
|
fe62ed0d48
|
Preserve permissions when copying files
|
2014-02-18 16:51:54 +00:00 |
|
sin
|
73066131ab
|
Add Daniel Bainton to LICENSE
|
2014-02-18 12:54:25 +00:00 |
|
Daniel Bainton
|
080db637f8
|
Add the -F flag to ls
|
2014-02-18 12:54:16 +00:00 |
|
sin
|
c6f59aadbd
|
Simplify ln(1)
|
2014-02-17 11:44:18 +00:00 |
|
sin
|
13cbb19adc
|
Fix wrong length for sethostname()
This was messed up in the previous commit.
|
2014-02-14 15:13:20 +00:00 |
|
sin
|
5c6a17ef20
|
Remove who(1) from README
|
2014-02-14 15:09:55 +00:00 |
|
sin
|
386aa62b94
|
Remove who(1) from sbase
It now lives in ubase.
|
2014-02-14 15:08:52 +00:00 |
|
sin
|
efbce07f94
|
Use sysconf() instead of HOST_NAME_MAX
|
2014-02-14 15:03:16 +00:00 |
|
sin
|
7309302e25
|
Don't check remove() return value
|
2014-02-14 11:49:39 +00:00 |
|
sin
|
ac47a21b9b
|
Don't complain if we use -f in ln(1)
|
2014-02-14 11:25:12 +00:00 |
|
sin
|
43b472601d
|
Return proper error values in case execvp() fails
|
2014-02-13 13:09:00 +00:00 |
|
sin
|
79a913f4e6
|
We can't use eprintf etc. without using the arg.h macros.
|
2014-02-13 13:08:54 +00:00 |
|
sin
|
a79472bb1a
|
Minor fix for README
|
2014-02-12 18:39:31 +00:00 |
|
sin
|
f8dd426745
|
Add initial README
|
2014-02-12 14:36:00 +00:00 |
|
sin
|
3bf464c1d6
|
Use HOST_NAME_MAX in hostname(1)
|
2014-02-11 11:01:49 +00:00 |
|
sin
|
b0e4b45e3b
|
No need to use do { } while (0) construct
|
2014-02-04 16:51:34 +00:00 |
|
sin
|
136f2f3b60
|
Correct error message in uudecode(1)
|
2014-02-04 15:20:41 +00:00 |
|
sin
|
71461978f2
|
Error out on invalid mode in uudecode(1)
|
2014-02-04 15:19:23 +00:00 |
|
sin
|
df035a6a2c
|
Break out fclose()
|
2014-02-04 15:16:16 +00:00 |
|
sin
|
6da5fb7153
|
Rename check*() to parse*() to be consistent with the rest of sbase
|
2014-02-04 15:08:08 +00:00 |
|
sin
|
d7383490dc
|
Use chmod() directly
|
2014-02-04 15:08:02 +00:00 |
|
sin
|
bf2b270946
|
A couple more stylistic changes to uudecode(1)
|
2014-02-04 14:46:34 +00:00 |
|
sin
|
ed9985205b
|
Explicitly check for '\0' at the start and exit early
|
2014-02-04 14:38:43 +00:00 |
|
sin
|
c2db1b9ec6
|
Remember to fclose(nfp) as well
|
2014-02-04 14:35:13 +00:00 |
|
sin
|
4d8c3d4dc2
|
Simplify uudecode(1) and fix some bugs
|
2014-02-04 14:32:36 +00:00 |
|
dsp
|
7008d751b2
|
Initial commit of the uudecode tool and man page
Currently it operates only on regular files and does not
support Base64.
|
2014-02-02 20:50:31 +00:00 |
|
sin
|
d69ca7c9c3
|
Add FRIGN to LICENSE
|
2014-02-01 20:16:56 +00:00 |
|
FRIGN
|
a4d9b7b11e
|
Use PRIu32 and avoid cast
|
2014-02-01 20:16:14 +00:00 |
|
dsp
|
2e98468788
|
check for valid octal input and crude range check on that for validity
|
2014-02-01 19:50:52 +00:00 |
|
sin
|
31894adad2
|
Use printf() instead of fprintf() in uuencode(1)
|
2014-01-31 15:55:38 +00:00 |
|
sin
|
cb5733ea41
|
Make the buffer 45 bytes exactly for uuencode(1)
|
2014-01-31 15:45:26 +00:00 |
|
sin
|
b60882f206
|
Use putchar() instead of fputc() in uuencode(1)
|
2014-01-31 15:44:00 +00:00 |
|
sin
|
aab53ef197
|
Add uuencode(1)
|
2014-01-31 15:29:11 +00:00 |
|
sin
|
04a32251e4
|
Use uint32_t instead of unsigned int in cksum(1)
|
2014-01-31 13:53:28 +00:00 |
|
sin
|
c96fc3a382
|
Forgot to include these before
|
2014-01-30 21:51:01 +00:00 |
|
sin
|
4ba6c37839
|
Ensure we #undef strlcat and strlcpy
These may be implemented as macros so #undef them and use our own
implementation.
|
2014-01-30 21:04:01 +00:00 |
|
sin
|
f4609e2836
|
Remove stat(1) from sbase as it is not portable
This utility uses major()/minor() and they are not portable.
It belongs in ubase.
|
2014-01-30 16:26:40 +00:00 |
|
sin
|
e37e2782a9
|
Only use major()/minor() if they are available in tar(1)
Otherwise silently ignore them in the archive case. This is the
same in principle as what we do in the unarchive case.
|
2014-01-30 16:17:25 +00:00 |
|
sin
|
0a7791a25c
|
Use recurse() in tar(1) instead of ftw(3)
|
2014-01-30 14:55:38 +00:00 |
|
sin
|
94e97f19cd
|
No need to use enprintf() with EXIT_FAILURE
eprintf() does just that.
|
2014-01-30 14:55:26 +00:00 |
|
sin
|
b1b225c9ee
|
No need to print the name of the program
The name is printed automatically. Add some missing newlines
as well.
|
2014-01-30 14:55:18 +00:00 |
|
sin
|
fb12183c52
|
Add strlcpy()/strlcat()
Refactor recurse() routine in preparation to moving tar(1) over
to use it instead of the ftw() interface.
|
2014-01-30 14:55:05 +00:00 |
|
sin
|
08ff1c56e7
|
Update TODO
|
2014-01-30 11:44:29 +00:00 |
|
sin
|
c83aef2cda
|
Use preprocessor conditionals to check if makedev() is present
makedev() is not portable and is typically implemented as a
macro. If it exists use it, otherwise silently ignore character
and block devices.
|
2014-01-28 17:22:48 +00:00 |
|