Changeset 0333258 in rtems


Ignore:
Timestamp:
Jul 18, 2003, 5:21:40 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
de65a87
Parents:
c4abc88
Message:

2003-07-18 Ralf Corsepius <corsepiu@…>

  • src/rdbg.c: Use memset instead of bzero (deprecated).
  • src/servtsp.c: Ditto.
Location:
c/src/librdbg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/librdbg/ChangeLog

    rc4abc88 r0333258  
     12003-07-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * src/rdbg.c: Use memset instead of bzero (deprecated).
     4        * src/servtsp.c: Ditto.
     5
    162003-03-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/librdbg/src/rdbg.c

    rc4abc88 r0333258  
    6060  }
    6161
    62   bzero ((void *) &addr, sizeof (struct sockaddr_in));
     62  memset ((void *) &addr, 0, sizeof (struct sockaddr_in));
    6363  addr.sin_port = htons (rtemsPort);
    6464  if ((bind (sock, (struct sockaddr *) &addr, sizeof (addr))) == -1) {
  • c/src/librdbg/src/servtsp.c

    rc4abc88 r0333258  
    4747  }
    4848
    49   bzero ((void *) (&addr), sizeof (addr));
     49  memset ((void *) (&addr), 0, sizeof (addr));
    5050  addr.sin_family = AF_INET;
    5151  addr.sin_port = htons (BackPort);
Note: See TracChangeset for help on using the changeset viewer.