Justus Winter, le Tue 30 Jul 2013 11:59:24 +0200, a écrit :
> +  if (strncmp (device, "device:", 7) == 0)
> +    asprintf (path, "/dev/%s", &device[7]);
> +  else if (strncmp (device, "/dev/", 5) == 0)
> +    *path = strdup (device);

> +  else if (looks_like_block_device (device))
> +    asprintf (path, "/dev/%s", device);

In which situation is that one needed?

Samuel


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130915212758.gi5...@type.youpi.perso.aquilenet.fr

Reply via email to