home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15801 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.5 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!agate!stanford.edu!rock!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Help with my C program anyone?
  5. Message-ID: <Bxnqu9.4w6@unx.sas.com>
  6. Date: 13 Nov 92 13:58:57 GMT
  7. References: <1992Nov13.065904.1066@cs.uow.edu.au>
  8. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  9. Organization: SAS Institute Inc.
  10. Lines: 22
  11. Originator: walker@twix.unx.sas.com
  12. Nntp-Posting-Host: twix.unx.sas.com
  13.  
  14.  
  15. In article <1992Nov13.065904.1066@cs.uow.edu.au>, u9155406@cs.uow.edu.au (Gerardo Bentancor) writes:
  16. |> By now, I assume that the UnLock function has unlocked the previous directory,
  17. |> and there is now a valid lock on the new directory, and it has become the
  18. |> current directory. Before my program finishes I make sure that it unlocks the 
  19. |> new current directory.
  20.  
  21. That's the problem.  Your program started with a current directory
  22. lock, you should make sure it ends with one.  When your program
  23. exits, the shell you invoked it from assumes that the current
  24. directory lock is valid; you have just freed it, so it crashes.
  25.  
  26. |>                     Gerardo.
  27.  
  28. -- 
  29.   *****
  30. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  31.  *|. o.| ||                                          1200/2400/9600 Dual
  32.   | o  |//     For all you do, this bug's for you!
  33.   ====== 
  34. usenet: walker@unx.sas.com                            bix: djwalker 
  35. Any opinions expressed are mine, not those of SAS Institute, Inc.
  36.