/[inetutils]/inetutils/lib/obstack.c
ViewVC logotype

Diff of /inetutils/lib/obstack.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gray, Fri Jul 29 10:52:43 2005 UTC revision 1.3 by ams, Fri Dec 2 14:00:00 2005 UTC
# Line 51  Line 51 
51  # endif  # endif
52  #endif  #endif
53    
 #if defined _LIBC && defined USE_IN_LIBIO  
 # include <wchar.h>  
 #endif  
   
54  #include <stddef.h>  #include <stddef.h>
55    
56  #ifndef ELIDE_CODE  #ifndef ELIDE_CODE
# Line 433  print_and_abort (void) Line 429  print_and_abort (void)
429       happen because the "memory exhausted" message appears in other places       happen because the "memory exhausted" message appears in other places
430       like this and the translation should be reused instead of creating       like this and the translation should be reused instead of creating
431       a very similar string which requires a separate translation.  */       a very similar string which requires a separate translation.  */
432  # if defined _LIBC && defined USE_IN_LIBIO  # ifdef _LIBC
433    if (_IO_fwide (stderr, 0) > 0)    (void) __fxprintf (NULL, "%s\n", _("memory exhausted"));
434      __fwprintf (stderr, L"%s\n", _("memory exhausted"));  # else
435    else    fprintf (stderr, "%s\n", _("memory exhausted"));
436  # endif  # endif
     fprintf (stderr, "%s\n", _("memory exhausted"));  
437    exit (obstack_exit_failure);    exit (obstack_exit_failure);
438  }  }
439    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26