Re: [dev] [sbase] [PATCH] tar: support -f - as stdin/out

2015-05-12 Thread Eivind Uggedal
On Tue, May 12, 2015 at 10:10 PM, Dmitrij D. Czarkoff wrote: > On OpenBSD without "-f" tar opens /dev/rst0 or whatever TAPE is set to. This was the main reason I created the patch. I ported OpenBSD pax/tar and I'm using it now for my distro. Since it defaults to the tape dev without -f- I have no

[dev] [sbase] [PATCH v2] tar: support -f - as stdin/out

2015-05-12 Thread Eivind Uggedal
--- tar.1 | 4 +++- tar.c | 22 +++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/tar.1 b/tar.1 index 6341e17da4d0..ff6578b56d5c 100644 --- a/tar.1 +++ b/tar.1 @@ -32,7 +32,9 @@ before beginning. .It Fl f Ar file Set .Ar file -as input | output archive ins

[dev] [sbase] [PATCH] tar: support -f - as stdin/out

2015-05-12 Thread Eivind Uggedal
--- tar.1 | 4 +++- tar.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tar.1 b/tar.1 index 6341e17da4d0..ff6578b56d5c 100644 --- a/tar.1 +++ b/tar.1 @@ -32,7 +32,9 @@ before beginning. .It Fl f Ar file Set .Ar file -as input | output archive instead of stdin | stdout. +

[dev] [sbase] [PATCH 1/2] ln: only check existence of src/to for hardlinks

2015-05-08 Thread Eivind Uggedal
This allows for creating dangling symlinks with force applied: # Before: $ ln -sf non-existant target ln: stat non-existent: No such file or directory $ ls -l target ls: lstat target: No such file or directory # After: $ ln -sf non-existant target $ ls -l target

[dev] [sbase] [PATCH 2/2] ln: exit non-zero when errors accured

2015-05-08 Thread Eivind Uggedal
--- ln.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ln.c b/ln.c index 2bfdbbdeacc6..bbda8215716f 100644 --- a/ln.c +++ b/ln.c @@ -19,7 +19,8 @@ int main(int argc, char *argv[]) { char *fname, *to; - int sflag = 0, fflag = 0, hasto = 0, dirfd = AT_FD

Re: [dev] [dwm] Focus bug in 5.6 when using unclutter

2009-08-03 Thread Eivind Uggedal
ns before submitting my report. -noevents works to some degree, apart from a small glitch on the first window focus change after the cursor has been hidden. -grab works flawlessly with the latest dwm tip though. Thanks for the reminder! -- Cheers, Eivind Uggedal Bekk Consulting AS

[dev] [dwm] Focus bug in 5.6 when using unclutter

2009-08-03 Thread Eivind Uggedal
highlight which code path triggers the described behavior and is not meant as a patch for fixing the bug. [1]: http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README [2]: http://code.suckless.org/hg/dwm/rev/37e3b2a40f6f -- Cheers, Eivind Uggedal diff -r aefd753cfe9b dwm.c --- a/dwm.c