# HG changeset patch # User chin # Date 1177095060 25200 # Node ID 7fe2cd8abb794c043db7854b5c2ec0a1f34d6d8b # Parent 4c31c5bc238922f16a953e4c17d119b1f16df79a 6548104 *getconf* wrong value returned for SSIZE_MAX requests diff -r 4c31c5bc2389 -r 7fe2cd8abb79 usr/src/cmd/getconf/getconf.c --- a/usr/src/cmd/getconf/getconf.c Fri Apr 20 06:09:57 2007 -0700 +++ b/usr/src/cmd/getconf/getconf.c Fri Apr 20 11:51:00 2007 -0700 @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -480,7 +479,7 @@ /* POSIX.1-1990 */ CHARCLASS_NAME_MAX, "CHARCLASS_NAME_MAX", SELFCONF, NOFLAGS, - _POSIX_SSIZE_MAX, "SSIZE_MAX", SELFCONF, NOFLAGS, + SSIZE_MAX, "SSIZE_MAX", SELFCONF, NOFLAGS, /* POSIX.1-1988 */ CHAR_BIT, "CHAR_BIT", SELFCONF, NOFLAGS,