Deleted Added
full compact
mkfifo.c (50477) mkfifo.c (78717)
1/*
2 * Copyright (c) 1990, 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

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)mkfifo.c 8.2 (Berkeley) 1/5/94";
43#endif
44static const char rcsid[] =
1/*
2 * Copyright (c) 1990, 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

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)mkfifo.c 8.2 (Berkeley) 1/5/94";
43#endif
44static const char rcsid[] =
45 "$FreeBSD: head/usr.bin/mkfifo/mkfifo.c 50477 1999-08-28 01:08:13Z peter $";
45 "$FreeBSD: head/usr.bin/mkfifo/mkfifo.c 78717 2001-06-24 19:41:18Z dd $";
46#endif /* not lint */
47
48#include <sys/types.h>
49#include <sys/stat.h>
50
51#include <err.h>
52#include <errno.h>
53#include <stdio.h>
46#endif /* not lint */
47
48#include <sys/types.h>
49#include <sys/stat.h>
50
51#include <err.h>
52#include <errno.h>
53#include <stdio.h>
54#include <stdlib.h>
54#include <string.h>
55#include <unistd.h>
56
57#define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
58 S_IROTH | S_IWOTH
59
60static void usage __P((void));
61

--- 54 unchanged lines hidden ---
55#include <string.h>
56#include <unistd.h>
57
58#define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
59 S_IROTH | S_IWOTH
60
61static void usage __P((void));
62

--- 54 unchanged lines hidden ---