[BACK]Return to indent_globs.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / indent

Diff for /src/usr.bin/indent/indent_globs.h between version 1.12 and 1.13

version 1.12, 2015/01/19 15:30:52 version 1.13, 2015/08/20 22:32:41
Line 55 
Line 55 
         if (e_code >= l_code) { \          if (e_code >= l_code) { \
             int nsize = l_code-s_code+400; \              int nsize = l_code-s_code+400; \
         \          \
             codebuf = (char *) realloc(codebuf, nsize); \              codebuf = realloc(codebuf, nsize); \
             if (codebuf == NULL) \              if (codebuf == NULL) \
                     err(1, NULL); \                      err(1, NULL); \
             e_code = codebuf + (e_code-s_code) + 1; \              e_code = codebuf + (e_code-s_code) + 1; \
Line 66 
Line 66 
         if (e_com >= l_com) { \          if (e_com >= l_com) { \
             int nsize = l_com-s_com+400; \              int nsize = l_com-s_com+400; \
         \          \
             combuf = (char *) realloc(combuf, nsize); \              combuf = realloc(combuf, nsize); \
             if (combuf == NULL) \              if (combuf == NULL) \
                     err(1, NULL); \                      err(1, NULL); \
             e_com = combuf + (e_com-s_com) + 1; \              e_com = combuf + (e_com-s_com) + 1; \
Line 77 
Line 77 
         if (e_lab >= l_lab) { \          if (e_lab >= l_lab) { \
             int nsize = l_lab-s_lab+400; \              int nsize = l_lab-s_lab+400; \
         \          \
             labbuf = (char *) realloc(labbuf, nsize); \              labbuf = realloc(labbuf, nsize); \
             if (labbuf == NULL) \              if (labbuf == NULL) \
                     err(1, NULL); \                      err(1, NULL); \
             e_lab = labbuf + (e_lab-s_lab) + 1; \              e_lab = labbuf + (e_lab-s_lab) + 1; \
Line 88 
Line 88 
         if (e_token >= l_token) { \          if (e_token >= l_token) { \
             int nsize = l_token-s_token+400; \              int nsize = l_token-s_token+400; \
         \          \
             tokenbuf = (char *) realloc(tokenbuf, nsize); \              tokenbuf = realloc(tokenbuf, nsize); \
             if (tokenbuf == NULL) \              if (tokenbuf == NULL) \
                     err(1, NULL); \                      err(1, NULL); \
             e_token = tokenbuf + (e_token-s_token) + 1; \              e_token = tokenbuf + (e_token-s_token) + 1; \

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13