Bug#359839: magic_simple

2010-07-10 Thread Daniel Baumann
close 359839
thanks

Hi,

rather than letting this bug open with wontfix forever, i'll close it
hereby.

Regards,
Daniel

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#359839: magic_simple ?

2006-03-29 Thread Robert Millan
Package: file
Version: 4.15-2
Severity: wishlist

I think the libmagic-dev interface, although very flexible, is overly 
complicated
for most situations.  How about a simpler wrap function like:

char *
magic_simple (char *filename, int flags)
{
  char *ret;
  magic_t m;

  m = magic_open (flags);
  magic_load (m, NULL);
  ret = magic_file (m, filename);
  magic_close (m);

  return ret;
}

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)

Versions of packages libmagic-dev depends on:
ii  libmagic1 4.15-2 File type determination library us

libmagic-dev recommends no packages.

Versions of packages file depends on:
ii  libc6 2.3.6-3GNU C Library: Shared libraries an
ii  libmagic1 4.15-2 File type determination library us
ii  zlib1g1:1.2.3-11 compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]