This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4582] New: typos in comments


*** segfault.c  14 Dec 2005 10:39:47 -0000      1.1
--- segfault.c  1 Jun 2007 21:34:12 -0000
***************
*** 42,55 ****
  /* Get code to possibly dump the content of all registers.  */
  #include <register-dump.h>

! /* We'll use tis a lot.  */
  #define WRITE_STRING(s) write (fd, s, strlen (s))

  /* Name of the output file.  */
  static const char *fname;


! /* We better should not use `strerror' since it can call far too many
     other functions which might fail.  Do it here ourselves.  */
  static void
  write_strsignal (int fd, int signal)
--- 42,55 ----
  /* Get code to possibly dump the content of all registers.  */
  #include <register-dump.h>

! /* We'll use this a lot.  */
  #define WRITE_STRING(s) write (fd, s, strlen (s))

  /* Name of the output file.  */
  static const char *fname;


! /* We should not use `strerror' since it can call far too many
     other functions which might fail.  Do it here ourselves.  */
  static void
  write_strsignal (int fd, int signal)
*************** write_strsignal (int fd, int signal)
*** 67,73 ****


  /* This function is called when a segmentation fault is caught.  The system
!    is in an instable state now.  This means especially that malloc() might
     not work anymore.  */
  static void
  catch_segfault (int signal, SIGCONTEXT ctx)
--- 67,73 ----


  /* This function is called when a segmentation fault is caught.  The system
!    is in an unstable state now.  This means especially that malloc() might
     not work anymore.  */
  static void
  catch_segfault (int signal, SIGCONTEXT ctx)

-- 
           Summary: typos in comments
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P3
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: michael dot snyder at access-company dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4582

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]