Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP

which lets you compile out most of the "--help" output, saving
up to 17k.

Renamed mnc to nc.
 -Erik
This commit is contained in:
Erik Andersen
2000-05-12 19:41:47 +00:00
parent 3d427ac5ef
commit 7ab9c7ee52
136 changed files with 1743 additions and 454 deletions

View File

@ -24,15 +24,14 @@
#include "internal.h"
#include <stdio.h>
#include <dirent.h>
#include <errno.h>
extern int pwd_main(int argc, char **argv)
{
char buf[BUFSIZ + 1];
if (getcwd(buf, sizeof(buf)) == NULL) {
perror("get working directory");
exit(FALSE);
}
if (getcwd(buf, sizeof(buf)) == NULL)
fatalError("pwd: %s", strerror(errno));
printf("%s\n", buf);
exit(TRUE);