/[pspp]/pspp/src/sfm-read.c
ViewVC logotype

Diff of /pspp/src/sfm-read.c

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

revision 1.15 by jmd, Fri Feb 25 13:14:29 2005 UTC revision 1.16 by blp, Tue Mar 1 08:16:16 2005 UTC
# Line 122  corrupt_msg (int class, const char *form Line 122  corrupt_msg (int class, const char *form
122  static void  static void
123  corrupt_msg (int class, const char *format,...)  corrupt_msg (int class, const char *format,...)
124  {  {
125    char buf[1024];    struct error e;
126        va_list args;
   {  
     va_list args;  
127    
128      va_start (args, format);    e.class = class;
129      vsnprintf (buf, 1024, format, args);    getl_location (&e.where.filename, &e.where.line_number);
130      va_end (args);    e.title = _("corrupt system file: ");
   }  
     
   {  
     struct error e;  
131    
132      e.class = class;    va_start (args, format);
133      getl_location (&e.where.filename, &e.where.line_number);    err_vmsg (&e, format, args);
134      e.title = _("corrupt system file: ");    va_end (args);
     e.text = buf;  
   
     err_vmsg (&e);  
   }  
135  }  }
136    
137  /* Closes a system file after we're done with it. */  /* Closes a system file after we're done with it. */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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