~ubuntu-branches/ubuntu/hardy/file/hardy-proposed

« back to all changes in this revision

Viewing changes to src/apprentice.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2007-06-01 20:29:00 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20070601202900-gzjrg1s331z9632p
Tags: upstream-4.21
ImportĀ upstreamĀ versionĀ 4.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#endif
47
47
 
48
48
#ifndef lint
49
 
FILE_RCSID("@(#)$File: apprentice.c,v 1.104 2007/01/19 19:54:39 christos Exp $")
 
49
FILE_RCSID("@(#)$File: apprentice.c,v 1.105 2007/05/16 20:51:40 christos Exp $")
50
50
#endif  /* lint */
51
51
 
52
52
#define EATAB {while (isascii((unsigned char) *l) && \
327
327
        if (fn == NULL)
328
328
                fn = MAGIC;
329
329
 
330
 
        if ((fn = mfn = strdup(fn)) == NULL) {
 
330
        if ((mfn = strdup(fn)) == NULL) {
331
331
                file_oomem(ms, strlen(fn));
332
332
                return NULL;
333
333
        }
 
334
        fn = mfn;
334
335
 
335
336
        if ((mlist = malloc(sizeof(*mlist))) == NULL) {
336
337
                free(mfn);