Deleted Added
full compact
adjkerntz.c (15057) adjkerntz.c (24359)
1/*
2 * Copyright (C) 1993-1996 by Andrey A. Chernov, Moscow, Russia.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 68 unchanged lines hidden (view full) ---

77 long offset, utcsec, localsec, diff;
78 time_t initial_sec, final_sec;
79 int ch;
80 int initial_isdst = -1, final_isdst;
81 int need_restore = False, sleep_mode = False, looping,
82 init = Unknown;
83 sigset_t mask, emask;
84
1/*
2 * Copyright (C) 1993-1996 by Andrey A. Chernov, Moscow, Russia.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 68 unchanged lines hidden (view full) ---

77 long offset, utcsec, localsec, diff;
78 time_t initial_sec, final_sec;
79 int ch;
80 int initial_isdst = -1, final_isdst;
81 int need_restore = False, sleep_mode = False, looping,
82 init = Unknown;
83 sigset_t mask, emask;
84
85 while ((ch = getopt(argc, argv, "ais")) != EOF)
85 while ((ch = getopt(argc, argv, "ais")) != -1)
86 switch((char)ch) {
87 case 'i': /* initial call, save offset */
88 if (init != Unknown)
89 goto usage;
90 init = True;
91 break;
92 case 'a': /* adjustment call, use saved offset */
93 if (init != Unknown)

--- 257 unchanged lines hidden ---
86 switch((char)ch) {
87 case 'i': /* initial call, save offset */
88 if (init != Unknown)
89 goto usage;
90 init = True;
91 break;
92 case 'a': /* adjustment call, use saved offset */
93 if (init != Unknown)

--- 257 unchanged lines hidden ---