Diff for /freem/src/symtab_bltin.c between versions 1.10 and 1.11

version 1.10, 2025/04/10 01:24:39 version 1.11, 2025/04/13 04:22:43
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.11  2025/04/13 04:22:43  snw
    *   Fix snprintf calls
    *
  *   Revision 1.10  2025/04/10 01:24:39  snw   *   Revision 1.10  2025/04/10 01:24:39  snw
  *   Remove C++ style comments   *   Remove C++ style comments
  *   *
Line 391  void symtab_bltin (short action, char *k Line 394  void symtab_bltin (short action, char *k
     stcnv_m2c (tt_with);      stcnv_m2c (tt_with);
     stcnv_m2c (tt_key);      stcnv_m2c (tt_key);
           
     snprintf (key, 100, "%s%s\201\201", tt_with, tt_key);      sprintf (key, "%s%s\201\201", tt_with, tt_key);
   
           
 no_with:      no_with:    
Line 1917  zinvend: Line 1920  zinvend:
                                           
                     char esbuf[256];                      char esbuf[256];
   
                     snprintf (esbuf, 255, "%d\201", estack);                      snprintf (esbuf, sizeof (esbuf) - 1, "%d\201", estack);
   
                     j = stcpy (newptr, esbuf);                      j = stcpy (newptr, esbuf);
   

Removed from v.1.10  
changed lines
  Added in v.1.11


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>