#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
246576 |
|
08-Feb-2013 |
pfg |
MFC r237574, r237625, r246256;
crunch: Sync some NetBSD changes.
crunchide: Apr 11, 2009: fix some -Wsign-compare issues. Sep 20, 1999: Free the right thing.
crunchgen: Apr 14, 2009: Fix some WARNS=4 issues (-Wshadow -Wcast-qual) Oct 30, 2004: Add (unsigned char) cast to ctype functions Feb 5, 2001: fix nested extern.
examples: Aug 30, 2007: NetBSD 36867 - trsp references are deprecated
In order to merge this I also had to merge some previous changes: - Ensure crunchen uses the same make binary as the rest of the build. - Some amount of style(9): function definitions, header ordering, and $FreeBSD$.
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
173067 |
|
27-Oct-2007 |
yar |
Include <stdlib.h> for the right prototype for exit(3).
|
#
173065 |
|
27-Oct-2007 |
yar |
Set the program name if the crunched program is selected through argv[1] to mimic crt0 behaviour. Do the job by a direct assignment to __progname in order to stay compatible with NetBSD, whose setprogname() is a deliberate no-op.
The reason for this change is that some programs (usually those imported from NetBSD) use getprogname() to distinguish between their aliases. (See pkill aka pgrep for example.)
This change can be useful, and applicable, to NetBSD, too.
|
#
101550 |
|
09-Aug-2002 |
gshapiro |
Apply the envp fix to the other call to main() as well.
Submitted by: Peter Edwards <pmedwards@eircom.net>
|
#
101341 |
|
04-Aug-2002 |
gshapiro |
Pass envp to crunched program's main() routines as some depend on it. Note that crunchgen's stub .c programs already have the code to use it:
"int _crunched_%s_stub(int argc, char **argv, char **envp)" "{return main(argc,argv,envp);}\" >%s_stub.c\n",
Add $FreeBSD$ to allow the commit.
Reviewed by: luigi MFC after: 3 days
|
#
29453 |
|
15-Sep-1997 |
charnier |
Use err(3).
|
#
8857 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
8664 |
|
20-May-1995 |
phk |
Added a crunched_here(char *path) function so crunched programs can find out who they share bed and breakfast with.
|
#
1771 |
|
24-Jun-1994 |
jkh |
Just talked with James - there's another, better way to go about this. Back out my earlier change. Note that this is just for the 1.1.5R floppies; the 1.1.5A ones still have the work-around method (which works fine and doesn't hurt anything, it's just kludge!).
|
#
1770 |
|
24-Jun-1994 |
jkh |
This is a kludge. Unless I make a link from sh to - (which would leave a file called `-' lying around on the users system forever) login shells will fail. Just special-case the handling of `-' for now until/unless I find a more palatable solution.
|
#
1723 |
|
15-Jun-1994 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r1722, which included commits to RCS files with non-trunk default branches.
|
#
1722 |
|
15-Jun-1994 |
jkh |
This is the new crunch utility for making distribution floppies from James da Silva. We need to integrate this before 1.1.5 so that we can actually make the boot floppies.
|