[BACK]Return to MAKEDEV.awk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/MAKEDEV.awk between version 1.21.6.1 and 1.22

version 1.21.6.1, 2014/05/22 11:27:18 version 1.22, 2013/04/12 12:30:18
Line 55  BEGIN {
Line 55  BEGIN {
   
         # file with major definitions          # file with major definitions
         majors[0] = "conf/majors"          majors[0] = "conf/majors"
         if (index(maarch, "arm") != 0 && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)          if ((maarch == "arm" || maarch == "armeb" || maarch == "earm" || maarch == "earmeb") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)
                 majors[1] = "arch/arm/conf/majors.arm32";                  majors[1] = "arch/arm/conf/majors.arm32";
         else if (machine == "sbmips")          else if (machine == "sbmips")
                 majors[1] = "arch/evbmips/conf/majors.evbmips";                  majors[1] = "arch/evbmips/conf/majors.evbmips";
Line 264  BEGIN {
Line 264  BEGIN {
         sub(/%CONSOLE_CMAJOR%/, CONSOLE_CMAJOR)          sub(/%CONSOLE_CMAJOR%/, CONSOLE_CMAJOR)
         parsed = ""          parsed = ""
         line = $0          line = $0
         while (match(line, /%[gu]id_[_a-z]*%/)) {          while (match(line, /%[gu]id_[a-z]*%/)) {
                 typ = substr(line, RSTART + 1, 3);                  typ = substr(line, RSTART + 1, 3);
                 nam = substr(line, RSTART + 5, RLENGTH - 6);                  nam = substr(line, RSTART + 5, RLENGTH - 6);
                 if (typ == "uid") {                  if (typ == "uid") {

Legend:
Removed from v.1.21.6.1  
changed lines
  Added in v.1.22

CVSweb <webmaster@jp.NetBSD.org>