* using method, return sizeof new
*/
#include "file.h"
-#ifdef __CYGWIN__
-#include <errno.h>
-#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <sys/wait.h>
#endif
#ifndef lint
-FILE_RCSID("@(#)$Id: compress.c,v 1.15 1999/11/28 20:02:29 christos Exp $")
+FILE_RCSID("@(#)$Id: compress.c,v 1.16 2000/05/14 22:58:53 christos Exp $")
#endif
* 4. This notice may not be removed or altered.
*/
#include "file.h"
-#ifdef __CYGWIN__
-#include <errno.h>
-#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "patchlevel.h"
#ifndef lint
-FILE_RCSID("@(#)$Id: file.c,v 1.51 2000/05/14 17:58:36 christos Exp $")
+FILE_RCSID("@(#)$Id: file.c,v 1.52 2000/05/14 22:58:53 christos Exp $")
#endif /* lint */
/*
* file.h - definitions for file(1) program
- * @(#)$Id: file.h,v 1.31 2000/04/11 02:32:35 christos Exp $
+ * @(#)$Id: file.h,v 1.32 2000/05/14 22:58:53 christos Exp $
*
* Copyright (c) Ian F. Darwin, 1987.
* Written by Ian F. Darwin.
#include <stdio.h> /* Include that here, to make sure __P gets defined */
+#include <errno.h>
#ifndef __P
# if defined(__STDC__) || defined(__cplusplus)
extern int internatmagic __P((unsigned char *, int));
extern void tryelf __P((int, unsigned char *, int));
-extern int errno; /* Some unixes don't define this.. */
-
extern char *progname; /* the program name */
extern const char *magicfile; /* name of the magic file */
extern int lineno; /* current line number in magic file */
*/
#include "file.h"
-#ifdef __CYGWIN__
-#include <errno.h>
-#endif
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#undef HAVE_MAJOR
#ifndef lint
-FILE_RCSID("@(#)$Id: fsmagic.c,v 1.31 2000/04/11 02:32:35 christos Exp $")
+FILE_RCSID("@(#)$Id: fsmagic.c,v 1.32 2000/05/14 22:58:54 christos Exp $")
#endif /* lint */
int