Commit Graph

760 Commits

Author SHA1 Message Date
perry
ba29cbc528 Make sleep handle non-integer values. Document the same, noting that
the extension is grotesquely non-portable.

As requested by Denny Gentry in pr-3914. He supplied some code, but I
used all my own code in the change, and wrote documentation for the
man page.

This is creeping featurism at its worst. I added it only because I
can't see a good reason for refusing. However, I'm disgusted with
myself for doing it anyway.
1997-08-04 01:13:07 +00:00
mikel
3bf516f09b kill extra space 1997-08-03 04:27:37 +00:00
mikel
6e662001bc use %c not %C for lstart; from tetsuya@secom-sis.co.jp via OpenBSD 1997-08-03 01:57:04 +00:00
thorpej
fc68ce7e4e Cast some printf arguments to keep the compiler happy on the Alpha. 1997-07-30 05:07:22 +00:00
thorpej
cd1c0efc7e Cast off_t's to (long long) for printing with %q*, for the Alpha. 1997-07-30 05:04:23 +00:00
thorpej
f566fe5da3 Add some casts to printf args to keep the compiler happy on the Alpha. 1997-07-30 05:01:01 +00:00
scottr
2b51de1aee #if __GNUC__, work around bogus initialization warning that occurs on
at least the m68k-based ports.
1997-07-25 23:53:54 +00:00
phil
d355fd58e8 Do multiply in lseek calls as off_t arithmetic. This allows for seeks
of more than INT_MAX.  Removed Check for INT_MAX as maximum seeks.
Fixes PR 2101.
1997-07-25 06:46:23 +00:00
augustss
45bde16e1a Fix paren typo so `ed' can edit files again. 1997-07-23 23:39:19 +00:00
christos
23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos
4a3a58b6f2 Fix compiler warnings.
Add WARNS=1
1997-07-20 21:58:35 +00:00
christos
e028842ec8 Fix compiler warnings.
Add WARNS=1
1997-07-20 21:28:26 +00:00
christos
c996803cad PR/3888: Chris Demetriou: type command-with-slash prints
$PATH[0]/command-with-slash...
1997-07-20 21:27:35 +00:00
christos
25b23032f5 Fix compiler warnings.
Add WARNS=1
1997-07-20 20:51:08 +00:00
christos
e800d25ed8 Fix compiler warnings
Add WARNS=1
1997-07-20 20:47:31 +00:00
christos
0a472b8370 Add WARNS=1 1997-07-20 20:43:53 +00:00
christos
e06ec2b8bd Fix compiler warnings.
Add WARNS=1
1997-07-20 20:39:44 +00:00
christos
78295c8bc1 Fix compiler warnings
Add WARNS=1
1997-07-20 20:37:53 +00:00
christos
f3cd602281 - Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
1997-07-20 20:32:15 +00:00
christos
9d27dbbac5 - Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
1997-07-20 20:32:12 +00:00
christos
d91f759e44 include <pwd.h> and <grp.h> to bring prototypes into scope. 1997-07-20 19:20:01 +00:00
christos
3c953c7e32 Fix compiler warnings.
Add WARNS=1
1997-07-20 19:07:49 +00:00
christos
f5b66975d0 remove user_from_uid and group_from_gid prototypes. 1997-07-20 19:07:05 +00:00
christos
2e55bdaf6f Fix compiler warnings.
Add WARNS=1
1997-07-20 18:59:27 +00:00
christos
d3e25e3b59 Fix compiler warnings
Add WARNS=1
1997-07-20 18:55:28 +00:00
christos
b22592e84f Fix compiler warnings.
Add WARNS=1
1997-07-20 18:52:57 +00:00
christos
81aa60edd5 Fix compiler warnings.
Add WARNS=1
1997-07-20 17:44:40 +00:00
christos
90647eb832 Fix compiler warnings
Add WARNS=1
1997-07-20 17:41:56 +00:00
christos
51e9bcec47 Add WARNS=1 1997-07-20 17:34:50 +00:00
christos
1ebc470e07 Fix compiler warnings; add WARNS=1 1997-07-20 17:32:57 +00:00
christos
18078c1896 Avoid the last warnings and add WARNS=1 1997-07-20 17:22:15 +00:00
thorpej
8b7ade1ab8 - Use __RCSID() and __COPYRIGHT().
- Fix (all but two) compiler warnings.
1997-07-20 06:35:35 +00:00
thorpej
9062adba6c Build with WARNS 1997-07-20 06:07:26 +00:00
thorpej
ec35801f12 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-20 06:07:03 +00:00
thorpej
5d35d16842 Build with WARNS. 1997-07-20 06:04:43 +00:00
thorpej
f1def73079 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-20 06:04:11 +00:00
thorpej
75e9acf559 Build with WARNS 1997-07-20 06:01:01 +00:00
thorpej
b271f361f1 - Use __COPYRIGHT() and __RCSID().
- Fix compiler warnings.
1997-07-20 06:00:39 +00:00
thorpej
999a0da954 Make sure printf field widths are "int"s. 1997-07-20 05:31:47 +00:00
thorpej
ed53b9b6c3 Build with WARNS 1997-07-20 05:18:14 +00:00
thorpej
a71a8b8761 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-20 05:17:33 +00:00
thorpej
1a9f01767d Build with WARNS. 1997-07-20 05:13:57 +00:00
thorpej
efc20a3095 - Use __COPYRIGHT() and __RCSID()
- Fix compiler warnings.
1997-07-20 05:13:36 +00:00
thorpej
553c5b7377 Build with WARNS. 1997-07-20 04:51:31 +00:00
thorpej
85a7e9878b - Use __COPYRIGHT() and __RCSID().
- Fix compiler warnings.
1997-07-20 04:51:02 +00:00
thorpej
e4d1e32ab0 Build with WARNS. 1997-07-20 04:45:24 +00:00
thorpej
baebd086f9 - Use __COPYRIGHT() and __RCSID().
- Fix compiler warnings.
1997-07-20 04:44:53 +00:00
thorpej
91816b39da Add WARNS. 1997-07-20 04:35:17 +00:00
thorpej
7d87f9c404 __COPYRIGHT()/__RCSID()/prototype police. 1997-07-20 04:34:33 +00:00
thorpej
d891aff808 Cast the result of pointer arithmetic to "long", and use %ld to print it. 1997-07-18 17:46:59 +00:00