| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MKINIT only served for the removed mkinit. Many variables can be static now.
|
|
|
|
|
| |
This overflows and on some architectures such as amd64 it generates SIGFPE.
Generate an error on all architectures.
|
|
|
|
| |
and its usage.
|
|
|
|
|
|
| |
breakpoints with in a debugger. And use naked "static" for variables.
Noticed by: bde
|
|
|
|
| |
Also correct the documented location of the trace file.
|
|
|
|
|
|
|
|
|
|
|
| |
to type int.
- Change the type used for arithmetic expansion to intmax_t (ie. 64 bit on all
currently supported FreeBSD architectures). SUSv3 requires at least type
long but allows for larger types. Other shells (eg. bash, zsh, NetBSD's sh)
do that too.
PR: 122659
Submitted by: Jaakko Heinonen (minor modifications by me)
|
|
|
|
| |
OK'ed by: imp, core
|
|
|
|
| |
Requested by: bde
|
|
|
|
|
|
|
|
|
|
| |
and variable recognition.
PR: standards/52972
Submitted by: Wartan Hachaturow <wart@tepkom.ru>
Reviewed by: tjr (improved on original patch)
Tested by: buildworld on CURRENT.
MFC after: 6 weeks
|
|
|
|
| |
don't support system that implement getcwd(3) with a pipe to /bin/pwd.
|
|
|
|
| |
include stdlib.h for NULL.
|
|
|
|
|
|
|
|
|
|
|
| |
case), so that it doesn't clash with the ncurses function of the same
name when linking statically with -ltermcap.
The linker only complains when -static is used, and it is not clear
whether this is a bug.
PR: bin/18104
Submitted by: Anatoly Vorobey <mellon@pobox.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
|
| |
now handles the getpwd() init problem the same way as bash
and ksh do. Also while I was in here, I cleaned up the format
a little, removed some unnnecessary #if SYMLINKS cruft, and
changed the pwd builtin to use getcwd(3) as Joerg suggested.
|
|
|
|
| |
Obtained from: NetBSD, me
|
|
|
|
| |
2) replace collate_range_cmp call with its code
|
|
|
|
|
| |
off in FreeBSD for some time. I realised this a few seconds after the
commit started..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
merge of parallel duplicate work by Steve Price and myself. :-]
There are some changes to the build that are my fault... mkinit.c was
trying (poorly) to duplicate some of the work that make(1) is designed to
do. The Makefile hackery is my fault too, the depend list was incomplete
because of some explicit OBJS+= entries, so mkdep wasn't picking up their
source file #includes.
This closes a pile of /bin/sh PR's, but not all of them..
Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The && and || tokens do also terminate a command, not only the
newline.
While i was at it, disabled trace code by default, it served no good
purpose since it required the use of a debugger anyway to be turned
on. Instead, placed a hint in the Makefile on how to turn it on.
This makes the shell ~ 10 % faster and ~ 4 KB smaller. :)
Pointed out by: jan@physik.TU-Berlin.DE (Jan Riedinger)
|
| |
|
|
|