Stephen McKay
68c42f006d
Use malloc() instead of alloca() to allocate a (potentially) large buffer
...
for storing the "diff -n" output. Some files (eg ports/INDEX,v) are too
big nowadays to fit on the stack.
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
2004-01-26 04:27:22 +00:00
Stephen McKay
b9927716c0
The log file is more useful when line buffered.
...
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
2004-01-26 04:08:43 +00:00
Warner Losh
f61a3412d9
No need to define externs for getopt interface.
2003-08-07 05:47:49 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Philippe Charnier
873c7a4e8f
Use err(3). Use An/Aq for author name.
1997-09-17 06:24:58 +00:00
Warner Losh
6c3f552a31
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Alexander Langer
8abdc2eb40
Sweep through the tree fixing mmap() usage:
...
- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.
Discussed with: bde
1997-01-16 21:58:40 +00:00
Poul-Henning Kamp
da18dc1a65
Don't dump core on zero-size files.
1996-11-21 15:17:04 +00:00
Poul-Henning Kamp
a5c57c4040
Make the case where there is no changes look less fatal.
1996-11-17 08:11:18 +00:00
Poul-Henning Kamp
e534982b63
Check bogus and ignore against the relative name, not the absolute.
1996-11-16 22:05:46 +00:00
Poul-Henning Kamp
9c0f44a5b3
Improve mkctm.c so we can use it, and start using it.
...
This should help quite a bit on the load. Notice that
some minor changes in config files will be needed.
Contact me for details.
1996-11-16 19:30:14 +00:00
Poul-Henning Kamp
1bccdd4ade
Commit the right version of mkCTM, <:-)
...
Noticed by: "Philippe Charnier" <charnier@lirmm.fr>
1996-05-14 07:25:59 +00:00
Poul-Henning Kamp
15bc0feba3
Update to current reality.
...
mkctm.c can replace the guts of mkCTM if anybody feels like it...
1996-05-09 20:54:06 +00:00