| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | RayeR <glaux AT centrum DOT cz> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: argv[0] |
| Date: | Mon, 5 Dec 2011 18:19:02 -0800 (PST) |
| Organization: | http://groups.google.com |
| Lines: | 25 |
| Message-ID: | <c305cbce-aed4-42db-ab16-d1ffd143177a@p9g2000vbb.googlegroups.com> |
| References: | <16b04d29-8317-4c7f-929c-1a22a328fa32 AT p9g2000vbb DOT googlegroups DOT com> |
| <jbeegg$qp2$1 AT speranza DOT aioe DOT org> <dca06357-dc1d-4ede-aa9e-510e15e499b5 AT z17g2000vbe DOT googlegroups DOT com> | |
| <dca6ea34-7cf2-4abe-afc3-8a1122602ed9 AT y12g2000vba DOT googlegroups DOT com> | |
| <6719f201-2317-420d-bb38-3be66c90140b AT q9g2000yqe DOT googlegroups DOT com> | |
| <5059ad16-7787-49ef-8fb3-d9c21919a65b AT d10g2000vbf DOT googlegroups DOT com> | |
| <20af6883-aa05-4549-b820-ca0f7c80708d AT ca1g2000vbb DOT googlegroups DOT com> <jbi5qv$vv5$1 AT speranza DOT aioe DOT org> | |
| NNTP-Posting-Host: | 78.45.168.98 |
| Mime-Version: | 1.0 |
| X-Trace: | posting.google.com 1323138059 12251 127.0.0.1 (6 Dec 2011 02:20:59 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | Tue, 6 Dec 2011 02:20:59 +0000 (UTC) |
| Complaints-To: | groups-abuse AT google DOT com |
| Injection-Info: | p9g2000vbb.googlegroups.com; posting-host=78.45.168.98; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp |
| User-Agent: | G2/1.0 |
| X-Google-Web-Client: | true |
| X-Google-Header-Order: | HUALESNKRC |
| X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) |
| Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) | |
| Bytes: | 2624 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id pB62j2to008517 |
| Reply-To: | djgpp AT delorie DOT com |
Yes I admit that my code is not 100% bullet proof but it covers me most of case I need. Georg, I'm afraid if your code would run 100% well on all common DOS and DOS-clones and Windows DOS boxes, maybe yes I donn't know. Here's output of your code ran under DOS box of XP under DOS Navigator: MCB:2270 M PSP:8 Blocksize:2BB MCB:4E30 M PSP:4E4 Blocksize:AB ENV:598 Program:COMMAND MCB:58F0 M PSP:0 Blocksize:7 MCB:5970 M PSP:4E4 Blocksize:6C MCB:6040 M PSP:663 Blocksize:5D MCB:6620 M PSP:663 Blocksize:32 ENV:605 Program:DN MCB:6950 M PSP:6F5 Blocksize:5E MCB:6F40 M PSP:6F5 Blocksize:AB ENV:7A1 Program:COMMAND MCB:7A00 M PSP:6F5 Blocksize:5C MCB:7FD0 M PSP:85D Blocksize:5E Path:MARTIN\C\EXAMPLES \MCBTRACE.EXESSORS=2 MCB:85C0 M PSP:85D Blocksize:410 ENV:187 Program:MCBTRACEÍ ÿŸ MCB:C6D0 M PSP:0 Blocksize:F00 MCB:1B6E0 Z PSP:0 Blocksize:8490 I can see here some overwritten strings (MCB:7FD0) and strange characters (MCB:85C0)
| webmaster | delorie software privacy |
| Copyright 2019 by DJ Delorie | Updated Jul 2019 |