home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!ncar!csn!news.den.mmc.com!traffic!kevin
- From: kevin@traffic.den.mmc.com (Kevin Rodgers)
- Subject: Re: Warning - don't repeat my Open Client/C mistake
- Message-ID: <1992Dec23.192209.8241@den.mmc.com>
- Sender: news@den.mmc.com (News)
- Nntp-Posting-Host: traffic.den.mmc.com
- Organization: Martin Marietta Western Internal Systems, Technical Operations
- References: <1992Dec23.002016.26975@mcm.com>
- Date: Wed, 23 Dec 1992 19:22:09 GMT
- Lines: 21
-
- In article <1992Dec23.002016.26975@mcm.com> wall@mcm.com (Steve Wall) writes:
- >The problem is that there is a limit of 16 (my experience - the
- >4.6 Open Client/C doc dated 8/92 [page 2-99] says 8...) arguments
- >that can be handed to each call to dbfcmd(). Well, of course I'm
- >cruising right along, add a new column to a table, add the column
- >to the Open Client/C program, and OOPS! - the new column doesn't
- >post correctly (seems to receive \0 values). No warning from dbfcmd()
- >or anything (would be nice...if it uses varags(3), it seems like
- >it *could* detect and notify when too many args are passed(?)).
-
- If dbfcmd() was implemented with varargs.h/stdarg.h, it wouldn't even
- have to be limited to an arbitrary number of arguments. Hell, it could
- just call vprintf() to format the command, and then pass the result to
- dbfcmd().
-
- Argh, indeed.
- --
- Kevin Rodgers kevin@traffic.den.mmc.com
- Martin Marietta MS A16401 (303) 790-3971
- 116 Inverness Dr. East
- Englewood CO 80112 USA GO BUFFS!
-