Deleted Added
full compact
interactive.c (92837) interactive.c (102411)
1/*
2 * Copyright (c) 1985, 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[] = "@(#)interactive.c 8.5 (Berkeley) 5/1/95";
37#endif
38static const char rcsid[] =
1/*
2 * Copyright (c) 1985, 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[] = "@(#)interactive.c 8.5 (Berkeley) 5/1/95";
37#endif
38static const char rcsid[] =
39 "$FreeBSD: head/sbin/restore/interactive.c 92837 2002-03-20 22:49:40Z imp $";
39 "$FreeBSD: head/sbin/restore/interactive.c 102411 2002-08-25 13:10:45Z charnier $";
40#endif /* not lint */
41
42#include <sys/param.h>
43#include <sys/stat.h>
44
45#include <ufs/ufs/dinode.h>
46#include <ufs/ufs/dir.h>
47#include <protocols/dumprestore.h>

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

589 fp->prefix = '*';
590 else
591 fp->prefix = ' ';
592 switch(dp->d_type) {
593
594 default:
595 fprintf(stderr, "Warning: undefined file type %d\n",
596 dp->d_type);
40#endif /* not lint */
41
42#include <sys/param.h>
43#include <sys/stat.h>
44
45#include <ufs/ufs/dinode.h>
46#include <ufs/ufs/dir.h>
47#include <protocols/dumprestore.h>

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

589 fp->prefix = '*';
590 else
591 fp->prefix = ' ';
592 switch(dp->d_type) {
593
594 default:
595 fprintf(stderr, "Warning: undefined file type %d\n",
596 dp->d_type);
597 /* fall through */
597 /* FALLTHROUGH */
598 case DT_REG:
599 fp->postfix = ' ';
600 break;
601
602 case DT_LNK:
603 fp->postfix = '@';
604 break;
605

--- 159 unchanged lines hidden ---
598 case DT_REG:
599 fp->postfix = ' ';
600 break;
601
602 case DT_LNK:
603 fp->postfix = '@';
604 break;
605

--- 159 unchanged lines hidden ---