Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2001 21:45:03 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libposix1e acl_from_text.c acl_to_text.c
Message-ID:  <200101090545.f095j3o26991@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2001/01/08 21:45:03 PST

  Modified files:
    lib/libposix1e       acl_from_text.c acl_to_text.c 
  Log:
  o acl_from_text.c:
    - errno is already set to ENOMEM (as appropriate) when asprintf(),
      strdup(), or acl_init() fails
  o acl_to_text.c:
    - the return value of the initial strdup() is not checked
    - errno is already set to ENOMEM (as appropriate) when asprintf
      and acl_init() fails
    - let the the default: case use 'goto error_label' for consistency
  
  Submitted by:	jedgar
  
  Revision  Changes    Path
  1.3       +2 -5      src/lib/libposix1e/acl_from_text.c
  1.3       +10 -21    src/lib/libposix1e/acl_to_text.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?200101090545.f095j3o26991>