#
# From ignatios@cs.uni-bonn.de (Ignatios Souvatzis)
# Some formats are still missing: AmigaOS special IFF's, e.g.: FORM....CTLG
-# (the others should be seperate, anyway)
+# (the others should be separate, anyway)
#
0 belong 0x000003f3 AmigaOS loadseg()ble executable/binary
0 belong 0x000003e7 AmigaOS object/library data
--- /dev/null
+#------------------------------------------------------------------------------
+# citrus locale declaration
+#
+
+0 string RuneCT Citrus locale declaration for LC_CTYPE
+
>>18 leshort 51 Stanford MIPS-X,
>>18 leshort 52 Motorola Coldfire,
>>18 leshort 53 Motorola M68HC12,
+>>18 leshort 62 AMD x86-64,
>>18 leshort 75 Digital VAX,
>>18 leshort 0x9026 Alpha (unofficial),
>>20 lelong 0 invalid version
#endif
#ifndef lint
-FILE_RCSID("@(#)$Id: apprentice.c,v 1.42 2001/07/22 21:04:15 christos Exp $")
+FILE_RCSID("@(#)$Id: apprentice.c,v 1.43 2001/07/23 00:02:32 christos Exp $")
#endif /* lint */
#define EATAB {while (isascii((unsigned char) *l) && \
{
int i = 0;
struct magic *m;
- char *t, *s;
+ char *t;
#define ALLOC_INCR 200
if (*nmagicp + 1 >= maxmagic){
#include "patchlevel.h"
#ifndef lint
-FILE_RCSID("@(#)$Id: file.c,v 1.58 2001/07/22 21:04:15 christos Exp $")
+FILE_RCSID("@(#)$Id: file.c,v 1.59 2001/07/23 00:02:32 christos Exp $")
#endif /* lint */
if ((usermagic = getenv("MAGIC")) != NULL)
magicfile = usermagic;
else
- if (home = getenv("HOME")) {
+ if ((home = getenv("HOME")) != NULL) {
if ((usermagic = malloc(strlen(home) + 8)) != NULL) {
(void)strcpy(usermagic, home);
(void)strcat(usermagic, "/.magic");
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$Id: softmagic.c,v 1.45 2001/07/22 21:04:15 christos Exp $")
+FILE_RCSID("@(#)$Id: softmagic.c,v 1.46 2001/07/23 00:02:32 christos Exp $")
#endif /* lint */
static int match __P((struct magic *, uint32, unsigned char *, int));
union VALUETYPE *p;
struct magic *m;
{
- char *pp, *rt;
- char *oldtz, tz[16];
uint32 v;
- time_t curtime;
int32 t=0 ;
return 1;
case STRING:
{
- char *ptr;
int n;
/* Null terminate and eat *trailing* return */