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
christos
18ad58a639
PR/3866: bayer@informatik.uni-leipzig.de: core dump using xon script.
...
cmdenviron is pointing to varlist.list; varlist gets reset everytime
you enter evalcommand, but cmdenviron does not. The wonders of global
variables...
1997-07-15 17:49:15 +00:00
christos
1eb178df64
Fix Sparcworks warnings.
1997-07-15 17:45:53 +00:00
christos
bb5e01d099
Don't re-define setjmp/longjmp in the svr4 case
1997-07-15 17:44:32 +00:00
phil
1d304ac34c
Add a missing ) in the description of the builtin "set".
1997-07-10 23:07:04 +00:00
jtc
c56d18f4cb
/var/spool/mail -> /var/mail
1997-07-09 02:54:38 +00:00
jtc
408b1c68b0
/usr/spool/mail -> /var/spool/mail
1997-07-09 02:37:59 +00:00
phil
64eb899e5a
Make code agree with man page in processing expansion of "$*".
...
Fix from PR 2647.
1997-07-07 20:41:10 +00:00
christos
5accccd051
Fix problem introduced in yesterday's commit that broke both signed and
...
unsigned character machines. So that people don't have to reverse engineer
this again:
mksyntax detects if characters are signed or not and builts a syntax
table that has a base of 129 for signed characters or 1 for unsigned
characters. This is so the largest negative signed char [-128] + the
base == 1. 0 is special and means end of file in both cases. PEOF
is -1 for the unsigned character case and -129 for the signed
character case, so that syntax[PEOF + base] == syntax[0] == CEOF
So PEOF has to be -1, but it is explicitly compared with
unsigned characters on machines where characters are unsigned.
The quick fix is to define UPEOF the (unsigned char) version of PEOF
and use that. A better fix is to always use unsigned characters
when referencing symbol table entries, but that would require
extensive changes to the shell. So to summarize
syntax[0] == CEOF, base + PEOF == 0
unsigned signed
base 1 129
PEOF -1 -129
1997-07-05 21:25:09 +00:00
christos
687f7852d9
Make the syntax tables work on machines where characters are unsigned.
1997-07-04 21:40:55 +00:00