emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/unexsunos4.c


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/src/unexsunos4.c
Date: Tue, 04 Feb 2003 09:03:48 -0500

Index: emacs/src/unexsunos4.c
diff -c emacs/src/unexsunos4.c:1.19 emacs/src/unexsunos4.c:1.20
*** emacs/src/unexsunos4.c:1.19 Tue Oct 19 03:24:25 1999
--- emacs/src/unexsunos4.c      Tue Feb  4 09:03:13 2003
***************
*** 98,104 ****
  static long cookie;
  
  
! unexec (new_name, a_name, bndry, bss_start, entry) 
       char *new_name, *a_name;
       unsigned bndry, bss_start, entry;
  {
--- 98,104 ----
  static long cookie;
  
  
! unexec (new_name, a_name, bndry, bss_start, entry)
       char *new_name, *a_name;
       unsigned bndry, bss_start, entry;
  {
***************
*** 163,169 ****
    /* Have to do this some time before dumping the data */
    initialized = 1;
  #endif
!   
    /* Handle new data and bss sizes and optional new entry point.
       No one actually uses bss_start and entry,  but tradition compels
       one to support them.
--- 163,169 ----
    /* Have to do this some time before dumping the data */
    initialized = 1;
  #endif
! 
    /* Handle new data and bss sizes and optional new entry point.
       No one actually uses bss_start and entry,  but tradition compels
       one to support them.
***************
*** 171,177 ****
       but the caller is *supposed* to know what she is doing.  */
    nhdr.a_data = (bss_start ? bss_start : brk_value) - N_DATADDR (nhdr);
    nhdr.a_bss  = bss_start ? brk_value - bss_start : 0;
!   if (entry) 
      nhdr.a_entry = entry;
  
    /*
--- 171,177 ----
       but the caller is *supposed* to know what she is doing.  */
    nhdr.a_data = (bss_start ? bss_start : brk_value) - N_DATADDR (nhdr);
    nhdr.a_bss  = bss_start ? brk_value - bss_start : 0;
!   if (entry)
      nhdr.a_entry = entry;
  
    /*
***************
*** 296,309 ****
     * First try argv[0],  will almost always succeed as shells tend to give
     * the full path from the hash list rather than using execvp ()
     */
!   if (is_it (progname)) 
      return;
  
    /*
     * If argv[0] is a full path and does not exist,  not much sense in
     * searching further
     */
!   if (strchr (progname, '/')) 
      return;
  
    /*
--- 296,309 ----
     * First try argv[0],  will almost always succeed as shells tend to give
     * the full path from the hash list rather than using execvp ()
     */
!   if (is_it (progname))
      return;
  
    /*
     * If argv[0] is a full path and does not exist,  not much sense in
     * searching further
     */
!   if (strchr (progname, '/'))
      return;
  
    /*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]