Changeset 12007


Ignore:
Timestamp:
May 7, 2009, 4:32:43 AM (10 years ago)
Author:
gb
Message:

In load_image(), don't set errno to 0 until we're sure that the open()
call succeeded.

Sheesh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r11952 r12007  
    20012001  LispObj image_nil = 0;
    20022002
    2003   errno = 0;
    20042003  if (fd > 0) {
    20052004    openmcl_image_file_header ih;
     2005
     2006    errno = 0;
    20062007    image_nil = load_openmcl_image(fd, &ih);
    20072008    /* We -were- using a duplicate fd to map the file; that
Note: See TracChangeset for help on using the changeset viewer.