freebsd-skq/usr.sbin/crunch/crunchgen
Yaroslav Tykhiy a7aebe893d 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.
2007-10-27 16:13:31 +00:00
..
crunched_main.c Set the program name if the crunched program is selected through 2007-10-27 16:13:31 +00:00
crunchgen.1 Markup fixes. 2006-09-29 17:57:04 +00:00
crunchgen.c Back out half of my previous change to support parallel makes. 2006-11-27 01:35:11 +00:00
Makefile
mkskel.sh