1
0

patch-misc-utils_cal_c 627 B

123456789101112131415161718
  1. --- util-linux-ng-2.15.orig/misc-utils/cal.c 2009-03-25 13:20:18.000000000 +0100
  2. +++ util-linux-ng-2.15/misc-utils/cal.c 2009-06-22 22:49:19.000000000 +0200
  3. @@ -291,6 +291,7 @@ main(int argc, char **argv) {
  4. * the locale database, which can be overridden with the
  5. * -s (Sunday) or -m (Monday) options.
  6. */
  7. +#if 0
  8. #ifdef HAVE_LANGINFO_H
  9. /*
  10. * You need to use 2 locale variables to get the first day of the week.
  11. @@ -315,6 +316,7 @@ main(int argc, char **argv) {
  12. weekstart = (wfd + *nl_langinfo(_NL_TIME_FIRST_WEEKDAY) - 1) % 7;
  13. }
  14. #endif
  15. +#endif
  16. yflag = 0;
  17. while ((ch = getopt(argc, argv, "13mjsyV")) != -1)