[comp.binaries.ibm.pc.d] v11i133: ndelv00, delete all but list

ts@uwasa.fi (Timo Salmi) (04/11/91)

In article <3660@sixhub.UUCP> ibmbin-request@crdgw1.crd.ge.com writes:
:
>    ndel is a utility to delete all files in the current
>directory except those that you specify.  The source code
:

For general interest.  There is an old, but a very useful little
utility /pc/sysutil/no.zip which excludes files from any operation
one wants to perform (not just from del).  The idea is simple. The
files are hidden for the duration of the execution.

...................................................................
Prof. Timo Salmi        
Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun

chapman@acf3.NYU.EDU (Gary Chapman) (04/15/91)

I have had problems with no.com in the context of novell server - mapped
drives.  Can someone confirm this?

 - Gary Chapman

a_rubin@dsg4.dse.beckman.com (04/18/91)

This may reflect your problem with no.com under novell.  In any case, it may be
serious.

I tried to mail/post this when my mailserver was down, but....

My newsserver died last Friday afternoon, but this may still be appropriate and
"timely".  I downloaded no.zip from garbo, and I discovered a serious error  If
this is not done, tsr fragmentation can cause the instruction at 26b to write
into a completely different module (it stores it at 209 offset from no's
environment segment, which could easily be in another program entirely.)


A binary patch to no.com follows (all numbers are hex, and the first column is
the byte offset in the file):

267    1E               push    ds
268    06               push    es
269    1F               pop     ds
26A    07               pop     es
26B    89 26 0209       mov     209,sp

should be:

267    89 26 0209       mov     209,sp
26B    1E               push    ds
26C    06               push    es
26D    1F               pop     ds
26E    07               pop     es

------------------------------------------------------------------------
a_rubin@dsg4.dse.beckman.com  
My opinions are my own, and do not represent those of my employer.

--
------------------------------------------------------------------------
a_rubin@dsg4.dse.beckman.com  
My opinions are my own, and do not represent those of my employer.