emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lib-src/profile.c [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lib-src/profile.c [emacs-unicode-2]
Date: Mon, 28 Jun 2004 04:37:26 -0400

Index: emacs/lib-src/profile.c
diff -c emacs/lib-src/profile.c:1.16.6.1 emacs/lib-src/profile.c:1.16.6.2
*** emacs/lib-src/profile.c:1.16.6.1    Fri Apr 16 12:49:44 2004
--- emacs/lib-src/profile.c     Mon Jun 28 07:28:22 2004
***************
*** 55,61 ****
  get_time ()
  {
    if (watch_not_started)
!     exit (1);  /* call reset_watch first ! */
    EMACS_GET_TIME (TV2);
    EMACS_SUB_TIME (TV2, TV2, TV1);
    sprintf (time_string, "%lu.%06lu", (unsigned long)EMACS_SECS (TV2), 
(unsigned long)EMACS_USECS (TV2));
--- 55,61 ----
  get_time ()
  {
    if (watch_not_started)
!     exit (EXIT_FAILURE);  /* call reset_watch first ! */
    EMACS_GET_TIME (TV2);
    EMACS_SUB_TIME (TV2, TV2, TV1);
    sprintf (time_string, "%lu.%06lu", (unsigned long)EMACS_SECS (TV2), 
(unsigned long)EMACS_USECS (TV2));
***************
*** 94,107 ****
          puts (get_time ());
          break;
        case 'q':
!         exit (0);
        }
        /* Anything remaining on the line is ignored.  */
        while (c != '\n' && c != EOF)
        c = getchar ();
      }
!   exit (1);
  }
  
  /* arch-tag: 8db68f7e-2322-4944-a315-dba349bdbf39
     (do not change this comment) */
--- 94,109 ----
          puts (get_time ());
          break;
        case 'q':
!         exit (EXIT_SUCCESS);
        }
        /* Anything remaining on the line is ignored.  */
        while (c != '\n' && c != EOF)
        c = getchar ();
      }
!   exit (EXIT_FAILURE);
  }
  
  /* arch-tag: 8db68f7e-2322-4944-a315-dba349bdbf39
     (do not change this comment) */
+ 
+ /* profile.c ends here */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]