Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use __progname and warn instead of fprintf where appropriate. | 2007-04-07 | 1 | -5/+6 | ||
| | ||||||
* | De-lint. | 2007-04-07 | 1 | -4/+5 | ||
| | ||||||
* | Warn if one of the required fields is not filled out. Requested | 2007-04-06 | 1 | -1/+74 | ||
| | | | | by millert@. | |||||
* | Don't shadow variables. Enable -Wshadow. | 2007-04-06 | 2 | -12/+12 | ||
| | ||||||
* | argc does not include __progname after subtracting optind. | 2007-04-06 | 1 | -2/+2 | ||
| | ||||||
* | Only include newest dmesg. | 2007-04-06 | 1 | -25/+47 | ||
| | | | | ``Come on, take some risks'' deraadt@. | |||||
* | Attach dmesg to sendbug reports by default. Use -D flag to disable. | 2007-04-06 | 2 | -9/+49 | ||
| | | | | OK deraadt@ and millert@. | |||||
* | flesh the text out; ok ray | 2007-03-28 | 1 | -18/+32 | ||
| | ||||||
* | +.Xr crash 8 | 2007-03-28 | 1 | -1/+3 | ||
| | ||||||
* | CC: a copy of the bug report to sender. Requested by Travers Buda. | 2007-03-28 | 1 | -2/+2 | ||
| | | | | OK millert@. | |||||
* | Replace some scary pointer code. The new code is O(n^2) for strings | 2007-03-27 | 1 | -24/+29 | ||
| | | | | | | | | of '&', but gecos fields are usually short and most do not have '&' so the impact should be minimal. In return we get clearer and safer code. OK moritz@. | |||||
* | Remove variable name from prototype. | 2007-03-27 | 1 | -2/+2 | ||
| | ||||||
* | - tweak the opening sentence | 2007-03-26 | 1 | -8/+10 | ||
| | | | | | | | - be less precise about editors in the opening blurb - note that prs are not confidential, and provide an alternative ok ray deraadt | |||||
* | Simplify gecos parsing code and prevent buffer overflow | 2007-03-26 | 1 | -12/+8 | ||
| | | | | | | | when gecos field contains multiple '&' characters with other characters inbetween. With and OK ray@ | |||||
* | Remove pointless cast. No binary change. | 2007-03-26 | 1 | -2/+2 | ||
| | ||||||
* | Break on waitpid success; we shouldn't continue on WIFSIGNALED, and | 2007-03-26 | 1 | -2/+2 | ||
| | | | | | | WIFCONTINUED can't happen in this case. OK deraadt@. | |||||
* | Certain errors in editit() should be fatal. | 2007-03-26 | 1 | -2/+3 | ||
| | ||||||
* | Don't print warnings in editit(), instead make errno reliable on | 2007-03-26 | 1 | -7/+6 | ||
| | | | | | | failure. If the editor exits non-zero, errno is set to ECHILD. OK deraadt@. | |||||
* | Accept $VISUAL in addition to $EDITOR. | 2007-03-26 | 2 | -6/+18 | ||
| | ||||||
* | Save and restore signal handlers. Although we do not install our | 2007-03-26 | 1 | -10/+11 | ||
| | | | | | | | own signal handlers, this allows this code to be more easily reused in other programs. OK deraadt@ | |||||
* | Restore errno before calling perror(). | 2007-03-26 | 1 | -1/+2 | ||
| | ||||||
* | Check fork() == -1 instead of fork() < 0. | 2007-03-26 | 1 | -2/+2 | ||
| | ||||||
* | When someone hits ^C in an editor, the editor does exit(130), I | 2007-03-26 | 1 | -4/+1 | ||
| | | | | | | | | | don't know why. Something to do with the shell, says deraadt@. Continuing to ignore these signals in the child fixes this. Now editit()'s return value can be reliably checked. OK deraadt@. | |||||
* | more careful waitpid() discussed with ray (plus some knf) | 2007-03-26 | 1 | -15/+19 | ||
| | ||||||
* | fork() does not return EPROCLIM, so don't test for it. | 2007-03-25 | 1 | -6/+1 | ||
| | ||||||
* | more cleaning :) | 2007-03-25 | 1 | -35/+28 | ||
| | ||||||
* | Change editit() to return -1 on error and 0 on success, like many | 2007-03-25 | 1 | -6/+6 | ||
| | | | | other C functions. (Currently this return value is unchecked.) | |||||
* | KNF. | 2007-03-25 | 1 | -5/+5 | ||
| | ||||||
* | Save errno before calling signal(). | 2007-03-25 | 1 | -3/+5 | ||
| | ||||||
* | correct signal handling and process waiting for the editor spawning | 2007-03-23 | 1 | -18/+63 | ||
| | | | | | code, so that signals in the editor are handled right. written by ray after he started looking at other code that does this better | |||||
* | Since we now have our own program, we can export more things that | 2007-03-23 | 1 | -4/+23 | ||
| | | | | matter. Include kern.version, which tells a hell of a lot. ok millert ray | |||||
* | missing .El; | 2007-03-23 | 1 | -1/+2 | ||
| | ||||||
* | Document temporary files. | 2007-03-23 | 1 | -1/+5 | ||
| | ||||||
* | Add more bloat to manual. | 2007-03-23 | 1 | -6/+8 | ||
| | ||||||
* | Flags belong under SYNOPSIS, not NAME. | 2007-03-23 | 1 | -2/+2 | ||
| | ||||||
* | Alphabetize flags and environment variables. | 2007-03-23 | 1 | -6/+6 | ||
| | ||||||
* | Replace `&' in gecos field with login, prodded by deraadt@. | 2007-03-23 | 1 | -7/+34 | ||
| | ||||||
* | simplify cleanup by using an atexit handler. lets us use err() instead | 2007-03-23 | 1 | -42/+36 | ||
| | | | | | of a series of warn()/gotos. ok deraadt | |||||
* | re-org something for prettiness | 2007-03-23 | 1 | -3/+5 | ||
| | ||||||
* | support $PR_FORM environment variable | 2007-03-23 | 2 | -4/+31 | ||
| | ||||||
* | Don't insert double slashes ("/tmp//p.XXXXXXXXXX") if TMPDIR ends | 2007-03-23 | 1 | -2/+3 | ||
| | | | | in "/". Helps emacs and deraadt@. | |||||
* | Support command-line arguments in $EDITOR. Prodded by deraadt@. | 2007-03-23 | 1 | -4/+6 | ||
| | ||||||
* | spacing | 2007-03-23 | 1 | -3/+3 | ||
| | ||||||
* | -V in usage | 2007-03-23 | 1 | -2/+2 | ||
| | ||||||
* | document -L -V and -P options. still a bit short | 2007-03-23 | 1 | -1/+18 | ||
| | ||||||
* | add -V (version) support | 2007-03-23 | 1 | -5/+9 | ||
| | ||||||
* | Get rid of silly gcc warning. | 2007-03-23 | 1 | -2/+5 | ||
| | | | | OK deraadt@. | |||||
* | handle the -L and -P options; ok ray | 2007-03-23 | 1 | -2/+29 | ||
| | ||||||
* | some minor KNF, including sentinals; ok ray | 2007-03-23 | 1 | -9/+9 | ||
| | ||||||
* | Import public domain rewrite of sendbug, written by Ray Lai. =) | 2007-03-23 | 5 | -0/+470 | ||
Replaces GNU sendbug/sendpr, the wonderful shell script that had trouble dealing with signals, behaved differently depending on what file it read upon startup, and suffered from issues plaguing most large shell scripts. OK deraadt@. |