Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 22:11:08 -0700 (PDT)
From:      "J. Mallett" <jmallett@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/find function.c src/usr.bin/finger util.c src/usr.bin/last last.c src/usr.bin/paste paste.c src/usr.bin/tset map.c src/usr.bin/tsort tsort.c
Message-ID:  <200205170511.g4H5B8731212@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jmallett    2002/05/16 22:11:08 PDT

  Modified files:
    usr.bin/find         function.c 
    usr.bin/finger       util.c 
    usr.bin/last         last.c 
    usr.bin/paste        paste.c 
    usr.bin/tset         map.c 
    usr.bin/tsort        tsort.c 
  Log:
  Clean up malloc(3)'s argument.  Remove casts which do nothing when we're
  using sizeof() anyway.  Use slightly more consistent (per-file) error
  reporting for malloc(3) returning NULL.  If "malloc failed" was being printed,
  don't use err(3).  If a NULL format is being used, use err(3).  In one case
  errx(3) was being used with strerror(3), so just use err(3).
  
  Revision  Changes    Path
  1.44      +9 -9      src/usr.bin/find/function.c
  1.19      +2 -2      src/usr.bin/finger/util.c
  1.27      +5 -5      src/usr.bin/last/last.c
  1.10      +2 -2      src/usr.bin/paste/paste.c
  1.10      +1 -1      src/usr.bin/tset/map.c
  1.14      +5 -5      src/usr.bin/tsort/tsort.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205170511.g4H5B8731212>