File: changed

package info (click to toggle)
dosemu-freedos 1%3A0.0.b9r5a%2Betch.1-0etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 19,744 kB
  • ctags: 23,279
  • sloc: ansic: 143,864; asm: 20,397; makefile: 3,868; perl: 1,106; yacc: 690; sh: 553; pascal: 297; xml: 150; cpp: 67
file content (298 lines) | stat: -rw-r--r-- 13,757 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
v0.82 pl 3:
bugfix: Ask for FreeCOM location when STRINGS are missing [#687]
bugfix: INIT: FreeCOM-path and TTY can be in any order
chg: SCRIPTS\MAKECMD.BAT: replaces MAKE_LNG.BAT, make localized FreeCOMs
add: SCRIPTS\MAKE_LNG.BAT: Make language-specific FreeCOM from *.LNG files {Bernd Blaauw}
add: SPANISH.LNG/ERR {Aitor Santamara Merino}
add: copy.c: BIGcopy() - large buffer r/w copy {Tom Ehlert}
add: total update/rewrite GERMAN.LNG {Clemens Lser}
bugfix: FIXSTRS: TEXT_CMDHELP_FOR: Invalid warning for %v {Bernd Blaauw}
bugfix: CRITERR: to use DOS API {Tom Ehlert/Bart Oldeman}
bugfix: LOADHIGH: deallocating context if /L is present {Tom Ehlert}
fix: set.c: warning missing prototype strchr()
bugfix: /F (AutoFail) for the XMS_Swap variant
bugfix: COPY * X: re-linked to correct SUPPL version
fix: typos [#1694,#1696,#1695]
add: FOR/?: example [#1679]
bugfix: typo: bad varable specification [#1678]
fix: copy(): replace chsize() to not fill with '\0's {Tom Ehlert}
add: copy(): Speed-Up by pre-creating the file {Tom Ehlert}
bugfix: BATCH.C: extract of label name failed due to macro {Tom Ehlert}
add: Serbian CP437 LNG/ERR files {Dejan Strbac}
add: Swedish CP850 LNG/ERR files {Oscar Molin}

v0.82 pl 2:
chg: Prevent double-parsing of redirection in CALL and IF
chg: updated FreeCOM implementation status doc
add: documentation for Benny levels, IF and TESTS\BENNY.BAT
bugfix: FREECOM.COM /?: is to terminate unless /P is present [Andrew Sly]
bugfix: Cleanup HTML docs to pass W3C validation
fix: typo in HISTORY /? {Andrew Sly}
chg: wilcard matching: COPY/REN *.TXT ???b.*: If length of source filename
	is less than 3, the superflous question marks are ignored, as in MS
	COMMAND v6.22 COPY, but INCOMPATIBLE to same version's REN, which
	embeds spaces
bugfix: CRITSTRS: hexa-decimal (%&??) interpretation {Strbac Dejan}
upd: STRINGS\DUTCH.LNG {Bernd Blaauw}
bugfix: CVS problem regarding strings\dutch.lng
add: Russian/CP866 language file {Sandul}
bugfix: dfnstat(): Use DOS-44-09 for "X:" {Bart Oldeman}
fix: memory leak (newname) in REN
add: MS COMMAND-style wildcards for REN {Wolf Bergenheim}
add: Serbian language files {Strbac Dejan}

v0.82 pl 1:
chg: Version number scheme: all v0.83 Beta <<even number>> really are
	predecessors of v0.82 pl 1
fix: DIR: /O default sort order
add: DEL: /V option [#1587]
chg: tracemode: print prompt prior command [#1487]
add: CALL /Y: To enable tracemode during command
bugfix: PROMPT $T: hour: space padded; fraction zero padded [#1481]
bugfix: command line scanner: must accept ' and ` as filename characters
	hence dropping them as quote character [#1244]
bugfix: DIR: /4 synonym for /Y [#937]
bugfix: COPY: remove created files on error [#756]
fix: COPY: broken wildcarded source pattern
add: COPY: colon'ed device names on command line, e.g. COPY CON: file [#225]
fix: COPY: con: is misinterpreted as C:
fix: DIR: /O: endless loop /OU; ignored /OG; /OE: return 0 if no extension
add: DIR: /O: multiple /O** conditions {Tom Ehlert}
bugfix: COPY: process directories as if "*.*" were appended
bugfix: split(): out-of-mem condition during building argument array

v0.83 Beta 56:
add: DIR: /O (single sort order) {Tom Ehlert}
bugfix: CONFIG.H: enabled CHCP by default
fix: typos
bugfix: cached NLS data not flushed
fix: DIR: correct attribute behaviour, no + syntax {Tom Ehlert}
fix: DIR /A-S need to default to attrMay == any
fix: DIR: bailing out if boolean switches found with /A
fix: DIR /S: if not found a single item, display error
add: SET /P {based on luojiuming}
bugfix: removed /V from CMDHELP_DIR
add: DIR /A*** (selected attributes) {based on patch from Michael Devore}

v0.83 Beta 54:
bugfix: prevent from executing non-*.bat/com/exe files [part 1) BugID #966]
bugfix: calling an external program: preserve leading spaces [BugID #752]
bugfix: ECHO: preserve leading spaces [BugID #1081]

v0.83 Beta 52:
add: CHCP (disabled by default)
bugfix: COPY: additional output to honor redirection {Eric Auer} [bugID #1313]
bugfix: onOffStr(): zaps trailing argument delimiters, e.g. ECHO set=
add: save/restore session (swap context) {Tom Ehlert}
bugfix: CTTY CON -> missing CR's {Eric Auer} [bugID #1441]

v0.83 Beta 50:
bugfix: /?: found on all the command line
fix: %0 to return batchfilename as typed on cmd line (bug: maybe upcased)
chg: enumResources(): handle fnam == 0 (file open error)
bugfix: FreeCOM should accept relative path as argv[0]
bugfix: FreeCOM is to pass the fully-qualified path to DOS-4B-00
bugfix: use %1 (and assoc) in FOR commands (activeBatchContext())
add: auto-vars ERRORLEVEL and _CWD (current working directory)
bugfix: removed %? because of incompatibly with existing scripts
bugfix: none-working LOADFIX {Tom Ehlert}
bugfix: XMS-Swap/LOADHIGH: crashes {Tom Ehlert}

v0.83 Beta 48:
bugfix: XMS-Swap/LOADHIGH: wrongly calculated UMBs if loaded into UMB {Tom Ehlert}
fix: expand environment variables within FOR ()'s (utter hack, to be replaced)
chg: do not strip control characters from command line
bugfix: FOR: If a pattern fails to match, --> ignore {Tom Ehlert}
bugfix: FOR and redirection [BugID #1050, #708, #1041]
chg: documentary about new build process, build48.html
add: DUTCH.LNG {Bernd Blaauw}
chg: BUILD.BAT: To display %LNG% at XMS-Swap remark
add: to use on a cdrom to create localized versions {Bernd Blaauw}
fix: COMMAND.COM /P/C cmd: hangs in endless loop, should become interactive
bugfix: CONFIG.MAK: default location of SUPPL
fix: IF ERRORLEVEL non-numeric hack (H? / x?) {Tom Ehlert} [Bug #1066]
add: pt/BR Strings {Max M. Velasques}

v0.83 Beta 46:
add: COPY: keep file time if not appending
chg: upload.txt: update options of DIFF utility
bugfix: documentation: link to ftp://sourceforge
bugfix: shell\batch.c: incorrect dfn.h path

v0.83 Beta 44:
upd: documented bug of 16bit NASM version 0.98.34 compiled on Jun 17 2002

v0.83 Beta 42:
add: feature ENVIRONMENT_KEEP_FREE
bugfix: DOS memory corruption by bad struct MCB declaration

v0.83 Beta 40:
bugfix: ^Break detection after XMS-Swapping

v0.83 Beta 38:
chg: cswap.asm: make local stack 256 (as RBIL suggests)
bugfix: cswap.asm: make local stack 200 bytes to let MS NET work (Tom Ehlert)
chg: init.c: removed warning about non-used arguments
bug: config.h: re-enabled LOADHIGH/FIX
chg: BUILD.BAT to handle XMS-Swap better
bugfix: CTTY: added to try to set the device flags
bugfix: LOADHIGH: disable swapping when executing
bugfix: init.c: /p:arg ignores argument
add: XMS-Only Swap feature (FEATURE_XMS_SWAP) (Tom Ehlert)
chg: COPY: appFile unneccessarily declared FAR (Tom Ehlert)
bugfix: cmdinput.c: histGet(,str,maxlen) (Tom Ehlert)
bugfix: mux_ae.h: #ifdef --> #if (Tom Ehlert)
bugfix: day/month read from ff_time reversed (John Price)
bugfix: IF lower==LOWER bug; MS COMMAND compares case-sensitively
fix: Several typos in documentation

v0.83 Beta 32:
bugfix: if FREECOM.COM /P without AUTOEXEC.BAT --> assert() failure.
add: if DEBUG enabled: internal command EXIT!! that ignores /P
chg: FEATURE_BOOT_KEYS: mandory boot keys (F5/F8) turned into
	optional compile-time option; disabled by default now as the
	kernel provides F5/F8 checking
chg: some document updates

v0.83 Beta 30:
add: SET /I: To display the size and unused area in env segm
	(about 700 bytes increase of image; WILL BE REMOVED WITH NEXT
	 STABLE RELEASE)
bugfix: INIT.C/COMMAND.C: in MS DOS environment no program
	expects that the string area of an environment is used and is
	therefore killed. FreeCOM now zeroes the string counter
	in order to let SUPPL work correctly.
	Warning: Known Bug: Now test is made, if the two bytes for the
	counter is not available, thus, the env_nullStrings() function
	fails.
bugfix: INIT.C: negated test for FreeDOS's build >= 2025

v0.83 Beta 28:
bugfix: scancmd.c: /B and /A let COPY fail (ec == E_Ignore) (bug 829)
upd: HTML section

v0.83 Beta 25:
bugfix: pre-compiled package BINARY.ZIP without command-line editing
chg: FreeCOM archive (== executable) is opened read-only.

v0.83 Beta 21:
bugfix: process_input(): iscntrl() does not advance ip
possible bugfix: force to default to _unsigned_ char as built-in
	<ctype.h> macros do not work with signed char > 127

v0.83 Beta 15:
bugfix: expalias: if malloc() fails, random expanded is free'ed
bugfix: nls_maketime(): 12hour display does not free AM/PM id
fix: dbg_printmem() if compiled in Large memory model, near is invalid
v0.83 Beta 14:
add: ALIAS HTML documentation
bugfix: MEMORY displays batch nesting level, although, not implemented, yet
bugfix: Single point of configuration CONFIG.MAK/.H:
	CONFIG.MAK <-> Compiler specific settings, paths etc.
	CONFIG.H <-> FreeCOM releated settings, included commands etc.
bugfix: DEFAULT strings for COMMAND /?, WHICH /?, DOSKEY /?, DIR /? (/A & /O)
add: error message if debugging when to open the resource file failed
bugfix: links in FreeCOM.html & typos in commands database
add: check for low memory during init() when debugging
bugfix: TYPE: first argument only
bugfix: DATE: does not accept empty line
bugfix: >>PATH<< with empty %PATH% --> PATH=(null)
fix: BREAK/VERIFY ignore trailing spaces
fix: >>PATH ;<< remove PATH environment variable
fix: cache 3 environment variables to overcome nested useage (e.g. when
	loading message segment to print environment variable)
bugfix: keep trailing spaces of command line
chg: default heap size (tools\ptchsize) set to 6KB
chg: error displaying functions centralized into lib\err_fcts.src
add: displayError() 
chg: all errors are displayed through functions void error_*()
bugfix: somtimes error messages are not displayed (see displayError())
bugfix: docommand(): type:file must pass ":file" to TYPE
bugfix: error_sfile(): string _SFILE_
bugfix: error message on empty redirection
bugfix: comma and semicolon ';' are recognized as argument seperators
	of internal commands
fix: config.mak: missing libpath & "-d" causes crashes
fix: cmdinput.c: first histGet() is not #if'ed
chg: new directory structure
chg: If DEBUG enabled, no available commands are displayed on startup
fix: PTCHSIZE also patches min extra size to force to have this amount
   of memory available on start
bugfix: CALL doesn't reset options
add: PTCHSIZE to patch heap size
add: VSPAWN, /SWAP switch, .SWP resource handling
bugfix: COMMAND.COM A:\
bugfix: CALL: if swapOnExec == ERROR, no change of swapOnExec allowed
add: command MEMORY
bugfix: runExtension(): destroys command[-2]
add: clean.bat
add: localized CRITER strings
chg: use LNG files for hard-coded strings (hangForEver(), init.c)
	via STRINGS.LIB
add: DEL.C, COPY.C, CBREAK.C: STRINGS-based prompts
add: fixstrs.c: prompts & symbolic keys
add: fixstrs.c: backslash escape sequences
add: version IDs to DEFAULT.LNG and validation to FIXSTRS.C
chg: splitted code apart into LIB\*.c and CMD\*.c
bugfix: IF is now using error system & STRINGS to report errors
add: CALL: /N
bugfix: mktempfile(): if realloc() fails, fn is not deallocated
bugfix: showcmds(): always display all implemented (though possibly not
	available) features
fix: criter.asm: DEBUG does no longer compile to .COM (for consistency)
chg: removed all NULLs to prevent NULL problematic, functions must be
	used fully prototyped now
v0.81 beta 1:
bugfix: _fstrchr() doesnot find '\0'
bugfix: NULL problematic
v0.81 beta 0:
bugfix: "copy 1 + 2 + 3 target" copies first & last file only
add: interactive command flag
add: FDDEBUG may redirect output into file
bugfix: STRINGS resource length value counts 1. string twice
sub: enumResources() won't check secondary files no longer
fix: MKTOOLS must include $(CFG) into list
add: command WHICH
fix: BUILD.BAT and accompanying makefiles for TC++ v1.01
bugfix: if ENHANCED_INPUT && !HISTORY, CurRight falls through to CurLeft
bugfix: CB_CATCH: In DEBUG mode: recursive test fails always
bugfix: KSSF: restore parentPSP on exit
chg: using STRINGS resource for all non-interactive messages
chg: moved all assembly files to NASM
v0.80b
add: DIR /Y to display 4digit year
fix: DIR displays "bytes free" at the very end, but if more than one
	argument is specified, it only displays the free bytes of the
	very last argument. The line is now printed after the display
	of each argument.
bugfix: When the "bytes free" are displayed the used drive letter
	had been deallocated already.
add: NLS-compatible input of date
add: NLS-compatible display of date & time (incl DIR)
fix: parse years 80..199 as century 1900 (by Arkady)
chg: removed some static variables
chg: made all global functions & variables static to LOADHIGH.C
sub: LH.ASM/LOADHIGH.C: duplicate functions (memory API, farmemcmp)
fix: doc of DATE, TIME, FreeCOM
v0.80a
chg: two-digit year -> 2000 if less than 80
add: DATE /D and TIME /T
v0.80:
chg: canexit disabled by default, allowed within initialize() 
chg: command table uppercased as Installable Commands use uppercased names
add: installable COMMAND extensions FEATURE_EXTENSIONS
add: F1, F3, F5, cur-right
add: French Strings file
add: German Strings file
add: useage of %COPYCMD%
v0.79d2:
bugfix: "CD." and analogeous commands
v0.79d1:
add: FEATURE_ENHANCED_INPUT and it's non-defined variant
bugfix: "%1" could writer behind end of string
bugfix: check of length of external command line was considered too long
chg: moved check for length of external command line in order to let
	batch files use the internal length
v0.79d:
bugfix: "line too long" error if last line of batch files has no newline
bugfix: root path not recognized, e.g. in "C:\PATH> \program"