]> granicus.if.org Git - recode/commitdiff
outer.c: fix FIXME: add diagnostic
authorReuben Thomas <rrt@sc3d.org>
Fri, 26 Jan 2018 21:01:41 +0000 (21:01 +0000)
committerReuben Thomas <rrt@sc3d.org>
Fri, 26 Jan 2018 21:13:09 +0000 (21:13 +0000)
recode_error can safely be called with NULL outer, and is elsewhere.

src/outer.c

index c1134aed22476213e95a58061a29b7d785ad16a6..996845b4c98cf168f34cab2992e74220159f01e8 100644 (file)
@@ -484,7 +484,7 @@ recode_new_outer (unsigned flags)
 
   if (!outer)
     {
-      /* Diagnostic?  FIXME!  */
+      recode_error (NULL, _("Virtual memory exhausted"));
       if (flags & RECODE_AUTO_ABORT_FLAG)
        exit (1);
       return NULL;