JDWP: usage of perror() in socketTransport.c is not helpful

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: core-svc
    • None
    • generic
    • generic



      Name: tb29552 Date: 02/08/2002


      src/share/transport/socket/socketTransport.c contains nine
      separate uses of the statement:
         perror("err:");

      % cat -n socketTransport.c | egrep perror
          34 perror("err:");
          42 perror("err:");
          73 perror("err:");
          92 perror("err:");
         100 perror("err:");
         137 perror("err:");
         182 perror("err:");
         211 perror("err:");
         225 perror("err:");

      When this error message string shows up on stderr,
      it is difficult to:

      1) Figure out what module and source file reported it.

      2) Once you have tracked down 1), figure out which of the
         nine lines of code you are dealing with.

      ======================================================================

            Assignee:
            Alan Bateman
            Reporter:
            Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: