Deleted Added
full compact
fsmagic.c (159764) fsmagic.c (169962)
1/*
2 * Copyright (c) Ian F. Darwin 1986-1995.
3 * Software written by Ian F. Darwin and others;
4 * maintained 1995-present by Christos Zoulas and others.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

52
53#ifndef HAVE_MAJOR
54# define major(dev) (((dev) >> 8) & 0xff)
55# define minor(dev) ((dev) & 0xff)
56#endif
57#undef HAVE_MAJOR
58
59#ifndef lint
1/*
2 * Copyright (c) Ian F. Darwin 1986-1995.
3 * Software written by Ian F. Darwin and others;
4 * maintained 1995-present by Christos Zoulas and others.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

52
53#ifndef HAVE_MAJOR
54# define major(dev) (((dev) >> 8) & 0xff)
55# define minor(dev) ((dev) & 0xff)
56#endif
57#undef HAVE_MAJOR
58
59#ifndef lint
60FILE_RCSID("@(#)$Id: fsmagic.c,v 1.46 2005/06/25 15:52:14 christos Exp $")
60FILE_RCSID("@(#)$File: fsmagic.c,v 1.47 2007/01/12 17:38:28 christos Exp $")
61#endif /* lint */
62
63protected int
64file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb)
65{
66 int ret = 0;
67#ifdef S_IFLNK
68 char buf[BUFSIZ+4];

--- 244 unchanged lines hidden ---
61#endif /* lint */
62
63protected int
64file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb)
65{
66 int ret = 0;
67#ifdef S_IFLNK
68 char buf[BUFSIZ+4];

--- 244 unchanged lines hidden ---