]> git.marmaro.de Git - mmh/blobdiff - uip/folder.c
use fork instead of vfork on Linux
[mmh] / uip / folder.c
index 2cc9bde689d0a51d44564b75bf910e5394f53970..e4779dc532e5c7e7dccb7fc352d9d90729b24970 100644 (file)
@@ -66,8 +66,6 @@ static struct swit switches[] = {
     { NULL, 0 }
 };
 
-extern int errno;
-
 static int fshort   = 0;       /* output only folder names                 */
 static int fcreat   = 0;       /* should we ask to create new folders?     */
 static int fpack    = 0;       /* are we packing the folder?               */
@@ -818,10 +816,6 @@ readonly_folders (void)
     char atrcur[BUFSIZ];
     register struct node *np;
 
-    /* sanity check - check that context has been read */
-    if (defpath == NULL)
-       adios (NULL, "oops, context hasn't been read yet");
-
     snprintf (atrcur, sizeof(atrcur), "atr-%s-", current);
     atrlen = strlen (atrcur);