jmallett
7c4cad2323
Simplify prerun() in the case where there are no arguments. Can't do -I or -J
...
substitution if `utility' is not specified and we're using the buildin echo;
It has no arguments for us to abuse.
2002-05-17 07:55:24 +00:00
peter
877587ce74
Put on peril-sensitive sunglasses and risk touching gcc related build glue
...
again. Try and deal with platforms that provide their own crtbegin/end asm
files (ia64 for example). crtstuff.c does not actually work on ia64 since
libgcc.a doesn't have a few key support functions when built on ia64 so it
is compulsory to use crtbegin.asm and crtend.asm.
Reviewed by: obrien
2002-05-17 07:55:08 +00:00
tjr
98e1f63634
Overhaul hexdump's od syntax code to handle the -s -A -j -N -t options that
...
SUSv3 requires and give od a proper manual page.
PR: 36783
2002-05-17 07:14:55 +00:00
obrien
e303f729c6
Remove some WIP bits that I didn't fully clean out before merging to HEAD.
2002-05-17 06:35:44 +00:00
tjr
4769e48d99
Declare variables that were extern'd in multiple places in hexdump.h.
...
PR: 36783
2002-05-17 06:32:00 +00:00
tjr
b0a96363c8
Add support for printing long doubles.
...
PR: 36783
2002-05-17 06:12:25 +00:00
jhb
07338940a0
- Apparently, the Alpha ABI mandates that arguments be passed sign-extended
...
regardless of if they are signed or unsigned since it is easier to work
with sign-extended values. Thus, remove the disabled zapnot to
zero-extend the sign-extended value we read from *p in atomic_cmpset_32()
since the cmpval we are comparing against should already be
sign-extended.
- To ensure that the compiler knows to sign-extend the upper 32 bits of
cmpval rather than leaving garbage in there, cast the appropriately in
the constraints section.
Help from: Richard Henderson <rth@redhat.com>
2002-05-17 05:45:39 +00:00
tjr
3e9f4fc172
Print signed single-byte decimal integers correctly instead of implicitly
...
converting them to unsigned bytes.
PR: 36783
2002-05-17 05:43:00 +00:00
ru
04cbf1cb05
Back out revision 1.30 change.
...
cc1plus can apparently be built if you happen to have
/usr/bin/gperf, or set CXX to point to a C++ compiler
that can build gperf(1) in the bootstrap-tools stage
of buildworld.
2002-05-17 05:41:47 +00:00
jmallett
f6d289008c
Stop this program's abuse of malloc(3). Its return value doesn't need these
...
ugly explicit casts, and its argument doesn't need explicitly cast to u_int,
especially if sizeof() is being used.
2002-05-17 05:27:52 +00:00
tjr
ed1adbad3e
Un-deprecate od(1): rename the deprecated' variable to
odmode', remove the
...
deprecation warning from the utility and manual page. Since this utility
is required by POSIX, it's not likely to be removed any time soon.
This is leading up to the addition of the P1003.1-2001 -s -A -j -N -t options.
PR: 36783
2002-05-17 05:20:30 +00:00
benno
952f608b76
_C_LABEL -> CNAME
...
Forgotten by: benno
2002-05-17 05:11:13 +00:00
jmallett
0109c30545
Clean up malloc(3)'s argument. Remove casts which do nothing when we're
...
using sizeof() anyway. Use slightly more consistent (per-file) error
reporting for malloc(3) returning NULL. If "malloc failed" was being printed,
don't use err(3). If a NULL format is being used, use err(3). In one case
errx(3) was being used with strerror(3), so just use err(3).
2002-05-17 05:11:07 +00:00
obrien
17aec96489
Post rev 1.39, the PowerPC specific additions to OBJS was getting lost.
2002-05-17 04:18:33 +00:00
obrien
4adece7fd2
Update to Binutils 2.12.0 and stick to the native emulation for now.
...
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00
obrien
623d9d0043
Update to Binutils 2.12.0 release.
2002-05-17 03:43:09 +00:00
obrien
993f0f1ddf
Bump __FreeBSD_version to note that Perl is not in /usr/src any more.
2002-05-17 03:13:08 +00:00
obrien
c83489556b
Update to Binutils 2.12.0 and stick to the native emulation for now.
...
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:10:33 +00:00
obrien
cef4417d4b
bsd.lib.mk now understands what to do with .asm files.
...
So we can refer to these files by their real name vs. playing tricks
renaming them during the build.
2002-05-17 03:08:15 +00:00
obrien
ff2300d7aa
GCC 3.1 on PowerPC also has the crtsavres C Run Time file.
2002-05-17 03:04:47 +00:00
obrien
0e6872a9ec
Do not cut `docs' out of the build with NO_CXX.
...
There are no longer GNU C++ specific info files, and it was a bug with Gcc
2.95 that NO_CXX would cause the C and CPP info files to not be installed.
2002-05-17 03:00:33 +00:00
jmallett
35c92f131c
Remove spurious casts in malloc(3)'s argument.
...
Use `return' instead of `exit' at the bottom of main().
2002-05-17 02:28:46 +00:00
benno
224e5ccc85
Flesh this out, based on the NetBSD version.
...
Reviewed by: obrien
2002-05-17 01:58:55 +00:00
tjr
bcb6745c5f
Add a Standards section, and note that compress(1) and uncompress(1) now
...
conform to P1003.1-2001.
2002-05-17 01:54:17 +00:00
benno
57da897c11
- Rename the _C_LABEL macro to CNAME.
...
- Rename the _ASM_LABEL macro to ASMNAME.
- Add the HIDENAME macro which is used in libc's syscall stuff.
2002-05-17 01:44:55 +00:00
tjr
dc84546441
As required by SUSv3, a file argument of "-" causes standard input
...
to be compressed/decompressed to standard output.
2002-05-17 01:42:43 +00:00
benno
246870d424
Fix commenting around NetBSD version string.
2002-05-17 01:41:01 +00:00
tjr
ddd093f802
Compression ratio statistics should be written to stderr instead of stdout.
2002-05-17 01:25:51 +00:00
tjr
37d5dd60af
Use exit status 2 to indicate that the file was not compressed because
...
its size would not be reduced (SUSv3).
2002-05-17 00:58:07 +00:00
brian
3c3efb7e19
Put back <string.h>
2002-05-17 00:44:54 +00:00
arr
edc5f92064
- Further replacing of UM_* macros with the appropriate function call. I
...
am fairly certain that this should do it and that I may now remove the
UM_ macros from port.h. I will, however, wait a few days to ensure
that these can be safely removed.
2002-05-17 00:30:06 +00:00
arr
efd21da00c
- Replace UM_* macros by replacing them with the appropriate function
...
call. These changes are similar to the ones made to atmarpd and scsp.
2002-05-17 00:20:40 +00:00
arr
503019728f
- Convert a bunch of macros to the actual function they're calling. These
...
include:
UM_ALLOC -> calloc, malloc
UM_FREE -> free
UM_COPY -> bcopy
UM_ZERO -> bzero
This is the first step towards removing these macros.
2002-05-16 23:57:37 +00:00
tjr
58d4fae22c
Process and user ID arguments must be treated as decimal integers,
...
not octal or hex. This is the way it was before revision 1.10.
PR: 36950
Submitted by: Peter Avalos <pavalos@theshell.com>
2002-05-16 23:55:35 +00:00
tjr
86e991cd98
Accept decimal user IDs with -u option as well as usernames.
...
PR: 36950
2002-05-16 23:44:11 +00:00
tjr
67bb0d1cc5
Diagnostic messages belong on stderr, not stdout. SUSv3 specifies that
...
renice may not use stdout at all.
2002-05-16 23:30:38 +00:00
arr
0f9e8dbadd
- Convert a bunch of macros to the actual function they're calling. These
...
include:
UM_ALLOC -> calloc, malloc
UM_FREE -> free
UM_COPY -> bcopy
UM_ZERO -> bzero
This is the first step towards removing these macros.
2002-05-16 23:28:40 +00:00
eric
bd977939fa
Remove cross reference to pkg_update(1).
...
Submitted by: dd
2002-05-16 22:46:53 +00:00
eric
4579e1dcd0
Separate "seperate" from kernel source.
2002-05-16 22:43:20 +00:00
eric
b61f1e4979
Banish "priviledged" from kernel source.
2002-05-16 22:41:48 +00:00
peter
7fc284ffb7
OOPS! rev 1.16 accidently changed the default outfile from stderr to
...
stdout. Unfortunately, DES mfc'ed this change in 1.15.2.1 (this
part probably should not have been) so it is broken there too.
truss is documented to use stderr, and other implementations use stderr.
Submitted by: Arne Dag Fidjestøl <adf@idi.ntnu.no>
2002-05-16 21:58:57 +00:00
trhodes
28d42899b7
More s/file system/filesystem/g
2002-05-16 21:28:32 +00:00
iedowse
b459f6c726
The ufs/ffs files are no longer required by ext2fs.
2002-05-16 20:54:44 +00:00
iedowse
a04a4b7576
Give ext2fs its own static "dirchk" variable instead of using ufs's
...
variable. Make this accessible as the sysctl vfs.e2fs.dirchk.
2002-05-16 20:53:04 +00:00
iedowse
158d29fe97
Remove register keyword.
2002-05-16 19:43:28 +00:00
trhodes
cf75995334
s/file system/filesystem/g
2002-05-16 19:41:01 +00:00
mux
e621b86487
In VOP_LOOKUP, don't assume that the final pathname component
...
will be in the same filesystem than the one where the current
component is.
Approved by: scottl
2002-05-16 19:22:39 +00:00
iedowse
4009aa43de
Complete the separation of ext2fs from ufs by copying the remaining
...
shared code and converting all ufs references. Originally it may
have made sense to share common features between the two filesystems,
but recently it has only caused problems, the UFS2 work being the
final straw.
All UFS_* indirect calls are now direct calls to ext2_* functions,
and ext2fs-specific mount and inode structures have been introduced.
2002-05-16 19:08:03 +00:00
markm
4ed909bc5c
Replace the perl script version of this with a sh(1) script.
...
Submitted by: Riccardo "VIC" Torrini <riccardo@torrini.org>
2002-05-16 18:51:57 +00:00
mux
84d9baf797
o Fix vfs_copyopt(), the first argument to bcopy() is the source,
...
not the destination.
o Remove some code from vfs_getopt() which was making the interface
more complicated to use for a very slight gain.
2002-05-16 17:09:41 +00:00