lintian doesn't like orphan packages with uploaders...
[debian/amanda] / oldrecover-src / uscan.l
index 69674cee313a33abe2a40e2429b55bcc3a1f5ada..41fd478ce78f83b1513fa68843e22018b526b348 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * amanda, the advanced maryland automatic network disk archiver
  * Copyright (c) 1991-2000 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -113,7 +114,7 @@ mode    { return MODE; }
 
 \"                     {
     if(string_buf != NULL) {
-       printf("ERROR:string_buf != NULL: %s\n",string_buf);
+       g_printf("ERROR:string_buf != NULL: %s\n",string_buf);
     }
     BEGIN(quotedpath);
     strappend(string_buf, yytext);
@@ -242,11 +243,11 @@ ll_parse_date(
        yyerror("invalid second");
     } else if(type < 4) {
        yylval.strval = alloc(DATE_ALLOC_SIZE);
-       snprintf(yylval.strval, DATE_ALLOC_SIZE, "%04d-%02d-%02d", y, m, d);
+       g_snprintf(yylval.strval, DATE_ALLOC_SIZE, "%04d-%02d-%02d", y, m, d);
        ret = DATE;
     } else {
        yylval.strval = alloc(DATE_ALLOC_SIZE);
-       snprintf(yylval.strval, DATE_ALLOC_SIZE, "%04d-%02d-%02d-%02d-%02d-%02d", y, m, d, h, mi, s);
+       g_snprintf(yylval.strval, DATE_ALLOC_SIZE, "%04d-%02d-%02d-%02d-%02d-%02d", y, m, d, h, mi, s);
        ret = DATE;
     }
     return ret;