jtc
0ff865f224
Use <dirent.h> instead of <sys/dir.h>.
1993-12-04 01:08:35 +00:00
deraadt
27e94f1e34
fill hostname:tty field in same way as SunOS
1993-12-03 23:39:15 +00:00
deraadt
28b31be6fa
put -t in the usage line
1993-12-03 23:34:10 +00:00
jtc
5f2d1e881c
Since we're not installing a shared library, don't compile PIC objects.
1993-12-03 19:01:24 +00:00
deraadt
feb763311e
i love ansi
1993-12-03 10:37:14 +00:00
mycroft
f6b073c4ee
Patch from Frank van der Linden <vdlinden@fwi.uva.nl> to handle 57600 and
...
115200 baud. Baud rate checking code disabled completely when using termios.
1993-12-02 22:58:58 +00:00
mycroft
10d825f2df
Frank van der Linden <vdlinden@fwi.uva.nl> reported that tset could not handle
...
baud rates of 57600 and 115200. Just eliminate the explicit baud rate checking
altogether and use atoi().
1993-12-02 22:42:50 +00:00
mycroft
0eb7e4d17a
Patch from Frank van der Linden <vdlinden@fwi.uva.nl> to deal with 57600 and
...
115200 baud. I disabled it altogether unless OLD_TTY is defined, since we
don't need to deal with quantum baud rates.
1993-12-02 22:34:42 +00:00
pk
10e08ca597
#include <sys/types.h> (needed for future <sys/resource.h>)
1993-12-02 19:58:29 +00:00
pk
8ba2ec6a06
Include <sys/types.h> (needed in future because of <sys/resource.h>)
1993-12-02 19:52:01 +00:00
jtc
5bf99b7657
Upgraded to Flex 2.4.2.
1993-12-02 19:17:24 +00:00
jtc
e00306a5bb
Lex library for Flex 2.4.2.
1993-12-02 19:14:27 +00:00
pk
43bfc12541
Another dummy call graph module.
1993-12-02 19:12:21 +00:00
jtc
004d3ba93e
First pass at documenting YP clients.
1993-12-02 18:37:54 +00:00
mycroft
a284fbc30e
Remove ${DESTDIR} from BINDIR.
1993-12-02 07:21:19 +00:00
mycroft
23cbd7cc0b
Oops. Fix typo.
1993-12-02 04:30:47 +00:00
mycroft
7888a80f6c
Make sure we check the tty `secure' status even if root has no password.
...
Suggested by Havard Eidnes <Havard.Eidnes@runit.sintef.no>, but reimplemented
due to bugs in his patch.
Also, don't display `root login refused ...' if the password was mistyped.
1993-12-02 04:24:05 +00:00
mycroft
84f6895ad3
As suggested by Xavier Leroy <xavier@Theory.Stanford.EDU>, make sure we don't
...
flag a short read on the 2nd file as an EOF when it isn't. This implementation
differs in that at most one read is done per file per comparison, so that an
early mismatch may avoid hanging on input or continuing some expensive process
if reading from a pipe.
1993-12-02 01:56:04 +00:00
cgd
fedc5faddb
fix from Frank van der Linden <vdlinden@fwi.uva.nl> to DTRT when given a
...
filename on the command line.
1993-12-01 22:31:06 +00:00
pk
1f4ccfa0cd
Recognise AR_EFMT1 format.
1993-12-01 08:56:58 +00:00
cgd
f788e05de2
from Jarle.F.Greipsland@idt.unit.no:
...
find_cycle was trying to find the longest cycle that a given node is part of,
which is a really, really hard problem (exponential?). instead, just detect
cycles. since the only difference is the (std error) output which is printed,
all works out OK.
1993-12-01 05:34:16 +00:00
jtc
5187624c00
Use ".St -p1003.2-92" macro instead of spelling it out.
1993-11-30 00:36:01 +00:00
jtc
b9e1a8c55a
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
1993-11-30 00:19:51 +00:00
jtc
b79c476d97
Use ".At v7" macro instead of spelling out "Version 7 AT&T UNIX".
1993-11-30 00:18:19 +00:00
jtc
93a125034a
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
1993-11-30 00:11:45 +00:00
jtc
0e4b463504
Error in hextobin() macro messed up hex escape constants.
1993-11-25 04:42:11 +00:00
jtc
4d9f06c8e5
Get rid of otoi(), use strtoul() instead. Not only gets rid of a function,
...
but allows hex offsets as well.
Misc other minor tweaks.
1993-11-23 00:50:46 +00:00
brezak
8af3b17eb0
Use rnusers XDR's in librpcsvc.
1993-11-21 20:18:22 +00:00
mycroft
c018c0e0fe
Oops. Don't want the name spaced out.
1993-11-21 20:02:28 +00:00
mycroft
29ed1ec94a
Make sure we don't run off the end of ut_name when printing the short way.
1993-11-21 19:54:19 +00:00
brezak
a4fc624fbb
Cleanup to use hand-crafted version2 xdr's
1993-11-21 19:01:01 +00:00
mycroft
5a05271ae9
From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
...
Fix typo in comment line for RCS id.
1993-11-20 22:25:19 +00:00
mycroft
824c494570
From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
...
Patch to prevent core dumping when linked dynamically.
1993-11-20 22:24:17 +00:00
jtc
4c35e0b3ba
Oops! get rid of the free(), mklong()'s buffer no longer malloc()'d.
1993-11-19 21:08:17 +00:00
jtc
fac5e167cc
Return from main() if a \c escape is encountered in a %b string (was an exit()).
...
Use macro constants for "skip1" and "skip2" instead of assigning them
each loop iteration.
Reformat the multi-case entries in the "big switch" so the lines don't wrap.
1993-11-19 21:05:37 +00:00
jtc
563de0f1c5
Move all the code from do_printf() into do-while loop in main(). I need
...
to be able to return from main() when a "\c" in a %b string is encountered.
1993-11-19 20:50:27 +00:00
jtc
d1a877c5ed
Merged in most of the changes from 4.4 necessary to make printf a sh
...
and csh builtin --- still need to handle the one remaining exit() in
the SysV escape string handling code.
1993-11-19 20:30:57 +00:00
jtc
6b9684b200
As of POSIX.2, getopt returns -1 instead of EOF on error. Changed the code
...
to match just in case someone changes the value of EOF.
1993-11-19 20:07:13 +00:00
jtc
404b36ffd9
POSIX.2 utilities must call setlocale(LC_ALL, "");
1993-11-19 20:06:41 +00:00
jtc
2f96f1561b
As of POSIX.2, getopt returns -1 instead of EOF on error. Changed the code
...
to match just in case someone changes the value of EOF.
1993-11-19 19:58:46 +00:00
pk
7d1b345792
`undo' should mark the file as modified.
1993-11-19 12:53:32 +00:00
cgd
57d09332b9
use fread(), not read(), pending Vern Paxson's decision of what
...
to do in the next version of flex. bug reported by klier@cs.tu-berlin.de .
1993-11-19 05:11:46 +00:00
mycroft
6d45a1eb4c
Another patch from Thomas Eberhardt. Don't bother to poke at the data segment
...
if it looks like it's already been minimized.
1993-11-19 02:40:46 +00:00
mycroft
2dc7cf301c
Patch originally from Thomas Eberhardt to strip trailing zeroes at the end of
...
the data segment. Further modifications by me.
1993-11-19 02:24:40 +00:00
mycroft
20750ec6fd
From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
...
2. strip(1) shouldn't abort when processing a file and it detects
an error (rationale: nm and size don't do this either).
3. strip(1) doesn't free the memory it has allocated.
4. added a very simple minded check so strip(1) doesn't dump core on
bad files.
1993-11-18 21:09:10 +00:00
mycroft
bae698d319
From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
...
Remember to close the file if it's bad.
1993-11-18 21:00:39 +00:00
cgd
13a05bbbac
fix that last
1993-11-17 12:05:46 +00:00
cgd
9dbc9844f9
long lost fix from Christos Zoulas (?) for inf. loop problem
1993-11-17 12:01:04 +00:00
cgd
cf60e8dfa8
fix from Dave Matthews <dave@prlng.co.uk>, with modifications by cgd:
...
Bug Description:
Two different bugs in join. One causes a segmentation fault if
increasing the space by 100 is not enough. The other gives the
wrong results because the program saves a pointer to the original
buffer rather than to the area where the lines have been copied.
1993-11-15 09:30:52 +00:00
cgd
da7153daca
add ipcs and ipcrm
1993-11-14 16:30:45 +00:00