Hiya
Yo!
Here's the updated version of vidfont/kbdmap. The changes are:
WARNS=6 clean
80 columns max
Now uses 'mkstemp()' rather than 'mktemp()'
Fixed a couple of dumb bugs
Copyrights added
Removed '{}' from single lines
Default strings now in vidfont.h
Good!
I'll check out and
Hiya
Here's the updated version of vidfont/kbdmap. The changes are:
WARNS=6 clean
80 columns max
Now uses 'mkstemp()' rather than 'mktemp()'
Fixed a couple of dumb bugs
Copyrights added
Removed '{}' from single lines
Default strings now in vidfont.h
Cheers,
--Jon
http://www.witchspace.com
o Please shorten any long line or comment to less than 80 columns
This is quite tricky when using 8 character tabs. Is 4 character indent
okay for userland source?
Real tabs are best. Look at style(9) for ways to break the long
lines.
It is ok to break very long
lines
On (2002/06/25 10:20), Mark Murray wrote:
How's this?
int handle;
template = /tmp/mumble;
char *cmd;
handle = mkstemp(template); // template is modified
asprintf(cmd, prog %s, template);
system(cmd);
close(handle); // bye-bye file
It would be failsafe if you tested that
* Mark Murray [EMAIL PROTECTED] [020625 02:26] wrote:
I couldn't see a simple way around this, any clues?
How's this?
int handle;
template = /tmp/mumble;
char *cmd;
handle = mkstemp(template); // template is modified
asprintf(cmd, prog %s, template);
system(cmd);
Kinda buggy. :)
Ya, ya, ya. :-)
That was the concept model. The actual author can make it robust. :-)
M
--
o Mark Murray
\_
O.\_Warning: this .sig is umop ap!sdn
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message
Mark Murray wrote:
Okay, here's my vidfont/kbdmap rewrite for review. Any feedback
is welcome, the same goes for bug reports :-)
Cool, thank you very much!
Some comments:
o Please put a copyright on the top of this. By preference, please use
On Mon, Jun 24, 2002 at 08:46:22PM +0100, Jonathan Belson wrote:
Mark Murray wrote:
o Please do not use mktemp(); use mkstemp() instead.
I used mktemp() to get a filename to redirect to, eg.
/* Improvised example */
char *cmd;
asprintf(cmd, prog %s, mktemp(blah));
system(cmd);
Mark Murray wrote:
These seem to be the same program. I'll take this if there are no
objections.
You have it!
Okay, here's my vidfont/kbdmap rewrite for review. Any feedback
is welcome, the same goes for bug reports :-)
Cool, thank you very much!
Some comments:
o Please put a
Mark Murray wrote:
These seem to be the same program. I'll take this if there are no
objections.
You have it!
Okay, here's my vidfont/kbdmap rewrite for review. Any feedback
is welcome, the same goes for bug reports :-)
Cheers,
--Jon
http://www.witchspace.com
#include sys/queue.h
On Thu, 2002-05-09 at 07:41, Mark Murray wrote:
On Thu, 2002-05-09 at 03:57, Mark Murray wrote:
/usr/sbin/rmuser Wrapper round pw userdel?
I took this one while the discussion was going on the past couple of
days. It's at:
http://home.pacbell.net/makonnen/rmuser.sh
It also
On Fri, May 10, 2002 at 01:56:16AM -0600, Mike Makonnen wrote:
The problem with writing man pages is, if you don't do it often enough
you keep having to relearn it every time you do (which is why I wised up
/usr/share/examples/mdoc/example.{1,3,4}
To Unsubscribe: send mail to [EMAIL
On Fri, 2002-05-10 at 02:56, David O'Brien wrote:
On Fri, May 10, 2002 at 01:56:16AM -0600, Mike Makonnen wrote:
The problem with writing man pages is, if you don't do it often enough
you keep having to relearn it every time you do (which is why I wised up
On Fri, May 10, 2002 at 01:56:16AM -0600, Mike Makonnen wrote:
The problem with writing man pages is, if you don't do it often enough
you keep having to relearn it every time you do (which is why I wised up
after about the third time or so this happened to me I created a cheat
sheet). What
On 09-May-2002 (15:38:45/GMT) Mark Murray wrote:
I tryed this one. I'm not a committer, just a volunteer :-)
You're on! Please put appropriate (c) on this (Preferably
2-clause BSD license) and I'll commit it for you :-)
Ahemm, I'm not sure to have done correct job. Please review last
On 09-May-2002 (15:38:45/GMT) Mark Murray wrote:
I tryed this one. I'm not a committer, just a volunteer :-)
You're on! Please put appropriate (c) on this (Preferably
2-clause BSD license) and I'll commit it for you :-)
Ahemm, I'm not sure to have done correct job. Please review
Mark Murray wrote:
[bogus From: address, because people cannot be bothered to respect Reply-To
:]
On Thu, May 09, 2002 at 10:57:00AM +0100, Mark Murray wrote:
It would be acceptable to rewrite in C (C++?)
NO! for rewriting in C++. If you do, you'll soon see the consequences.
17 matches
Mail list logo