christos
e7dc83d9f1
PR/15888: Jarkko Teppo: Problems building on HP/UX
...
1. Compensate for h-pox assert brain damage where it gets confused by the
string in: assert(!memcmp(foo, "in", 2)); I miss the h-pox broken compiler,
I had not had to work around it for years.
2. Oh, finally h-pox has random() and utimes(). We don't need our own anymore.
2002-03-12 20:15:15 +00:00
tv
011931b3b4
Add <errno.h> to list of includes, from <imago@13thmonkey.org>,
...
in PR toolchain/15386.
2002-03-02 03:56:02 +00:00
reinoud
a233fbd53e
Fix major bug in make(1) ... due to shadowing of the dotLast path used for
...
the .DOTLAST primitive by a boolean variable with the same name, this whole
mechanism was broken ... it doesn't save much stat calls but it was wrong.
Thanks to Jason Thorpe for the other shadow-variable fixing patches he
made.
2002-01-27 01:50:54 +00:00
tv
3dc61f3b98
Make util.c replacement functions use autoconf conditionals to probe
...
what is Really available in the host OS.
2002-01-25 17:51:31 +00:00
tv
591ad135c6
Add __CYGWIN__ to list of exceptions from homegrown strftime().
...
(XXX - This should be an inclusive, not exclusive, list. Later, this
should be autoconfiscated, but keep the internal implementation, since
src/tools/compat isn't necessarily available for use at make's build time.)
2001-12-11 20:37:24 +00:00
christos
e8b09532bb
PR/10714: SUNAGAWA Keiki: Add newer hpux support, but without removing the
...
old hpux support.
2000-08-03 15:53:24 +00:00
drochner
df45d3b6cf
support OSF/1
2000-05-04 18:29:53 +00:00
wrstuden
f21e998aad
Add a few little changes needed to get this to compile on IRIX 6.4.
2000-01-06 22:23:20 +00:00
christos
7057287c54
PR/8259: Chris Demetriou: Fix stack overflow bugs exposed by the glibc-2.1.1
...
Makefile. Use snprintf everywhere.
1999-09-04 04:21:28 +00:00
simonb
dcb4cadef7
Don't need strftime() on Ultrix either.
1999-08-27 00:47:25 +00:00
christos
516292d398
apply solaris fixes
1999-06-29 07:44:21 +00:00
christos
8001a619fc
use emalloc() instead of malloc()
1999-03-19 16:11:02 +00:00
christos
889ce7db6e
- full prototypes
...
- more conservative printf
- char -> unsigned char
1998-11-06 23:31:09 +00:00
christos
ff08129ca5
strftime is not needed for svr4 machines; also fix the prototype footprint.
1998-10-18 14:24:16 +00:00
christos
aed39ca72c
PR/6174: ITOH Yasufumi: Purify bug and a compile error in utility code.
1998-09-18 20:15:36 +00:00
christos
79400c03dd
Y2K fixes: use strftime(), and add a fake strftime() for systems that do
...
not have it.
1998-02-04 14:47:39 +00:00
lukem
2ba9e97765
wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAP
1997-09-28 03:30:58 +00:00
christos
87d111ebee
#if __STDC__ -> #ifdef __STDC__
1997-07-11 20:17:37 +00:00
christos
4507c82bcc
sprintf -> vsprintf
1997-07-11 20:16:01 +00:00
christos
254d64f064
Add WARNS=1
...
RCSID police
1997-07-01 21:17:00 +00:00
christos
9981dd99c2
Apparently, using _doprnt(_IOREAD) to emulate vsnprintf() on SVR4 *sometimes*
...
core-dumps; use sprintf()+strlen() for now.
1997-06-07 16:42:31 +00:00
christos
59a3352108
implement snprintf() and vsnprintf() for non BSD4_4 systems.
1996-12-31 17:56:04 +00:00
christos
2f197a9f4d
Fir PR/2930: declare missing variable.
1996-11-11 15:16:10 +00:00
christos
aa49881371
- Merge in FreeBSD and Lite2 changes.
...
- Fix bug where a non-archive target with a .a suffix would always
be considered to be out of date, since it does not have a TOC.
1996-11-06 17:58:58 +00:00
thorpej
bbb4184355
Tidy up some RCS ids a bit.
1996-08-30 17:59:37 +00:00
christos
22770fe8ea
Add strdup() since ultrix is missing it.
...
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:41:15 +00:00
christos
6611cb1d0d
Updates for POSIX/SVR4 compiling:
...
arch.c: Don't require ranlib stuff. Not everybody has it.
dir.c: SunOS-4 != Solaris; change #ifdef sun to #if sun && !__svr4__
job.c, compat.c: Don't use 'union wait', use int and the W*() macros.
main.c: Check for uname() == -1; some unames return > 0...
util.c, job.c: Add signal() with BSD semantics for svr4, don't use bsd
sigmask and friends.
1995-11-22 17:39:53 +00:00
christos
b5f782e810
- $NetBSD$ rcsids
...
- Fixed so that .[A-Z]* targets that do not match keywords are ignored as
Posix mandates
- Added .PHONY target keyword
1995-06-14 15:18:37 +00:00
mycroft
e046f69de1
Use getcwd(3), not getwd(3), and remove some old, unused compatibility code.
1994-09-23 09:33:21 +00:00
glass
0b84fdb5c1
bootstrap improvements
1994-05-09 06:36:20 +00:00
cgd
3db59563ee
fixes/improvements from Christos Zoulas <christos@deshaw.com>.
1994-03-05 00:34:29 +00:00