From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,56b1a617e15e8c9a,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 2003-03-15 12:25:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!news-out.visi.com!petbe.visi.com!news.alt.net!cola.stump.algebra.com!robomod!not-for-mail From: James Antill Newsgroups: comp.os.linux.announce Subject: Vstr 1.0.4 (string library in C) Date: Sat, 15 Mar 2003 14:24:08 CST Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAPnOL6SFvAtx2nXvNAQGLuAH/eQzeXPqRyGigV29KA4jGYwR2OQ9Aai55 eysZrTE5py8YHsdDnVanlLA4PU1xb2RSVnZGDDkJsxbm7tmfJ1ojPA== =7lsO X-Spam-Status: No, hits=0.0 required=10.0 tests=MISSING_HEADERS,SIGNATURE_LONG_SPARSE,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_GNUS_UA version=2.43 Xref: archiver1.google.com comp.os.linux.announce:3101 About ----- Vstr is a string library designed for network communication, but applicable in a number of other areas. It works on the idea of separate nodes of information, and the length/ptr model and not the termination model of "C strings". It does dynamic resizing of strings as you add/delete data. It can also do automatic referencing for mmap() areas of memory, and includes a portable version of a printf-like function (which is ISO 9899:1999 compliant, and includes support for i18n parameter position modifiers). Other convenience functions are also included, so you can: easily split data from a string into sections (similar to perl's split function); and get string data from a socket or put data to a socket. Main Changes ------------ . Fixed ABI bug introduced in 1.0.3 . Fixed bug for when substituting data of type _PTR and _REF and having certain values of position cache. . Speed enhancement for export_cstr_ptr() in certain cases. Download URLs ------------- Overview: http://www.and.org/vstr/ Design: http://www.and.org/vstr/design.html String API comparison: http://www.and.org/vstr/comparison.html Printf comparison: http://www.and.org/vstr/printf_comparison.html ChangeLog: http://www.and.org/vstr/ChangeLog Tar balls --------- http://www.and.org/vstr/1.0.4/vstr-1.0.4.tar.gz ftp://ftp.and.org/pub/james/vstr/1.0.4/vstr-1.0.4.tar.gz http://www.and.org/vstr/1.0.4/vstr-1.0.4.tar.bz2 ftp://ftp.and.org/pub/james/vstr/1.0.4/vstr-1.0.4.tar.bz2 apt-rpm repository ------------------ rpm ftp://ftp.and.org/apt redhat/8.0/en/i386 extras rpm-src ftp://ftp.and.org/apt redhat/8.0/en/i386 extras RPMs ---- http://www.and.org/vstr/rpms/ ftp://ftp.and.org/pub/james/vstr/rpms/ PAD description --------------- http://www.and.org/vstr/vstr_pad.xml -- James Antill -- james@and.org Tip #1 for finding bugs in your C source code... egrep "strncpy|char[\t ]+.+\[[0-9]+\]" *.[ch] ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################