Hi,
Renamed from crypt to sum.
Thanks,
stateless
>From be2fbf8c8cb6ec434ad2d65ac3eeaf8882c60d77 Mon Sep 17 00:00:00 2001
From: sin
Date: Sun, 7 Jul 2013 15:29:45 +0100
Subject: [PATCH] Add sum.[ch] and update md5sum and sha1sum
Factor out the code from md5sum and sha1sum into a util function.
Attaching a patch for fixing a warning about XKeycodeToKeysym, by
replacing it with a call to XGetKeyboardMapping.
--
Sincerely,
Alexander Rødseth
Arch Linux TU
dwm-6.1-xgetkeyboardmapping.diff
Description: Binary data
> Renamed from crypt to sum.
I think crypt was a good name. cryptsum made sense as a function,
I think that printing should be removed from cryptsum, though.
Another function, cryptprint (or mdprint) could take a digest, and
a length. I believe this is a better separation of concerns.
v2 was good
On Fri, Jul 12, 2013 at 09:56:21AM -0500, Galos, David wrote:
> > Renamed from crypt to sum.
> I think crypt was a good name. cryptsum made sense as a function,
> I think that printing should be removed from cryptsum, though.
> Another function, cryptprint (or mdprint) could take a digest, and
> a
Thanks in large part to your information about how you invoke tar, I
believe I have come up with a decent solution. I also was able to
find the structified version of tar I had worked on in the past.
The argument parsing is a bit ugly, so simplifications are welcome,
provided they keep the current
And, here is that patch that I stupidly forgot to attach.
sbase-adding-tar-2.diff
Description: Binary data
On 2013-07-12, at 17:30, David Galos wrote:
> The argument parsing is a bit ugly, so simplifications are welcome,
> provided they keep the current functionality
The goto seems uncalled for. An ordinary if does the job equally well.
Also, I wonder if a mode variable isn't just as simple as the flg
OpenBSD doesn't have utmpx.h or clearenv. Also, the dependency
"$(BIN): util.a" seems to shadow the implicit build rule in BSD make,
resulting in nothing past util.a getting built. The patch includes a
rather stupid workaround for this. (Less stupid solutions welcome ---
it'd be simple to specify w
> OpenBSD doesn't have utmpx.h or clearenv.
Does it also not have "getutent"? Replacing clearenv with
environ=NULL is fine, though.
> it'd be simple to specify with a ".for", but then it'd be
> BSD-make--specific, and I don't feel like figuring out cross-platform
> makefiles.)
Good, we want nothin
> The goto seems uncalled for. An ordinary if does the job equally well.
> Also, I wonder if a mode variable isn't just as simple as the flg array.
Good catches. I probably went through 10 permutations of argument
parsing until I found the current one, so I'm not surprised that I missed
some simpli
Hi guys,
Since hopefully most of you are running http://st.suckless.org/ and
tmux, perhaps you'll find this bind interesting:
bind-key p capture-pane -S -32768 \; save-buffer /tmp/tmux-buffer \;
run "cat /tmp/tmux-buffer | curl -F 'sprunge=<-' http://sprunge.us
| tmux load-buffer -; tmux show-buf
11 matches
Mail list logo