Deleted Added
full compact
ls.c (90878) ls.c (92786)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)ls.c 8.1 (Berkeley) 6/6/93";
37#else
38static const char rcsid[] =
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)ls.c 8.1 (Berkeley) 6/6/93";
37#else
38static const char rcsid[] =
39 "$FreeBSD: head/usr.bin/find/ls.c 90878 2002-02-19 00:05:59Z imp $";
39 "$FreeBSD: head/usr.bin/find/ls.c 92786 2002-03-20 10:32:05Z markm $";
40#endif
41#endif /* not lint */
42
43#include <sys/param.h>
44#include <sys/stat.h>
45
46#include <err.h>
47#include <errno.h>

--- 7 unchanged lines hidden (view full) ---

55#include <unistd.h>
56#include <utmp.h>
57
58#include "find.h"
59#include "extern.h"
60
61/* Derived from the print routines in the ls(1) source code. */
62
40#endif
41#endif /* not lint */
42
43#include <sys/param.h>
44#include <sys/stat.h>
45
46#include <err.h>
47#include <errno.h>

--- 7 unchanged lines hidden (view full) ---

55#include <unistd.h>
56#include <utmp.h>
57
58#include "find.h"
59#include "extern.h"
60
61/* Derived from the print routines in the ls(1) source code. */
62
63static void printlink __P((char *));
64static void printtime __P((time_t));
63static void printlink(char *);
64static void printtime(time_t);
65
66void
67printlong(name, accpath, sb)
68 char *name; /* filename to print */
69 char *accpath; /* current valid path to filename */
70 struct stat *sb; /* stat buffer */
71{
72 char modep[15];

--- 58 unchanged lines hidden ---
65
66void
67printlong(name, accpath, sb)
68 char *name; /* filename to print */
69 char *accpath; /* current valid path to filename */
70 struct stat *sb; /* stat buffer */
71{
72 char modep[15];

--- 58 unchanged lines hidden ---