From owner-freebsd-standards Mon May 20 19:58:23 2002 Delivered-To: freebsd-standards@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id 439F537B405 for ; Mon, 20 May 2002 19:57:54 -0700 (PDT) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g4L2uRi64868 for standards@FreeBSD.org; Mon, 20 May 2002 22:56:27 -0400 (EDT) (envelope-from mike) Date: Mon, 20 May 2002 22:56:27 -0400 From: Mike Barcroft To: standards@FreeBSD.org Subject: in6.diff for review Message-ID: <20020520225627.A56179@espresso.q9media.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline Organization: The FreeBSD Project Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The attached patch implements the rest of the conditionalizing to make conform to POSIX.1-2001. I didn't rearrange in6.h like I did with in.h, since I don't want to make it too difficult for KAME to track our changes. Comments appreciated. Best regards, Mike Barcroft --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="in6.diff" o Conditionalize sections for POSIX.1-2001 compatibility. o Use POSIX spelling for types, where possible. o Define size_t in the __BSD_VISIBLE case (this isn't really needed for standards conformance, but follows the tradition of not requiring as a prerequisite). o Use _BYTE_ORDER and friends instead of BYTE_ORDER and friends, since there may not be enough pollution in order for the latter to work. o Add an XXX note about the missing IPPROTO_IPV6 macro. Index: in6.h =================================================================== RCS file: /work/repo/src/sys/netinet6/in6.h,v retrieving revision 1.19 diff -u -r1.19 in6.h --- in6.h 19 Apr 2002 04:46:22 -0000 1.19 +++ in6.h 12 May 2002 05:01:23 -0000 @@ -107,21 +107,22 @@ * It is only secure if you trust the remote host to restrict these ports. * The range is IPPORT_RESERVEDMIN to IPPORT_RESERVEDMAX. */ - +#if __BSD_VISIBLE #define IPV6PORT_RESERVED 1024 #define IPV6PORT_ANONMIN 49152 #define IPV6PORT_ANONMAX 65535 #define IPV6PORT_RESERVEDMIN 600 #define IPV6PORT_RESERVEDMAX (IPV6PORT_RESERVED-1) +#endif /* * IPv6 address */ struct in6_addr { union { - u_int8_t __u6_addr8[16]; - u_int16_t __u6_addr16[8]; - u_int32_t __u6_addr32[4]; + uint8_t __u6_addr8[16]; + uint16_t __u6_addr16[8]; + uint32_t __u6_addr32[4]; } __u6_addr; /* 128-bit IP6 address */ }; @@ -135,18 +136,23 @@ #define INET6_ADDRSTRLEN 46 /* + * XXX missing POSIX.1-2001 macro IPPROTO_IPV6. + */ + +/* * Socket address for IPv6 */ -#ifndef _XOPEN_SOURCE +#if __BSD_VISIBLE #define SIN6_LEN #endif + struct sockaddr_in6 { - u_int8_t sin6_len; /* length of this struct(sa_family_t)*/ - u_int8_t sin6_family; /* AF_INET6 (sa_family_t) */ - u_int16_t sin6_port; /* Transport layer port # (in_port_t)*/ - u_int32_t sin6_flowinfo; /* IP6 flow information */ + sa_family_t sin6_len; /* length of this struct */ + sa_family_t sin6_family; /* AF_INET6 */ + in_port_t sin6_port; /* Transport layer port # */ + uint32_t sin6_flowinfo; /* IP6 flow information */ struct in6_addr sin6_addr; /* IP6 address */ - u_int32_t sin6_scope_id; /* scope zone index */ + uint32_t sin6_scope_id; /* scope zone index */ }; /* @@ -178,7 +184,7 @@ * Macros started with IPV6_ADDR is KAME local */ #ifdef _KERNEL /* XXX nonstandard */ -#if BYTE_ORDER == BIG_ENDIAN +#if _BYTE_ORDER == _BIG_ENDIAN #define IPV6_ADDR_INT32_ONE 1 #define IPV6_ADDR_INT32_TWO 2 #define IPV6_ADDR_INT32_MNL 0xff010000 @@ -187,7 +193,7 @@ #define IPV6_ADDR_INT16_ULL 0xfe80 #define IPV6_ADDR_INT16_USL 0xfec0 #define IPV6_ADDR_INT16_MLL 0xff02 -#elif BYTE_ORDER == LITTLE_ENDIAN +#elif _BYTE_ORDER == _LITTLE_ENDIAN #define IPV6_ADDR_INT32_ONE 0x01000000 #define IPV6_ADDR_INT32_TWO 0x02000000 #define IPV6_ADDR_INT32_MNL 0x000001ff @@ -202,6 +208,7 @@ /* * Definition of some useful macros to handle IP6 addresses */ +#if __BSD_VISIBLE #define IN6ADDR_ANY_INIT \ {{{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}} @@ -217,12 +224,15 @@ #define IN6ADDR_LINKLOCAL_ALLROUTERS_INIT \ {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 }}} +#endif extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; +#if __BSD_VISIBLE extern const struct in6_addr in6addr_nodelocal_allnodes; extern const struct in6_addr in6addr_linklocal_allnodes; extern const struct in6_addr in6addr_linklocal_allrouters; +#endif /* * Equality @@ -234,9 +244,11 @@ #define IN6_ARE_ADDR_EQUAL(a, b) \ (bcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0) #else +#if __BSD_VISIBLE #define IN6_ARE_ADDR_EQUAL(a, b) \ (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0) #endif +#endif #ifdef _KERNEL /* non standard */ /* see if two addresses are equal in a scope-conscious manner. */ @@ -376,7 +388,7 @@ /* * IP6 route structure */ -#ifndef _XOPEN_SOURCE +#if __BSD_VISIBLE struct route_in6 { struct rtentry *ro_rt; struct sockaddr_in6 ro_dst; @@ -387,6 +399,15 @@ * Options for use with [gs]etsockopt at the IPV6 level. * First word of comment is data type; bool is stored in int. */ +#define IPV6_JOIN_GROUP 12 /* ip6_mreq; join a group membership */ +#define IPV6_LEAVE_GROUP 13 /* ip6_mreq; leave a group membership */ +#define IPV6_MULTICAST_HOPS 10 /* u_char; set/get IP6 multicast hops */ +#define IPV6_MULTICAST_IF 9 /* u_char; set/get IP6 multicast i/f */ +#define IPV6_MULTICAST_LOOP 11 /* u_char; set/get IP6 multicast loopback */ +#define IPV6_UNICAST_HOPS 4 /* int; IP6 hops */ +#define IPV6_V6ONLY 27 /* bool; only bind INET6 at wildcard bind */ + +#if __BSD_VISIBLE /* no hdrincl */ #if 0 /* the followings are relic in IPv4 and hence are disabled */ #define IPV6_OPTIONS 1 /* buf/ip6_opts; set/get IP6 options */ @@ -396,12 +417,6 @@ #define IPV6_RETOPTS 8 /* ip6_opts; set/get IP6 options */ #endif #define IPV6_SOCKOPT_RESERVED1 3 /* reserved for future use */ -#define IPV6_UNICAST_HOPS 4 /* int; IP6 hops */ -#define IPV6_MULTICAST_IF 9 /* u_char; set/get IP6 multicast i/f */ -#define IPV6_MULTICAST_HOPS 10 /* u_char; set/get IP6 multicast hops */ -#define IPV6_MULTICAST_LOOP 11 /* u_char; set/get IP6 multicast loopback */ -#define IPV6_JOIN_GROUP 12 /* ip6_mreq; join a group membership */ -#define IPV6_LEAVE_GROUP 13 /* ip6_mreq; leave a group membership */ #define IPV6_PORTRANGE 14 /* int; range to choose for unspec port */ #define ICMP6_FILTER 18 /* icmp6_filter; icmp6 filter */ /* RFC2292 options */ @@ -414,7 +429,6 @@ #define IPV6_PKTOPTIONS 25 /* buf/cmsghdr; set/get IPv6 options */ #define IPV6_CHECKSUM 26 /* int; checksum offset for raw socket */ -#define IPV6_V6ONLY 27 /* bool; only bind INET6 at wildcard bind */ #ifndef _KERNEL #define IPV6_BINDV6ONLY IPV6_V6ONLY #endif @@ -468,7 +482,6 @@ #define IPV6_PORTRANGE_HIGH 1 /* "high" - request firewall bypass */ #define IPV6_PORTRANGE_LOW 2 /* "low" - vouchsafe security */ -#ifndef _XOPEN_SOURCE /* * Definitions for inet6 sysctl operations. * @@ -569,8 +582,6 @@ /* to define items, should talk with KAME guys first, for *BSD compatibility */ #define IPV6CTL_MAXID 37 -#endif /* !_XOPEN_SOURCE */ - /* * Redefinition of mbuf flags */ @@ -605,16 +616,21 @@ extern int (*faithprefix_p)(struct in6_addr *); #endif /* _KERNEL */ +#ifdef _BSD_SIZE_T_ +typedef _BSD_SIZE_T_ size_t; +#undef _BSD_SIZE_T_ +#endif + __BEGIN_DECLS struct cmsghdr; extern int inet6_option_space __P((int)); extern int inet6_option_init __P((void *, struct cmsghdr **, int)); -extern int inet6_option_append __P((struct cmsghdr *, const u_int8_t *, +extern int inet6_option_append __P((struct cmsghdr *, const uint8_t *, int, int)); -extern u_int8_t *inet6_option_alloc __P((struct cmsghdr *, int, int, int)); -extern int inet6_option_next __P((const struct cmsghdr *, u_int8_t **)); -extern int inet6_option_find __P((const struct cmsghdr *, u_int8_t **, int)); +extern uint8_t *inet6_option_alloc __P((struct cmsghdr *, int, int, int)); +extern int inet6_option_next __P((const struct cmsghdr *, uint8_t **)); +extern int inet6_option_find __P((const struct cmsghdr *, uint8_t **, int)); extern size_t inet6_rthdr_space __P((int, int)); extern struct cmsghdr *inet6_rthdr_init __P((void *, int)); @@ -629,14 +645,14 @@ extern int inet6_rthdr_getflags __P((const struct cmsghdr *, int)); extern int inet6_opt_init __P((void *, size_t)); -extern int inet6_opt_append __P((void *, size_t, int, u_int8_t, - size_t, u_int8_t, void **)); +extern int inet6_opt_append __P((void *, size_t, int, uint8_t, + size_t, uint8_t, void **)); extern int inet6_opt_finish __P((void *, size_t, int)); extern int inet6_opt_set_val __P((void *, size_t, void *, int)); -extern int inet6_opt_next __P((void *, size_t, int, u_int8_t *, +extern int inet6_opt_next __P((void *, size_t, int, uint8_t *, size_t *, void **)); -extern int inet6_opt_find __P((void *, size_t, int, u_int8_t, +extern int inet6_opt_find __P((void *, size_t, int, uint8_t, size_t *, void **)); extern int inet6_opt_get_val __P((void *, size_t, void *, int)); extern size_t inet6_rth_space __P((int, int)); @@ -646,5 +662,7 @@ extern int inet6_rth_segments __P((const void *)); extern struct in6_addr *inet6_rth_getaddr __P((const void *, int)); __END_DECLS + +#endif /* __BSD_VISIBLE */ #endif /* !_NETINET6_IN6_H_ */ --bp/iNruPH9dso1Pn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed May 22 4:38:24 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 097D637B407; Wed, 22 May 2002 04:38:23 -0700 (PDT) Received: (from tjr@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4MBcNh02442; Wed, 22 May 2002 04:38:23 -0700 (PDT) (envelope-from tjr) Date: Wed, 22 May 2002 04:38:23 -0700 (PDT) From: Message-Id: <200205221138.g4MBcNh02442@freefall.freebsd.org> To: tjr@FreeBSD.org, freebsd-standards@FreeBSD.org, tjr@FreeBSD.org Subject: Re: standards/36190: P1003.1-2001 newgrp command Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: P1003.1-2001 newgrp command Responsible-Changed-From-To: freebsd-standards->tjr Responsible-Changed-By: tjr Responsible-Changed-When: Wed May 22 04:37:32 PDT 2002 Responsible-Changed-Why: Over to me. http://www.freebsd.org/cgi/query-pr.cgi?pr=36190 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Thu May 23 14:42: 1 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mail.tgd.net (mail.tgd.net [209.81.25.10]) by hub.freebsd.org (Postfix) with ESMTP id 8AAC237B409; Thu, 23 May 2002 14:41:55 -0700 (PDT) Received: by mail.tgd.net (Postfix, from userid 1001) id B17D020F05; Thu, 23 May 2002 14:41:54 -0700 (PDT) Date: Thu, 23 May 2002 14:41:54 -0700 From: Sean Chittenden To: ijliao@FreeBSD.org Cc: freebsd-ports@FreeBSD.org, freebsd-standards@freebsd.org Subject: Re: ports/36954: PostgreSQL daylight savings fix... Message-ID: <20020523144154.J68814@ninja1.internal> References: <200205230229.g4N2TqA84236@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200205230229.g4N2TqA84236@freefall.freebsd.org>; from "ijliao@FreeBSD.org" on Wed, May 22, 2002 at = 07:29:52PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Synopsis: PostgreSQL daylight savings fix... > > State-Changed-From-To: open->feedback > State-Changed-By: ijliao > State-Changed-When: Wed May 22 19:28:28 PDT 2002 > State-Changed-Why: > maintainer said that he cant reproduce this bug > could you please try again ? > or does this bug depend on any env vars ? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=36954 Ugh. This topic is a PITA. 1) FreeBSD is technically correct in that 2AM doesn't exist at a daylight savings switch (according to Naval time sources/reference/documentation). 2) FreeBSD is the _only_ operating system that returns an error for this time value. For consistency sake, should postgresql fudge over the error or should FreeBSD's mktime() behave like the rest of the *NIX's, including Solaris, AIX, and our favorite bastard child, Linux? ::shrug:: This discussion never seems to end. So I patched PostgreSQL and had a long discussion with them about this (see bug PG #630). This discussion comes up every spring, but looses its importance every year after the poor flag carrier gets thumped into submission. To quote from the discussion: "Personally I'd like to see FreeBSD do away with this strange behavior. It cause my grief because certain things *MUST* be done at 0200 every day in our system, I was forced to do them manually recently, shifting several hours of work into daytime which had to be paused and bulked into the next days work. I realize that this is getting off track but it just points out that the FreeBSD behavior is IMHO WRONG. It causes applications to fail in an unexpected and odd way. "I'm not objecting to pg patching for it (no choice at the moment) but I hope the pg team 'officially' puts a little pressure on the BSD folk to make this behave as expected. "I don't have any compliance docs at the moment, but this strikes me as somewhat out of spec personally." And so I'm stuck as to what to do. I'm not the person in the quote, but have the same problem (really a cron issue, but that's neither here nor there). Every hour, on the hour, something happens and it involves inserting data and every year, it fails for only PG databases on FreeBSD. The problem is quite reproducible, I've done it on numerous occasions and if anyone has any problems, please let me know. I'd like to see this patch included if possible and hopefully something worked out on freebsd-standards (though I've kinda dropped the ball on keeping that discussion alive because I got tired of it). Anyone else want to help carry the flag? <:~) -sc -- Sean Chittenden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat May 25 5:14:17 2002 Delivered-To: freebsd-standards@freebsd.org Received: from ns.komi.gr.jp (ns.komi.gr.jp [210.164.73.242]) by hub.freebsd.org (Postfix) with ESMTP id C862437B401 for ; Sat, 25 May 2002 05:14:05 -0700 (PDT) Received: from test (66.148.133.66.nw.nuvox.net [66.148.133.66]) by ns.komi.gr.jp (Build 98 8.9.3/NT-8.9.3) with SMTP id VAA05939; Sat, 25 May 2002 21:04:50 +0900 Message-Id: <200205251204.VAA05939@ns.komi.gr.jp> Reply-To: medbrkthrgh77@yahoo.com From: medbrkthrgh774120@yahoo.com To: stanchion@deducteds.org Cc: stancu@indiana.edu, stancza@hotmail.com, standard@netvision.net.il, standard@texaswest.com, standardlife@rnib.org.uk, standards@FreeBSD.org Subject: Medical Breakthrough... aging can be reversed with HGH Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Sat, 25 May 2002 05:05:04 -0700 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There are three different types of HGH products. The confusion is that all three are advertised as if they were the same. The three types are: 1) --- Homeopathic HGH 2) --- Pre-cursor HGH 3) --- Real or synthetic HGH (delivered by injection or, by an oral spray method). Do you know differences? Call us and we'll explain them to you. Our toll free number is 1-888-621-7300 An HGH staff member is avialable 9 to 5 Pacific Time. If after hours, please leave you name and day and evening phone numbers. We will call you back in a no pressure, educational manner. If you are overseas call your long distance operator and ask to be connected to our phone number. We will call you back so we can pay for the long distance charges. For more information on HGH read on............ HAVE YOU HEARD OF HUMAN GROWTH HORMONE (HGH)??? Released by your own pituitary gland, HGH starts declining in your 20s, even more in your 30s and 40s, eventually resulting in the shrinkage of major organs -- plus, all other symptoms related to old age. IN THOUSANDS OF CLINICAL STUDIES, HGH HAS BEEN SHOWN TO ACCOMPLISH THE FOLLOWING: * Reduce Body Fat and Build Lean Muscle WITHOUT EXERCISE! * Enhance Sexual Performance * Remove Wrinkles and Cellulite * Lower Blood Pressure and Improve Cholesterol Profile * Improve Sleep, Vision and Memory * Restore Hair Color and Growth * Strengthen the Immune System * Increase Energy and Cardiac Output * Turn back your body's Biological Time Clock 10 - 20 years * Live Longer AND Stronger All natural and organic plant based FEEL 10 YEARS YOUNGER WITH ORAL SPRAY HGH. GUARANTEED We are the manufacturer and we sell directly to Doctors, Chiropractors, and consumers world wide the highest grade HGH Oral Spray available. With internet marketing, we are able to save advertising cost and pass those savings along to you. But you must act now. To receive more information call us now. TOLL FREE 1-888-621-7300 We must speak to you in person to qualify your usage. All of your questions will be addressed and answered in a friendly, no pressure manner. Our main purpose is to provide you with information so you can make an educated decision. For more information call 1-888-621-7300 If you are on line write down our phone number and call us when you can. Soon, you and your loved ones will be very glad you did. Read what people are saying: "The effects of 6 months of GH on lean body mass and fat were equivalent in magnitude to the changes incurred during 10-20 years of aging." Dr. Daniel Rudman, MD, New England Journal of Medicine. "Within four months, my body fat decreased form 30% down to 21%! I noticed my skin is more supple and my overall mental outlook improved significantly." D.W., New Jersey "We have been on the spray for just 3 weeks now, and besides the tremendous energy we both feel, my husbands allergies and spells of depression have lifted. I am healing extremely fast after an accident and have lost 7 lbs. without trying!" C.B., Flagstaff. AZ Thanks for reading our letter, The HGH Staff USA Division PS: The HGH Staff guarantees the highest quality and lowest price. We manufacture and ship directly to your door. Call us now 1-888-621-7300 ======= End of message ======== The following statement is provided to be in compliance with commercial email laws. If you do not wish to receive further mailings, please click reply and type remvoe in the subject box. Then click send. This message is in full compliance with U.S. Federal requirements for commercial email under bill S.1618 Title lll, Section 301, Paragraph (a)(2)(C) passed by the 105th U.S. Congress and is not considered SPAM since it includes a remove mechanism.* This message is not intended for residents in the states of CA, NC, NV, RI, TN, VA & WA. Screening of addresses has been done to the best of our technical ability. Call us now 1-888-621-7300 for your free HGH consultation. Thank you -- 4120 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat May 25 10:38:27 2002 Delivered-To: freebsd-standards@freebsd.org Received: from smtp.noos.fr (camus.noos.net [212.198.2.70]) by hub.freebsd.org (Postfix) with ESMTP id C1DC637B403 for ; Sat, 25 May 2002 10:38:10 -0700 (PDT) Received: (qmail 15421497 invoked by uid 0); 25 May 2002 17:38:09 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.230.194]) (envelope-sender ) by 212.198.2.70 (qmail-ldap-1.03) with SMTP for ; 25 May 2002 17:38:09 -0000 Received: from gits.gits.dyndns.org (q878mwus9eiskjau@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.3/8.12.3) with ESMTP id g4PHc8i2022806; Sat, 25 May 2002 19:38:08 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.3/8.12.3/Submit) id g4PHc7Ue022805; Sat, 25 May 2002 19:38:07 +0200 (CEST) (envelope-from root) Message-Id: <200205251738.g4PHc7Ue022805@gits.gits.dyndns.org> Subject: POSIX ps To: freebsd standards , Jens Schweikhardt , "Tim J. Robbins" Date: Sat, 25 May 2002 19:38:07 +0200 (CEST) From: Cyrille Lefevre Reply-To: cyrille.lefevre@laposte.net X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've just discovered the FreeBSD C99 & POSIX Conformance Project. so, I inform you that I've a conformant `ps' I've done last year, but I've not checked yet if everything is really conformant. the switch between the BSD and the SUSV2 syntax (in the time I've made it) is done by the existance of the SUSV2 environment variable or -B / -V switches. also, lists handling is now done using queue(3). ex.: # /usr/src/bin/ps.new/ps -? usage: ps [-aBCfhjlmrSTuvVwx] [-O|-o fmt] [-p pidlist] [-t ttylist] [-U userlist] [-M core] [-N system] [-W swap] ps [-L] # SUSV2=1 /usr/src/bin/ps.new/ps -? usage: ps [-AaBdefjl] [-C cmdlist] [-g pgrplist] [-G grouplist] [-o fmt] [-p pidlist] [-t ttylist] [-u userlist] [-U userlist] [-m core] [-n system] [-w swap] addr args c comm etime group l rgroup s stime have been added to -L. also, last month, I've worked a lot on `sh' to make use of getopt(3), instead of the internal `nextopt' (`argptr' is no longer required), in all builtins which may be `getopt' compliant such as `echo', etc. plus some enhancements such as adding an usage string to all builtins which may have one, etc. and some code cleanup to make it more style(9) compliant. `expr', `getopt' (the old one) and `line' builtins have been added. /bin/echo and the builtin `echo' are now the same (bltin/echo is no more needed). I've also integrated some NetBSD fixes. in the time I'm writting this message, I don't remember all of the changes I've done. the code need to be checked first and I'll make a report about all of them. please, be patient. I'm just asking you to be marqued as `Responsible' of the `ps' project if nobody object it. also, I need to get in touch w/ Tim J. Robbins about `sh' change we both made to avoid duplicated work (humm! my fault :). Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Sat May 25 12:37: 2 2002 Delivered-To: freebsd-standards@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id AC00A37B401; Sat, 25 May 2002 12:36:58 -0700 (PDT) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id MAA25923; Sat, 25 May 2002 12:36:56 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda25921; Sat May 25 12:36:53 2002 Received: from cwsys.cwsent.com (cwsys2 [10.1.2.1]) by passer.osg.gov.bc.ca (8.12.3/8.12.3) with ESMTP id g4PJaleQ042655; Sat, 25 May 2002 12:36:47 -0700 (PDT) (envelope-from cy@cwsent.com) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.12.3/8.12.3) with ESMTP id g4PJagdg040720; Sat, 25 May 2002 12:36:42 -0700 (PDT) (envelope-from cy@cwsys.cwsent.com) Message-Id: <200205251936.g4PJagdg040720@cwsys.cwsent.com> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Reply-To: Cy Schubert - CITS Open Systems Group From: Cy Schubert - CITS Open Systems Group X-os: FreeBSD X-Sender: cy@cwsent.com To: cyrille.lefevre@laposte.net Cc: freebsd standards , Jens Schweikhardt , "Tim J. Robbins" Subject: Re: POSIX ps In-Reply-To: Message from Cyrille Lefevre of "Sat, 25 May 2002 19:38:07 +0200." <200205251738.g4PHc7Ue022805@gits.gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 May 2002 12:36:42 -0700 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200205251738.g4PHc7Ue022805@gits.gits.dyndns.org>, Cyrille Lefevre writes: > Hi, > > I've just discovered the FreeBSD C99 & POSIX Conformance Project. > > so, I inform you that I've a conformant `ps' I've done last year, > but I've not checked yet if everything is really conformant. the > switch between the BSD and the SUSV2 syntax (in the time I've made > it) is done by the existance of the SUSV2 environment variable or > -B / -V switches. also, lists handling is now done using queue(3). > > ex.: > > # /usr/src/bin/ps.new/ps -? > usage: ps [-aBCfhjlmrSTuvVwx] [-O|-o fmt] [-p pidlist] [-t ttylist] > [-U userlist] [-M core] [-N system] [-W swap] > ps [-L] > # SUSV2=1 /usr/src/bin/ps.new/ps -? > usage: ps [-AaBdefjl] [-C cmdlist] [-g pgrplist] [-G grouplist] [-o fmt] > [-p pidlist] [-t ttylist] [-u userlist] [-U userlist] > [-m core] [-n system] [-w swap] I'd be very much interested in having a look at this (e.g. getting a copy to play with). Also, would it be possible to build a port, just like mergemaster was in ports/ before it went into src/, so we can have a chance to use it before it is imported into src/? (If no one minds, I'd be willing to roll up my sleeves to build a port until such time it goes into src/.) -- Cheers, Phone: 250-387-8437 Cy Schubert Fax: 250-387-5766 Team Leader, Sun/Alpha Team Email: Cy.Schubert@osg.gov.bc.ca Open Systems Group, CITS Ministry of Management Services Province of BC FreeBSD UNIX: cy@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message