瀏覽代碼

Fix comment (from meyering fileutils).

Paul Eggert 25 年之前
父節點
當前提交
12fa57c63b
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      lib/getdate.y

+ 4 - 1
lib/getdate.y

@@ -831,7 +831,10 @@ yyerror (char *s ATTRIBUTE_UNUSED)
   return 0;
 }
 
-/* ?? */
+/* Parse a date/time string P.  Return the corresponding time_t value,
+   or (time_t) -1 if there is an error.  P can be an incomplete or
+   relative time specification; if so, use *NOW as the basis for the
+   returned time.  */
 time_t
 get_date (const char *p, const time_t *now)
 {