diff options
author | Jim Meyering <jim@meyering.net> | 1993-03-29 05:09:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-03-29 05:09:09 +0000 |
commit | 80f8bd8e8c5f610143a929dc5f9eeedb02db7aec (patch) | |
tree | 2938b5193deb43c8f7172f70e330872f81df26bd /src | |
parent | eb652720df63b7cb5a7b1eaf51dc05445a545c66 (diff) | |
download | coreutils-80f8bd8e8c5f610143a929dc5f9eeedb02db7aec.tar.xz |
merge with 3.4.1
Diffstat (limited to 'src')
-rw-r--r-- | src/cp.c | 3 | ||||
-rw-r--r-- | src/df.c | 2 | ||||
-rw-r--r-- | src/ln.c | 2 | ||||
-rw-r--r-- | src/ls.c | 6 | ||||
-rw-r--r-- | src/rm.c | 4 |
5 files changed, 8 insertions, 9 deletions
@@ -220,8 +220,7 @@ main (argc, argv) #ifdef S_ISLNK flag_symbolic_link = 1; #else - error (0, 0, "symbolic links not supported; making hard links"); - flag_hard_link = 1; + error (1, 0, "symbolic links are not supported on this system"); #endif break; @@ -442,7 +442,7 @@ usage () { fprintf (stderr, "\ Usage: %s [-aikPv] [-t fstype] [-x fstype] [--all] [--inodes]\n\ -\t[--type fstype] [--exclude-type fstype] [--kilobytes] [--portability]\n\ +\t[--type=fstype] [--exclude-type=fstype] [--kilobytes] [--portability]\n\ \t[path...]\n", program_name); exit (1); @@ -122,7 +122,7 @@ main (argc, argv) #ifdef S_ISLNK symbolic_link = 1; #else - error (0, 0, "symbolic links not supported; making hard links"); + error (1, 0, "symbolic links are not supported on this system"); #endif break; case 'v': @@ -214,7 +214,7 @@ enum time_type static enum time_type time_type; -/* print the full time, -T, otherwise the standard unix heuristics. */ +/* print the full time, -f, otherwise the standard unix heuristics. */ int full_time; @@ -777,7 +777,7 @@ print_dir (name, realname) char *realname; { register DIR *reading; - register struct direct *next; + register struct dirent *next; register int total_blocks = 0; errno = 0; @@ -852,7 +852,7 @@ add_ignore_pattern (pattern) static int file_interesting (next) - register struct direct *next; + register struct dirent *next; { register struct ignore_pattern *ignore; @@ -134,7 +134,7 @@ main (argc, argv) if (ignore_missing_files) exit (0); else - usage (); + usage (); } stdin_tty = isatty (0); @@ -320,7 +320,7 @@ clear_directory (statp) struct stat *statp; { DIR *dirp; - struct direct *dp; + struct dirent *dp; char *name_space; /* Copy of directory's filenames. */ char *namep; /* Current entry in `name_space'. */ unsigned name_size; /* Bytes allocated for `name_space'. */ |