[BACK]Return to cu.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cu

Diff for /src/usr.bin/cu/cu.c between version 1.19 and 1.20

version 1.19, 2014/04/12 12:47:43 version 1.20, 2015/01/16 06:40:06
Line 16 
Line 16 
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   
 #include <sys/param.h>  
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
   
 #include <ctype.h>  #include <ctype.h>
Line 32 
Line 31 
 #include <string.h>  #include <string.h>
 #include <termios.h>  #include <termios.h>
 #include <unistd.h>  #include <unistd.h>
   #include <limits.h>
   
 #include "cu.h"  #include "cu.h"
   
Line 391 
Line 391 
   
         if ((rv = asprintf(&out, "%s%s%s", pw->pw_dir, sep, filename)) == -1)          if ((rv = asprintf(&out, "%s%s%s", pw->pw_dir, sep, filename)) == -1)
                 cu_err(1, "asprintf");                  cu_err(1, "asprintf");
         if (rv >= MAXPATHLEN) {          if (rv >= PATH_MAX) {
                 free(out);                  free(out);
                 goto no_change;                  goto no_change;
         }          }

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20